Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 172.5 kB / 17.39 MB, free: 4.184 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.552/1.552, allocations: 223.3 MB / 241.4 MB, free: 11.71 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000836/0.000836, allocations: 97.5 kB / 292.6 MB, free: 10.78 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003916/0.0003916, allocations: 15.94 kB / 352.4 MB, free: 15.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3212, allocations: 50.4 MB / 402.8 MB, free: 32.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1041/0.4253, allocations: 81.57 MB / 484.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/0.4256, allocations: 81.92 kB / 484.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0171/0.4427, allocations: 6.304 MB / 490.7 MB, free: 8.352 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4428, allocations: 0 / 490.7 MB, free: 8.352 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.299e-05/0.4428, allocations: 12 kB / 490.7 MB, free: 8.34 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001125/0.4439, allocations: 0.6236 MB / 491.3 MB, free: 7.652 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.444, allocations: 8.031 kB / 491.4 MB, free: 7.645 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.115e-05/0.4441, allocations: 32.56 kB / 491.4 MB, free: 7.613 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003859/0.4445, allocations: 293.1 kB / 491.7 MB, free: 7.285 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.4445, allocations: 20.88 kB / 491.7 MB, free: 7.266 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.783e-05/0.4446, allocations: 28.38 kB / 491.7 MB, free: 7.238 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006748/0.4452, allocations: 324.2 kB / 492 MB, free: 6.914 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.4453, allocations: 192 / 492 MB, free: 6.914 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.06e-05/0.4453, allocations: 11.94 kB / 492 MB, free: 6.902 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.413e-06/0.4453, allocations: 7.938 kB / 492.1 MB, free: 6.895 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007754/0.4461, allocations: 310 kB / 492.4 MB, free: 6.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001935/0.448, allocations: 1.15 MB / 493.5 MB, free: 5.363 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008389/0.4489, allocations: 274.6 kB / 493.8 MB, free: 5.086 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003165/0.4492, allocations: 120.7 kB / 493.9 MB, free: 4.965 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.4493, allocations: 4 kB / 493.9 MB, free: 4.961 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00047/0.4497, allocations: 182.2 kB / 494.1 MB, free: 4.766 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 2.134e-06/0.4498, allocations: 0 / 494.1 MB, free: 4.766 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.001004/0.4508, allocations: 357.1 kB / 494.4 MB, free: 4.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.662e-05/0.4508, allocations: 89.05 kB / 494.5 MB, free: 4.305 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002785/0.4511, allocations: 258.6 kB / 494.8 MB, free: 4.043 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.4512, allocations: 29.7 kB / 494.8 MB, free: 4.008 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.4513, allocations: 191.5 kB / 495 MB, free: 3.816 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.061e-05/0.4513, allocations: 39.55 kB / 495 MB, free: 3.777 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.151e-05/0.4514, allocations: 4 kB / 495 MB, free: 3.773 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.4515, allocations: 338.8 kB / 495.4 MB, free: 3.434 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003405/0.4518, allocations: 116.2 kB / 495.5 MB, free: 3.316 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000376/0.4522, allocations: 209.1 kB / 495.7 MB, free: 3.074 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006654/0.4529, allocations: 339.7 kB / 496 MB, free: 2.699 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4529, allocations: 0 / 496 MB, free: 2.699 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008361/0.4537, allocations: 392.5 kB / 496.4 MB, free: 2.305 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.481e-05/0.4538, allocations: 33.7 kB / 496.4 MB, free: 2.266 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.4538, allocations: 4 kB / 496.4 MB, free: 2.262 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.4538, allocations: 4 kB / 496.4 MB, free: 2.258 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002831/0.4541, allocations: 75.94 kB / 496.5 MB, free: 2.184 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.4541, allocations: 4 kB / 496.5 MB, free: 2.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002952/0.4544, allocations: 59.66 kB / 496.6 MB, free: 2.121 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.535e-05/0.4545, allocations: 16 kB / 496.6 MB, free: 2.105 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (26): * Single equations (assignments): 25 * 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.0001376/0.4546, allocations: 145.7 kB / 496.7 MB, free: 1.953 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.426e-05/0.4546, allocations: 23.8 kB / 496.7 MB, free: 1.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.15e-05/0.4547, allocations: 21.72 kB / 496.8 MB, free: 1.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.4547, allocations: 4 kB / 496.8 MB, free: 1.906 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.4547, allocations: 0 / 496.8 MB, free: 1.906 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.4547, allocations: 3.984 kB / 496.8 MB, free: 1.902 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002783/0.455, allocations: 313.3 kB / 497.1 MB, free: 1.547 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.455, allocations: 0 / 497.1 MB, free: 1.547 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002619/0.4553, allocations: 63.89 kB / 497.1 MB, free: 1.484 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.4553, allocations: 0 / 497.1 MB, free: 1.484 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.4553, allocations: 4 kB / 497.1 MB, free: 1.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.4553, allocations: 0 / 497.1 MB, free: 1.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4553, allocations: 0 / 497.1 MB, free: 1.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009961/0.4563, allocations: 420.4 kB / 497.6 MB, free: 1.051 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.837e-05/0.4564, allocations: 100.9 kB / 497.7 MB, free: 0.9336 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.625e-05/0.4565, allocations: 4 kB / 497.7 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.4567, allocations: 40.03 kB / 497.7 MB, free: 0.8906 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.69e-05/0.4568, allocations: 19.97 kB / 497.7 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.4568, allocations: 0 / 497.7 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001694/0.457, allocations: 194 kB / 497.9 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.457, allocations: 0 / 497.9 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003007/0.4573, allocations: 71.69 kB / 498 MB, free: 0.6133 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der_.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 (12): * Single equations (assignments): 10 * 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.000144/0.4574, allocations: 107.2 kB / 498.1 MB, free: 0.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000739/0.4582, allocations: 330.7 kB / 498.4 MB, free: 172 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4582, allocations: 4 kB / 498.4 MB, free: 168 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003181/0.4585, allocations: 116.4 kB / 498.5 MB, free: 52 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.4588, allocations: 45.3 kB / 498.6 MB, free: 8 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.46, allocations: 0.6341 MB / 499.2 MB, free: 15.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.4602, allocations: 0.7482 MB / 499.9 MB, free: 14.57 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000126/0.4604, allocations: 22.3 kB / 500 MB, free: 14.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.822e-05/0.4604, allocations: 23.42 kB / 500 MB, free: 14.53 MB / 378.7 MB Notification: Performance of SimCode: time 4.61e-07/0.4604, allocations: 4 kB / 500 MB, free: 14.52 MB / 378.7 MB Notification: Performance of Templates: time 0.005528/0.466, allocations: 2.681 MB / 0.4909 GB, free: 11.88 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches