Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001609/0.001609, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 226.7 MB / 245.5 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001163/0.001162, allocations: 102.1 kB / 296.7 MB, free: 6.492 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009806/0.0009807, allocations: 51.92 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2456, allocations: 50.45 MB / 407.1 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.003405/0.2491, allocations: 2.985 MB / 410.1 MB, free: 24.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.2502, allocations: 0.7579 MB / 410.8 MB, free: 24.08 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000148/0.2504, allocations: 4 kB / 410.8 MB, free: 24.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001753/0.2506, allocations: 39.69 kB / 410.9 MB, free: 24.04 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001718/0.2508, allocations: 91.36 kB / 410.9 MB, free: 23.95 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002747/0.2511, allocations: 102.7 kB / 411 MB, free: 23.85 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002905/0.2514, allocations: 394.5 kB / 411.4 MB, free: 23.46 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002053/0.2516, allocations: 107.8 kB / 411.5 MB, free: 23.36 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.2517, allocations: 143.4 kB / 411.7 MB, free: 23.21 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.2519, allocations: 159.2 kB / 411.8 MB, free: 23.06 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.358e-05/0.2519, allocations: 23.94 kB / 411.8 MB, free: 23.04 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.568e-05/0.252, allocations: 24 kB / 411.9 MB, free: 23.01 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.976e-05/0.252, allocations: 59.69 kB / 411.9 MB, free: 22.95 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.2522, allocations: 155.2 kB / 412.1 MB, free: 22.8 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002847/0.2525, allocations: 436.1 kB / 412.5 MB, free: 22.38 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2525, allocations: 0 / 412.5 MB, free: 22.38 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2525, allocations: 0 / 412.5 MB, free: 22.38 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.2525, allocations: 0 / 412.5 MB, free: 22.38 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001129/0.2536, allocations: 0.6769 MB / 413.2 MB, free: 21.64 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.2537, allocations: 12.03 kB / 413.2 MB, free: 21.62 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.699e-05/0.2537, allocations: 32.56 kB / 413.2 MB, free: 21.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002748/0.254, allocations: 307.5 kB / 413.5 MB, free: 21.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.254, allocations: 24.88 kB / 413.6 MB, free: 21.23 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.287e-05/0.2541, allocations: 20.38 kB / 413.6 MB, free: 21.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005947/0.2547, allocations: 335.9 kB / 413.9 MB, free: 20.87 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.2547, allocations: 3.984 kB / 413.9 MB, free: 20.87 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.743e-05/0.2547, allocations: 8 kB / 413.9 MB, free: 20.86 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.2548, allocations: 4 kB / 413.9 MB, free: 20.86 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007136/0.2555, allocations: 286.1 kB / 414.2 MB, free: 20.58 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001498/0.257, allocations: 1.15 MB / 415.3 MB, free: 19.35 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007494/0.2577, allocations: 246.5 kB / 415.6 MB, free: 19.1 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003247/0.2581, allocations: 115.6 kB / 415.7 MB, free: 18.98 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.2581, allocations: 0 / 415.7 MB, free: 18.98 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000471/0.2586, allocations: 181.9 kB / 415.9 MB, free: 18.79 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.2586, allocations: 0 / 415.9 MB, free: 18.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.002181/0.2608, allocations: 0.6667 MB / 416.5 MB, free: 18.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/0.2609, allocations: 106.8 kB / 416.6 MB, free: 17.96 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002295/0.2611, allocations: 286.5 kB / 416.9 MB, free: 17.67 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.2611, allocations: 33.7 kB / 417 MB, free: 17.63 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.472e-05/0.2612, allocations: 199.6 kB / 417.2 MB, free: 17.43 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.875e-05/0.2613, allocations: 47.39 kB / 417.2 MB, free: 17.39 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.985e-05/0.2613, allocations: 49.94 kB / 417.3 MB, free: 17.33 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.102e-05/0.2614, allocations: 334.8 kB / 417.6 MB, free: 16.99 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000328/0.2617, allocations: 104.2 kB / 417.7 MB, free: 16.89 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003548/0.2621, allocations: 217.2 kB / 417.9 MB, free: 16.63 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006177/0.2627, allocations: 323.3 kB / 418.2 MB, free: 16.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.2628, allocations: 224 / 418.2 MB, free: 16.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001131/0.2639, allocations: 479.7 kB / 418.7 MB, free: 15.79 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.187e-05/0.2639, allocations: 41.7 kB / 418.7 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.2639, allocations: 0 / 418.7 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003528/0.2643, allocations: 84.8 kB / 418.8 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/0.2645, allocations: 55.89 kB / 418.9 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002252/0.2668, allocations: 1.862 MB / 420.7 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003215/0.2671, allocations: 59.77 kB / 420.8 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.2671, allocations: 12 kB / 420.8 MB, free: 13.53 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001231/0.2673, allocations: 166.2 kB / 420.9 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.046e-05/0.2673, allocations: 23.72 kB / 421 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.949e-05/0.2674, allocations: 21.84 kB / 421 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.2674, allocations: 3.984 kB / 421 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.2674, allocations: 4 kB / 421 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.2674, allocations: 4 kB / 421 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002/0.2676, allocations: 325.3 kB / 421.3 MB, free: 12.94 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2676, allocations: 0 / 421.3 MB, free: 12.94 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/0.2677, allocations: 31.91 kB / 421.4 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002507/0.268, allocations: 80.8 kB / 421.4 MB, free: 12.83 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.268, allocations: 4 kB / 421.4 MB, free: 12.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001793/0.2698, allocations: 1.783 MB / 423.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.2698, allocations: 0 / 423.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/0.2713, allocations: 1.043 MB / 424.3 MB, free: 9.805 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.744e-05/0.2713, allocations: 104.8 kB / 424.4 MB, free: 9.684 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.163e-05/0.2714, allocations: 4 kB / 424.4 MB, free: 9.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002396/0.2716, allocations: 35.95 kB / 424.4 MB, free: 9.645 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.583e-05/0.2717, allocations: 27.89 kB / 424.4 MB, free: 9.617 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.2717, allocations: 8 kB / 424.4 MB, free: 9.609 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001428/0.2719, allocations: 198 kB / 424.6 MB, free: 9.418 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.2719, allocations: 0 / 424.6 MB, free: 9.418 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004665/0.2723, allocations: 83.75 kB / 424.7 MB, free: 9.336 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001111/0.2725, allocations: 103.2 kB / 424.8 MB, free: 9.223 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00117/0.2736, allocations: 0.4894 MB / 425.3 MB, free: 8.711 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2737, allocations: 4.625 kB / 425.3 MB, free: 8.707 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004575/0.2741, allocations: 238.6 kB / 425.5 MB, free: 8.461 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.2744, allocations: 44.47 kB / 425.6 MB, free: 8.418 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003156/0.2776, allocations: 1.173 MB / 426.8 MB, free: 7.199 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001516/0.2778, allocations: 0.756 MB / 427.5 MB, free: 6.418 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001181/0.2779, allocations: 30.28 kB / 427.5 MB, free: 6.391 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.125e-05/0.278, allocations: 23.44 kB / 427.6 MB, free: 6.367 MB / 298.7 MB Notification: Performance of SimCode: time 6.81e-07/0.278, allocations: 0 / 427.6 MB, free: 6.367 MB / 298.7 MB Notification: Performance of Templates: time 0.006164/0.2841, allocations: 3.914 MB / 431.5 MB, free: 2.496 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches