Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.Integrator,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.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,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.Integrator") [: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.001066/0.001066, allocations: 178.8 kB / 8.476 MB, free: 1.824 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.188/1.188, allocations: 205.2 MB / 214.1 MB, free: 5.098 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.0008582/0.0008583, allocations: 85.94 kB / 262.1 MB, free: 5.141 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.141e-06/6.171e-06, allocations: 0 / 315 MB, free: 41.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08353/0.08355, allocations: 47.59 MB / 362.6 MB, free: 9.938 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2448/0.3284, allocations: 78.42 MB / 441 MB, free: 10.88 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002131/0.3287, allocations: 79.59 kB / 441.1 MB, free: 10.88 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.01477/0.3435, allocations: 5.218 MB / 446.3 MB, free: 10.33 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.532e-05/0.3435, allocations: 3.875 kB / 446.3 MB, free: 10.33 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.0008498/0.3444, allocations: 0.5718 MB / 446.9 MB, free: 9.832 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.3444, allocations: 7.656 kB / 446.9 MB, free: 9.832 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.997e-05/0.3445, allocations: 23.44 kB / 446.9 MB, free: 9.82 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003141/0.3448, allocations: 263.3 kB / 447.1 MB, free: 9.586 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.3448, allocations: 7.781 kB / 447.1 MB, free: 9.582 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.837e-05/0.3449, allocations: 15.52 kB / 447.2 MB, free: 9.578 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002501/0.3451, allocations: 140.8 kB / 447.3 MB, free: 9.578 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000247/0.3454, allocations: 164.3 kB / 447.5 MB, free: 9.512 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.3454, allocations: 3.984 kB / 447.5 MB, free: 9.508 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.21e-05/0.3454, allocations: 3.906 kB / 447.5 MB, free: 9.504 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.3454, allocations: 3.844 kB / 447.5 MB, free: 9.504 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00124/0.3467, allocations: 0.8595 MB / 448.3 MB, free: 8.934 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003637/0.3471, allocations: 141.4 kB / 448.5 MB, free: 8.898 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.985e-05/0.3472, allocations: 55.02 kB / 448.5 MB, free: 8.887 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.3472, allocations: 3.906 kB / 448.5 MB, free: 8.887 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001334/0.3473, allocations: 104.1 kB / 448.6 MB, free: 8.812 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.532e-06/0.3473, allocations: 0 / 448.6 MB, free: 8.812 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004187/0.3478, allocations: 189.7 kB / 448.8 MB, free: 8.734 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.3478, allocations: 88.92 kB / 448.9 MB, free: 8.633 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.348, allocations: 201.3 kB / 449.1 MB, free: 8.516 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.348, allocations: 25.92 kB / 449.1 MB, free: 8.484 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.713e-05/0.348, allocations: 142 kB / 449.3 MB, free: 8.363 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.3481, allocations: 54.14 kB / 449.3 MB, free: 8.328 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.076e-05/0.3481, allocations: 0 / 449.3 MB, free: 8.328 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.04e-05/0.3481, allocations: 329.7 kB / 449.6 MB, free: 8.008 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.732e-05/0.3482, allocations: 48.44 kB / 449.7 MB, free: 8.004 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.235e-05/0.3483, allocations: 103.5 kB / 449.8 MB, free: 7.934 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.841e-05/0.3484, allocations: 44.98 kB / 449.8 MB, free: 7.93 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3484, allocations: 4.031 kB / 449.8 MB, free: 7.926 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003998/0.3488, allocations: 242 kB / 450.1 MB, free: 7.836 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.526e-05/0.3489, allocations: 0.6182 MB / 450.7 MB, free: 7.191 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.84e-06/0.3489, allocations: 7.875 kB / 450.7 MB, free: 7.188 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001377/0.3491, allocations: 27.66 kB / 450.7 MB, free: 7.176 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002257/0.3493, allocations: 58.02 kB / 450.8 MB, free: 7.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002676/0.3496, allocations: 0.5533 MB / 451.3 MB, free: 6.629 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002724/0.3499, allocations: 46.8 kB / 451.4 MB, free: 6.609 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.3499, allocations: 10.97 kB / 451.4 MB, free: 6.609 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.879e-06/0.3499, allocations: 3.844 kB / 451.4 MB, free: 6.609 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002283/0.3501, allocations: 147.1 kB / 451.5 MB, free: 6.574 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-06/0.3502, allocations: 0 / 451.5 MB, free: 6.574 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.094e-05/0.3502, allocations: 24.41 kB / 451.6 MB, free: 6.562 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002122/0.3504, allocations: 54.62 kB / 451.6 MB, free: 6.547 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006583/0.3511, allocations: 1.321 MB / 452.9 MB, free: 5.234 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002405/0.3514, allocations: 42.95 kB / 453 MB, free: 5.215 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.3514, allocations: 11.62 kB / 453 MB, free: 5.215 MB / 314.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: opAmp.simplifiedExpr:VARIABLE(unit = "V" protected = true ) "Simplified expression for homotopy-based initialization" type: Real 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 (20): * Single equations (assignments): 18 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001209/0.3515, allocations: 114.6 kB / 453.1 MB, free: 5.102 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.75e-05/0.3515, allocations: 19.41 kB / 453.1 MB, free: 5.09 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.625e-05/0.3516, allocations: 20.64 kB / 453.1 MB, free: 5.078 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.3516, allocations: 7.875 kB / 453.1 MB, free: 5.074 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.3516, allocations: 0 / 453.1 MB, free: 5.074 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.3516, allocations: 0 / 453.1 MB, free: 5.074 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.3518, allocations: 250.9 kB / 453.4 MB, free: 4.867 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3518, allocations: 0 / 453.4 MB, free: 4.867 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002012/0.352, allocations: 41.72 kB / 453.4 MB, free: 4.859 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.924e-05/0.3521, allocations: 32.09 kB / 453.5 MB, free: 4.84 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.3521, allocations: 7.625 kB / 453.5 MB, free: 4.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007406/0.3528, allocations: 1.31 MB / 454.8 MB, free: 19.59 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.3528, allocations: 0 / 454.8 MB, free: 19.59 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004065/0.3532, allocations: 271.4 kB / 455 MB, free: 19.48 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.017e-05/0.3533, allocations: 96.48 kB / 455.1 MB, free: 19.38 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.708e-05/0.3534, allocations: 3.984 kB / 455.1 MB, free: 19.37 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002297/0.3536, allocations: 38.44 kB / 455.2 MB, free: 19.36 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.039e-05/0.3537, allocations: 23.28 kB / 455.2 MB, free: 19.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.3537, allocations: 7.875 kB / 455.2 MB, free: 19.34 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001095/0.3538, allocations: 156.1 kB / 455.4 MB, free: 19.25 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004059/0.3542, allocations: 100.2 kB / 455.5 MB, free: 19.24 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 (11): * Single equations (assignments): 8 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001457/0.3544, allocations: 98.72 kB / 455.6 MB, free: 19.15 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005165/0.3549, allocations: 376.3 kB / 455.9 MB, free: 18.96 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3549, allocations: 4.062 kB / 455.9 MB, free: 18.95 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002149/0.3551, allocations: 158.2 kB / 456.1 MB, free: 18.85 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.3553, allocations: 36.59 kB / 456.1 MB, free: 18.84 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006793/0.356, allocations: 331.2 kB / 456.4 MB, free: 18.64 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003054/0.3564, allocations: 0.7679 MB / 457.2 MB, free: 17.91 MB / 330.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3564, allocations: 0 / 457.2 MB, free: 17.91 MB / 330.7 MB Notification: Performance of Templates: time 0.00629/0.3627, allocations: 3.805 MB / 461 MB, free: 16.02 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches