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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001248/0.001247, allocations: 117.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001316/0.001316, allocations: 203.8 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 59.91 kB / 358.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3617, allocations: 50.55 MB / 409.3 MB, free: 1.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004338/0.3661, allocations: 2.951 MB / 412.2 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0014/0.3675, allocations: 0.7479 MB / 413 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001644/0.3677, allocations: 7.938 kB / 413 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002292/0.3679, allocations: 47.56 kB / 413 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002665/0.3682, allocations: 111.1 kB / 413.1 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004313/0.3687, allocations: 115.8 kB / 413.3 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005008/0.3692, allocations: 422.4 kB / 413.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002535/0.3694, allocations: 135.1 kB / 413.8 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002021/0.3696, allocations: 155.4 kB / 413.9 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002137/0.3699, allocations: 175.2 kB / 414.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.795e-05/0.3699, allocations: 40 kB / 414.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.361e-05/0.37, allocations: 40 kB / 414.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.367e-05/0.3701, allocations: 75.7 kB / 414.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001888/0.3703, allocations: 171.2 kB / 414.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004739/0.3707, allocations: 455.8 kB / 414.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3708, allocations: 0 / 414.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3708, allocations: 0 / 414.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.3708, allocations: 0 / 414.9 MB, free: 12.09 MB / 334.1 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.001302/0.3721, allocations: 0.677 MB / 415.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.3721, allocations: 16.03 kB / 415.6 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.369e-05/0.3722, allocations: 36.47 kB / 415.6 MB, free: 11.31 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004345/0.3727, allocations: 303.6 kB / 415.9 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/0.3727, allocations: 20.94 kB / 415.9 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.295e-05/0.3728, allocations: 28.31 kB / 416 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007175/0.3735, allocations: 335.9 kB / 416.3 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.3735, allocations: 0 / 416.3 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.244e-05/0.3736, allocations: 12 kB / 416.3 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/0.3736, allocations: 4 kB / 416.3 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007742/0.3743, allocations: 282.1 kB / 416.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001875/0.3762, allocations: 1.139 MB / 417.7 MB, free: 9.078 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008158/0.3771, allocations: 258.5 kB / 418 MB, free: 8.816 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003197/0.3774, allocations: 104.8 kB / 418.1 MB, free: 8.711 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.3774, allocations: 0 / 418.1 MB, free: 8.711 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004754/0.3779, allocations: 181.9 kB / 418.2 MB, free: 8.512 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.3779, allocations: 0 / 418.2 MB, free: 8.512 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.002296/0.3802, allocations: 0.6707 MB / 418.9 MB, free: 7.812 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.29e-05/0.3803, allocations: 102.8 kB / 419 MB, free: 7.688 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003056/0.3806, allocations: 294.5 kB / 419.3 MB, free: 7.395 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.91e-05/0.3807, allocations: 33.7 kB / 419.3 MB, free: 7.355 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.3808, allocations: 195.6 kB / 419.5 MB, free: 7.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.416e-05/0.3809, allocations: 55.38 kB / 419.6 MB, free: 7.105 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.647e-05/0.381, allocations: 45.94 kB / 419.6 MB, free: 7.051 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.3811, allocations: 338.8 kB / 420 MB, free: 6.711 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003363/0.3814, allocations: 100.2 kB / 420.1 MB, free: 6.613 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003952/0.3818, allocations: 213.3 kB / 420.3 MB, free: 6.359 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006735/0.3825, allocations: 320.8 kB / 420.6 MB, free: 6 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.3825, allocations: 0 / 420.6 MB, free: 6 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001205/0.3838, allocations: 494.6 kB / 421.1 MB, free: 5.504 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.865e-05/0.3838, allocations: 29.7 kB / 421.1 MB, free: 5.469 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.3838, allocations: 4 kB / 421.1 MB, free: 5.465 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000398/0.3842, allocations: 88.86 kB / 421.2 MB, free: 5.375 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001999/0.3844, allocations: 47.91 kB / 421.2 MB, free: 5.328 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002787/0.3872, allocations: 2.064 MB / 423.3 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003253/0.3876, allocations: 51.72 kB / 423.3 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.54e-05/0.3876, allocations: 16.06 kB / 423.4 MB, free: 3.059 MB / 334.1 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.0001815/0.3878, allocations: 161.6 kB / 423.5 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.877e-05/0.3878, allocations: 23.72 kB / 423.5 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.418e-05/0.3879, allocations: 25.83 kB / 423.6 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.3879, allocations: 4 kB / 423.6 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.3879, allocations: 0 / 423.6 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.3879, allocations: 0 / 423.6 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003346/0.3883, allocations: 321.3 kB / 423.9 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3883, allocations: 4 kB / 423.9 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/0.3884, allocations: 31.91 kB / 423.9 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000283/0.3887, allocations: 76.8 kB / 424 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.3887, allocations: 7.938 kB / 424 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002437/0.3912, allocations: 1.986 MB / 426 MB, free: 224 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3912, allocations: 0 / 426 MB, free: 224 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.3922, allocations: 373.4 kB / 426.4 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.616e-05/0.3923, allocations: 100.8 kB / 426.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.342e-05/0.3923, allocations: 0 / 426.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002382/0.3926, allocations: 39.89 kB / 426.5 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.774e-05/0.3927, allocations: 19.97 kB / 426.5 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.3927, allocations: 4 kB / 426.5 MB, free: 15.65 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002174/0.3929, allocations: 206 kB / 426.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3929, allocations: 0 / 426.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004346/0.3934, allocations: 75.84 kB / 426.8 MB, free: 15.38 MB / 350.1 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.0001656/0.3935, allocations: 103.2 kB / 426.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001332/0.3949, allocations: 0.505 MB / 427.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.3949, allocations: 0 / 427.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000473/0.3954, allocations: 227.2 kB / 427.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.3957, allocations: 52.52 kB / 427.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002883/0.3986, allocations: 0.9331 MB / 428.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.399, allocations: 0.7558 MB / 429.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001173/0.3991, allocations: 30.27 kB / 429.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.709e-05/0.3992, allocations: 23.44 kB / 429.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3992, allocations: 0 / 429.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of Templates: time 0.00897/0.4082, allocations: 4.16 MB / 433.6 MB, free: 8.543 MB / 350.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches