Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") [: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 trunk/package.mo): time 0.00106/0.001061, allocations: 198.8 kB / 8.538 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 225.5 MB / 234.4 MB, free: 3.281 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009226/0.0009227, allocations: 89.45 kB / 286.3 MB, free: 5.316 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 9.328e-06/9.338e-06, allocations: 0 / 343.1 MB, free: 8.664 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1083, allocations: 51.48 MB / 394.6 MB, free: 5.137 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2334/0.3417, allocations: 81.69 MB / 476.3 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000226/0.342, allocations: 82.19 kB / 476.4 MB, free: 11.13 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01785/0.3598, allocations: 6.746 MB / 483.1 MB, free: 6.031 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.874e-05/0.3599, allocations: 4 kB / 483.1 MB, free: 6.027 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0009467/0.3609, allocations: 0.6309 MB / 483.8 MB, free: 5.367 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.3609, allocations: 8.031 kB / 483.8 MB, free: 5.359 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.861e-05/0.361, allocations: 42.34 kB / 483.8 MB, free: 5.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003538/0.3614, allocations: 312.2 kB / 484.1 MB, free: 5.016 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.3614, allocations: 8 kB / 484.1 MB, free: 5.008 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.834e-05/0.3614, allocations: 16 kB / 484.2 MB, free: 4.992 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003708/0.3618, allocations: 201.5 kB / 484.4 MB, free: 4.879 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003718/0.3622, allocations: 256.7 kB / 484.6 MB, free: 4.688 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.3622, allocations: 0 / 484.6 MB, free: 4.688 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.778e-05/0.3623, allocations: 0 / 484.6 MB, free: 4.688 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.3623, allocations: 8 kB / 484.6 MB, free: 4.68 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001898/0.3642, allocations: 1.272 MB / 485.9 MB, free: 3.574 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/0.3644, allocations: 147.4 kB / 486 MB, free: 3.473 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001855/0.3646, allocations: 107.1 kB / 486.1 MB, free: 3.402 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.3646, allocations: 0 / 486.1 MB, free: 3.402 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001757/0.3648, allocations: 143.5 kB / 486.3 MB, free: 3.27 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 1.252e-06/0.3648, allocations: 0 / 486.3 MB, free: 3.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005956/0.3654, allocations: 233.1 kB / 486.5 MB, free: 3.074 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.3655, allocations: 106.8 kB / 486.6 MB, free: 2.945 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/0.3657, allocations: 236.7 kB / 486.8 MB, free: 2.758 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.3657, allocations: 25.7 kB / 486.9 MB, free: 2.727 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.908e-05/0.3658, allocations: 196 kB / 487.1 MB, free: 2.547 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.641e-05/0.3659, allocations: 52.7 kB / 487.1 MB, free: 2.504 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.276e-05/0.3659, allocations: 0 / 487.1 MB, free: 2.504 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.194e-05/0.3659, allocations: 337.1 kB / 487.4 MB, free: 2.176 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.3661, allocations: 64.78 kB / 487.5 MB, free: 2.137 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.3662, allocations: 163.3 kB / 487.7 MB, free: 1.973 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.3663, allocations: 82.31 kB / 487.7 MB, free: 1.926 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3664, allocations: 0 / 487.7 MB, free: 1.926 MB / 346.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006031/0.367, allocations: 334.9 kB / 488.1 MB, free: 1.652 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.367, allocations: 6.031 kB / 488.1 MB, free: 1.648 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.367, allocations: 9.25 kB / 488.1 MB, free: 1.641 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001555/0.3672, allocations: 28.05 kB / 488.1 MB, free: 1.617 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003237/0.3675, allocations: 86.81 kB / 488.2 MB, free: 1.535 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009515/0.3685, allocations: 1.313 MB / 489.5 MB, free: 172 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003444/0.3688, allocations: 63.83 kB / 489.6 MB, free: 108 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/0.3688, allocations: 18.59 kB / 489.6 MB, free: 92 kB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: firstOrder.opAmp.v_in:VARIABLE(unit = "V" ) "Input voltage difference" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001429/0.369, allocations: 116.2 kB / 489.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.165e-05/0.369, allocations: 25.12 kB / 489.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.554e-05/0.3691, allocations: 27.77 kB / 489.8 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.3691, allocations: 0 / 489.8 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-06/0.3691, allocations: 0 / 489.8 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.3691, allocations: 0 / 489.8 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.3702, allocations: 0.6549 MB / 490.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.3702, allocations: 2.188 kB / 490.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002689/0.3705, allocations: 51.94 kB / 490.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.067e-05/0.3706, allocations: 35.28 kB / 490.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.3706, allocations: 0 / 490.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001187/0.3718, allocations: 1.316 MB / 491.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.3718, allocations: 1.641 kB / 491.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007001/0.3725, allocations: 436.1 kB / 492.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.126e-05/0.3726, allocations: 104.6 kB / 492.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.803e-05/0.3727, allocations: 7.906 kB / 492.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003223/0.373, allocations: 51.67 kB / 492.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.422e-05/0.3731, allocations: 23.78 kB / 492.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.3731, allocations: 4 kB / 492.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001867/0.3733, allocations: 183.9 kB / 492.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004428/0.3737, allocations: 75.84 kB / 492.7 MB, free: 13.11 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.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 (16): * Single equations (assignments): 13 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001725/0.3739, allocations: 110.9 kB / 492.8 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004805/0.3744, allocations: 295.9 kB / 493.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3744, allocations: 0 / 493.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002334/0.3747, allocations: 184.9 kB / 493.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.375, allocations: 42.23 kB / 493.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00177/0.3768, allocations: 0.5808 MB / 493.9 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004237/0.3772, allocations: 0.7977 MB / 494.7 MB, free: 11.17 MB / 362.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3772, allocations: 4 kB / 494.7 MB, free: 11.17 MB / 362.7 MB Notification: Performance of Templates: time 0.007713/0.385, allocations: 3.554 MB / 498.2 MB, free: 7.703 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches