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.001438/0.001439, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.628/1.628, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008641/0.0008643, allocations: 78.72 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.575e-05/1.576e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08204/0.08207, allocations: 47.59 MB / 363.1 MB, free: 7.051 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3518/0.434, allocations: 78.72 MB / 441.8 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/0.4342, allocations: 81.08 kB / 441.9 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01603/0.4503, allocations: 5.418 MB / 447.3 MB, free: 12.31 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4503, allocations: 0 / 447.3 MB, free: 12.31 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.075e-05/0.4503, allocations: 4 kB / 447.3 MB, free: 12.3 MB / 330.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.001027/0.4514, allocations: 0.5539 MB / 447.9 MB, free: 11.71 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.696e-05/0.4514, allocations: 8.031 kB / 447.9 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.4516, allocations: 31.62 kB / 447.9 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004254/0.452, allocations: 264 kB / 448.2 MB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.452, allocations: 15.95 kB / 448.2 MB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.181e-05/0.4521, allocations: 15.94 kB / 448.2 MB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000301/0.4524, allocations: 141.8 kB / 448.3 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003027/0.4527, allocations: 157.8 kB / 448.5 MB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.4527, allocations: 0 / 448.5 MB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.343e-05/0.4528, allocations: 4 kB / 448.5 MB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.4528, allocations: 4 kB / 448.5 MB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00149/0.4543, allocations: 0.8374 MB / 449.3 MB, free: 10.4 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003995/0.4547, allocations: 153.2 kB / 449.5 MB, free: 10.28 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.089e-05/0.4548, allocations: 54.34 kB / 449.5 MB, free: 10.25 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.4548, allocations: 4 kB / 449.5 MB, free: 10.24 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002222/0.455, allocations: 118.6 kB / 449.7 MB, free: 10.13 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.853e-06/0.4551, allocations: 4 kB / 449.7 MB, free: 10.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002752/0.4553, allocations: 129.6 kB / 449.8 MB, free: 10.02 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.726e-05/0.4554, allocations: 92.86 kB / 449.9 MB, free: 9.91 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002213/0.4556, allocations: 197.2 kB / 450.1 MB, free: 9.738 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.4557, allocations: 25.7 kB / 450.1 MB, free: 9.707 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.4558, allocations: 166.2 kB / 450.3 MB, free: 9.566 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.849e-05/0.4558, allocations: 42.7 kB / 450.3 MB, free: 9.531 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.15e-05/0.4559, allocations: 0 / 450.3 MB, free: 9.531 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.456, allocations: 333.3 kB / 450.6 MB, free: 9.203 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.553e-05/0.4561, allocations: 43.94 kB / 450.7 MB, free: 9.176 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.4562, allocations: 100.3 kB / 450.8 MB, free: 9.078 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.591e-05/0.4563, allocations: 49.14 kB / 450.8 MB, free: 9.047 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4563, allocations: 0 / 450.8 MB, free: 9.047 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003057/0.4566, allocations: 190.8 kB / 451 MB, free: 8.895 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003124/0.457, allocations: 0.6467 MB / 451.6 MB, free: 8.207 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.457, allocations: 3.938 kB / 451.7 MB, free: 8.203 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.457, allocations: 4 kB / 451.7 MB, free: 8.199 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002784/0.4573, allocations: 63.83 kB / 451.7 MB, free: 8.141 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.4573, allocations: 3.984 kB / 451.7 MB, free: 8.137 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002615/0.4576, allocations: 47.81 kB / 451.8 MB, free: 8.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.4576, allocations: 4 kB / 451.8 MB, free: 8.086 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.358e-06/0.4576, allocations: 4 kB / 451.8 MB, free: 8.082 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002337/0.4579, allocations: 143 kB / 451.9 MB, free: 7.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.4579, allocations: 8.188 kB / 451.9 MB, free: 7.973 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.499e-06/0.4579, allocations: 3.984 kB / 451.9 MB, free: 7.969 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/0.4581, allocations: 55.53 kB / 452 MB, free: 7.918 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-06/0.4581, allocations: 0 / 452 MB, free: 7.918 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/0.4584, allocations: 43.81 kB / 452 MB, free: 7.875 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.4584, allocations: 4 kB / 452 MB, free: 7.871 MB / 330.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 () * 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 9.809e-05/0.4585, allocations: 115.9 kB / 452.1 MB, free: 7.754 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.061e-05/0.4585, allocations: 15.81 kB / 452.2 MB, free: 7.738 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.76e-05/0.4586, allocations: 24.95 kB / 452.2 MB, free: 7.727 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.4586, allocations: 0 / 452.2 MB, free: 7.727 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.4586, allocations: 3.938 kB / 452.2 MB, free: 7.723 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.4586, allocations: 0 / 452.2 MB, free: 7.723 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002195/0.4589, allocations: 247.4 kB / 452.4 MB, free: 7.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4589, allocations: 0 / 452.4 MB, free: 7.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002362/0.4591, allocations: 55.91 kB / 452.5 MB, free: 7.426 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.4591, allocations: 0 / 452.5 MB, free: 7.426 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.4591, allocations: 7.984 kB / 452.5 MB, free: 7.418 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4592, allocations: 0 / 452.5 MB, free: 7.418 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4592, allocations: 0 / 452.5 MB, free: 7.418 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003267/0.4595, allocations: 222.8 kB / 452.7 MB, free: 7.238 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.259e-05/0.4596, allocations: 100.2 kB / 452.8 MB, free: 7.125 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.793e-05/0.4596, allocations: 7.938 kB / 452.8 MB, free: 7.117 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/0.4598, allocations: 27.97 kB / 452.8 MB, free: 7.09 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.036e-05/0.4599, allocations: 18.84 kB / 452.9 MB, free: 7.074 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.4599, allocations: 11.44 kB / 452.9 MB, free: 7.066 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001341/0.4601, allocations: 151.2 kB / 453 MB, free: 6.945 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4601, allocations: 0 / 453 MB, free: 6.945 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003993/0.4605, allocations: 95.69 kB / 453.1 MB, free: 6.852 MB / 330.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) * 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.000174/0.4607, allocations: 103.2 kB / 453.2 MB, free: 6.738 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004379/0.4611, allocations: 321.1 kB / 453.5 MB, free: 6.473 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4611, allocations: 192 / 453.5 MB, free: 6.473 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.491e-05/0.4612, allocations: 56.25 kB / 453.6 MB, free: 6.434 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.4615, allocations: 39.73 kB / 453.6 MB, free: 6.398 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006418/0.4622, allocations: 305.2 kB / 453.9 MB, free: 6.109 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.4625, allocations: 0.7482 MB / 454.7 MB, free: 5.332 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001638/0.4627, allocations: 38.06 kB / 454.7 MB, free: 5.293 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.118e-05/0.4627, allocations: 15.44 kB / 454.7 MB, free: 5.277 MB / 330.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4628, allocations: 0 / 454.7 MB, free: 5.277 MB / 330.7 MB Notification: Performance of Templates: time 0.005251/0.468, allocations: 2.53 MB / 457.2 MB, free: 2.758 MB / 330.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