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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001489/0.001489, allocations: 170.4 kB / 8.475 MB, free: 1.863 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.215/1.215, allocations: 205.2 MB / 214.1 MB, free: 5.168 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.001001/0.001001, allocations: 90.23 kB / 262.1 MB, free: 5.211 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.762e-06/6.873e-06, allocations: 0 / 315 MB, free: 41.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0721/0.07212, allocations: 47.58 MB / 362.6 MB, free: 9.973 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2535/0.3257, allocations: 78.41 MB / 441 MB, free: 10.66 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/0.326, allocations: 76.8 kB / 441 MB, free: 10.66 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.01645/0.3425, allocations: 5.225 MB / 446.3 MB, free: 10.12 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.603e-05/0.3425, allocations: 3.906 kB / 446.3 MB, free: 10.12 MB / 314.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.0009227/0.3435, allocations: 0.5641 MB / 446.8 MB, free: 9.629 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.3435, allocations: 11.38 kB / 446.8 MB, free: 9.629 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.316e-05/0.3436, allocations: 23.25 kB / 446.9 MB, free: 9.617 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003295/0.3439, allocations: 262.5 kB / 447.1 MB, free: 9.379 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.344, allocations: 7.688 kB / 447.1 MB, free: 9.379 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.355e-05/0.344, allocations: 14.41 kB / 447.1 MB, free: 9.379 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003454/0.3444, allocations: 145.7 kB / 447.3 MB, free: 9.371 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002972/0.3447, allocations: 158.1 kB / 447.4 MB, free: 9.312 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.3447, allocations: 0 / 447.4 MB, free: 9.312 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.796e-05/0.3447, allocations: 7.906 kB / 447.4 MB, free: 9.305 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.3447, allocations: 3.844 kB / 447.5 MB, free: 9.305 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001567/0.3463, allocations: 0.8559 MB / 448.3 MB, free: 8.738 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004049/0.3467, allocations: 139.3 kB / 448.4 MB, free: 8.703 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.3468, allocations: 57.77 kB / 448.5 MB, free: 8.688 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.096e-05/0.3469, allocations: 0 / 448.5 MB, free: 8.688 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001618/0.3471, allocations: 117.6 kB / 448.6 MB, free: 8.609 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.953e-06/0.3471, allocations: 0 / 448.6 MB, free: 8.609 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003066/0.3474, allocations: 123.3 kB / 448.7 MB, free: 8.559 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.3474, allocations: 77.11 kB / 448.8 MB, free: 8.465 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.3476, allocations: 200.3 kB / 449 MB, free: 8.352 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.3476, allocations: 25.7 kB / 449 MB, free: 8.32 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.96e-05/0.3477, allocations: 150.1 kB / 449.2 MB, free: 8.191 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.374e-05/0.3478, allocations: 43.14 kB / 449.2 MB, free: 8.16 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.277e-05/0.3478, allocations: 3.906 kB / 449.2 MB, free: 8.16 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.343e-05/0.3479, allocations: 334.4 kB / 449.6 MB, free: 7.836 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.549e-05/0.348, allocations: 48.09 kB / 449.6 MB, free: 7.828 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001548/0.3481, allocations: 99.77 kB / 449.7 MB, free: 7.762 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.3483, allocations: 52.45 kB / 449.7 MB, free: 7.754 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3483, allocations: 0 / 449.7 MB, free: 7.754 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003044/0.3486, allocations: 184.2 kB / 449.9 MB, free: 7.688 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000113/0.3487, allocations: 0.6134 MB / 450.5 MB, free: 7.047 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.3487, allocations: 3.938 kB / 450.5 MB, free: 7.043 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.3487, allocations: 3.844 kB / 450.5 MB, free: 7.043 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003319/0.3491, allocations: 69.86 kB / 450.6 MB, free: 7.023 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.3491, allocations: 3.781 kB / 450.6 MB, free: 7.023 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002701/0.3494, allocations: 54.48 kB / 450.7 MB, free: 6.996 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.3494, allocations: 7.75 kB / 450.7 MB, free: 6.996 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.07e-06/0.3494, allocations: 3.969 kB / 450.7 MB, free: 6.996 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001885/0.3496, allocations: 126.5 kB / 450.8 MB, free: 6.977 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.445e-06/0.3496, allocations: 3.844 kB / 450.8 MB, free: 6.977 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.416e-06/0.3496, allocations: 3.906 kB / 450.8 MB, free: 6.977 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/0.3498, allocations: 62.61 kB / 450.9 MB, free: 6.957 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.576e-06/0.3499, allocations: 3.906 kB / 450.9 MB, free: 6.953 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002229/0.3501, allocations: 38.77 kB / 450.9 MB, free: 6.938 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.3501, allocations: 15.28 kB / 450.9 MB, free: 6.934 MB / 314.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 7.973e-05/0.3502, allocations: 113.7 kB / 451 MB, free: 6.82 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.737e-05/0.3502, allocations: 15.5 kB / 451.1 MB, free: 6.812 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.096e-05/0.3503, allocations: 23.73 kB / 451.1 MB, free: 6.805 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.3503, allocations: 3.906 kB / 451.1 MB, free: 6.801 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3503, allocations: 0 / 451.1 MB, free: 6.801 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3503, allocations: 0 / 451.1 MB, free: 6.801 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.3505, allocations: 245.9 kB / 451.3 MB, free: 6.602 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3505, allocations: 7.812 kB / 451.3 MB, free: 6.598 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002441/0.3507, allocations: 58.45 kB / 451.4 MB, free: 6.578 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.3508, allocations: 0 / 451.4 MB, free: 6.578 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.3508, allocations: 3.938 kB / 451.4 MB, free: 6.574 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3508, allocations: 0 / 451.4 MB, free: 6.574 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3508, allocations: 0 / 451.4 MB, free: 6.574 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002879/0.3511, allocations: 219.7 kB / 451.6 MB, free: 6.484 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.424e-05/0.3511, allocations: 91.95 kB / 451.7 MB, free: 6.383 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.405e-05/0.3512, allocations: 3.844 kB / 451.7 MB, free: 6.383 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.3514, allocations: 43.08 kB / 451.7 MB, free: 6.363 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.24e-05/0.3515, allocations: 19.05 kB / 451.8 MB, free: 6.355 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.3515, allocations: 3.984 kB / 451.8 MB, free: 6.352 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.833e-05/0.3516, allocations: 155 kB / 451.9 MB, free: 6.27 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003683/0.352, allocations: 100.7 kB / 452 MB, free: 6.25 MB / 314.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.0001595/0.3522, allocations: 104.7 kB / 452.1 MB, free: 6.156 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003377/0.3525, allocations: 257 kB / 452.4 MB, free: 6.074 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3525, allocations: 192 / 452.4 MB, free: 6.074 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.946e-05/0.3526, allocations: 67.23 kB / 452.4 MB, free: 6.062 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.3529, allocations: 31.16 kB / 452.5 MB, free: 6.051 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006778/0.3536, allocations: 309.6 kB / 452.8 MB, free: 5.871 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002203/0.3538, allocations: 0.7721 MB / 453.5 MB, free: 5.133 MB / 314.7 MB Notification: Performance of SimCode: time 3.2e-07/0.3538, allocations: 0 / 453.5 MB, free: 5.133 MB / 314.7 MB Notification: Performance of Templates: time 0.005879/0.3597, allocations: 3.346 MB / 456.9 MB, free: 3.48 MB / 314.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