Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001244/0.001245, allocations: 180 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.876/1.876, allocations: 205.4 MB / 223.1 MB, free: 9.105 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008789/0.0008787, allocations: 99.8 kB / 271.5 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002681/0.0002681, allocations: 11.98 kB / 328.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3404, allocations: 47.57 MB / 375.8 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1109/0.4513, allocations: 79.24 MB / 455.1 MB, free: 1.41 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/0.4516, allocations: 87.95 kB / 455.2 MB, free: 1.324 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01636/0.468, allocations: 5.486 MB / 460.6 MB, free: 11.81 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.539e-06/0.468, allocations: 0 / 460.6 MB, free: 11.81 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.593e-05/0.468, allocations: 7.938 kB / 460.6 MB, free: 11.8 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.00107/0.4691, allocations: 0.5872 MB / 461.2 MB, free: 11.16 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.4692, allocations: 12.03 kB / 461.2 MB, free: 11.15 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.539e-05/0.4692, allocations: 27.72 kB / 461.3 MB, free: 11.12 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003645/0.4696, allocations: 267.6 kB / 461.5 MB, free: 10.82 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.96e-05/0.4697, allocations: 16.33 kB / 461.5 MB, free: 10.8 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.406e-05/0.4697, allocations: 20 kB / 461.6 MB, free: 10.79 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005837/0.4703, allocations: 240.5 kB / 461.8 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.4703, allocations: 3.984 kB / 461.8 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.884e-05/0.4704, allocations: 8 kB / 461.8 MB, free: 10.53 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.4704, allocations: 4 kB / 461.8 MB, free: 10.53 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007155/0.4711, allocations: 283.1 kB / 462.1 MB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001433/0.4725, allocations: 0.8873 MB / 463 MB, free: 9.293 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007887/0.4733, allocations: 268.9 kB / 463.2 MB, free: 9.023 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.4734, allocations: 4 kB / 463.2 MB, free: 9.02 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004562/0.4738, allocations: 180.9 kB / 463.4 MB, free: 8.824 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/0.4738, allocations: 0 / 463.4 MB, free: 8.824 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009138/0.4748, allocations: 336.1 kB / 463.8 MB, free: 8.492 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.4748, allocations: 85.08 kB / 463.8 MB, free: 8.391 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002067/0.475, allocations: 216.1 kB / 464 MB, free: 8.176 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.4751, allocations: 25.7 kB / 464.1 MB, free: 8.145 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.4752, allocations: 171.9 kB / 464.2 MB, free: 7.973 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.075e-05/0.4752, allocations: 43.45 kB / 464.3 MB, free: 7.93 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.197e-05/0.4753, allocations: 0 / 464.3 MB, free: 7.93 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.4754, allocations: 334.8 kB / 464.6 MB, free: 7.594 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002991/0.4757, allocations: 104.1 kB / 464.7 MB, free: 7.488 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003146/0.476, allocations: 157.6 kB / 464.9 MB, free: 7.312 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003072/0.4764, allocations: 133.7 kB / 465 MB, free: 7.176 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4764, allocations: 0 / 465 MB, free: 7.176 MB / 346.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007926/0.4772, allocations: 349.6 kB / 465.3 MB, free: 6.824 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000344/0.4775, allocations: 0.6412 MB / 466 MB, free: 6.129 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.4776, allocations: 8 kB / 466 MB, free: 6.121 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.4776, allocations: 0 / 466 MB, free: 6.121 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002611/0.4778, allocations: 67.89 kB / 466.1 MB, free: 6.055 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.4779, allocations: 0 / 466.1 MB, free: 6.055 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002622/0.4781, allocations: 55.72 kB / 466.1 MB, free: 6 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.4782, allocations: 8.219 kB / 466.1 MB, free: 5.992 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/0.4782, allocations: 4 kB / 466.1 MB, free: 5.988 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000604/0.4788, allocations: 273.4 kB / 466.4 MB, free: 5.715 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-06/0.4788, allocations: 3.938 kB / 466.4 MB, free: 5.711 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.4e-06/0.4788, allocations: 8.188 kB / 466.4 MB, free: 5.703 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/0.479, allocations: 59.89 kB / 466.5 MB, free: 5.645 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.4791, allocations: 4 kB / 466.5 MB, free: 5.641 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002217/0.4793, allocations: 43.81 kB / 466.5 MB, free: 5.598 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.4793, allocations: 11.98 kB / 466.5 MB, free: 5.586 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001801/0.4795, allocations: 213 kB / 466.7 MB, free: 5.367 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.238e-05/0.4795, allocations: 15.81 kB / 466.7 MB, free: 5.352 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.063e-05/0.4796, allocations: 33.83 kB / 466.8 MB, free: 5.32 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.4796, allocations: 0 / 466.8 MB, free: 5.32 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.4796, allocations: 0 / 466.8 MB, free: 5.32 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.4796, allocations: 0 / 466.8 MB, free: 5.32 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002922/0.4799, allocations: 289.4 kB / 467.1 MB, free: 4.988 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.4799, allocations: 0 / 467.1 MB, free: 4.988 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002329/0.4802, allocations: 55.89 kB / 467.1 MB, free: 4.934 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.4802, allocations: 4 kB / 467.1 MB, free: 4.93 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.4802, allocations: 0 / 467.1 MB, free: 4.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.4802, allocations: 0 / 467.1 MB, free: 4.93 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4802, allocations: 0 / 467.1 MB, free: 4.93 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009781/0.4812, allocations: 392.7 kB / 467.5 MB, free: 4.527 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.724e-05/0.4813, allocations: 104.8 kB / 467.6 MB, free: 4.406 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.715e-05/0.4814, allocations: 4 kB / 467.6 MB, free: 4.402 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000221/0.4816, allocations: 35.95 kB / 467.6 MB, free: 4.367 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.514e-05/0.4817, allocations: 16.05 kB / 467.7 MB, free: 4.352 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.4817, allocations: 11.98 kB / 467.7 MB, free: 4.34 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001678/0.4819, allocations: 168.5 kB / 467.8 MB, free: 4.172 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.4819, allocations: 0 / 467.8 MB, free: 4.172 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004032/0.4823, allocations: 107.7 kB / 467.9 MB, free: 4.066 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * 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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001792/0.4825, allocations: 111.1 kB / 468 MB, free: 3.945 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001021/0.4835, allocations: 475.1 kB / 468.5 MB, free: 3.457 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.4835, allocations: 4.062 kB / 468.5 MB, free: 3.453 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003138/0.4838, allocations: 106.1 kB / 468.6 MB, free: 3.352 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.4841, allocations: 48.86 kB / 468.7 MB, free: 3.305 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.4853, allocations: 0.5714 MB / 469.2 MB, free: 2.707 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.4857, allocations: 0.7443 MB / 470 MB, free: 1.938 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001307/0.4858, allocations: 29.92 kB / 470 MB, free: 1.91 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.532e-05/0.4859, allocations: 19.44 kB / 470 MB, free: 1.891 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4859, allocations: 0 / 470 MB, free: 1.891 MB / 346.7 MB Notification: Performance of Templates: time 0.006438/0.4923, allocations: 2.619 MB / 472.6 MB, free: 15.3 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches