Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.LowPass,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.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,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.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 3.2.3+maint.om/package.mo): time 0.0009592/0.0009595, allocations: 178.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.308/1.308, 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.000825/0.0008249, allocations: 90.23 kB / 262.1 MB, free: 5.199 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.873e-06/6.973e-06, allocations: 4 kB / 315 MB, free: 41.49 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0715/0.07152, allocations: 47.57 MB / 362.6 MB, free: 9.957 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2309/0.3024, allocations: 78.56 MB / 441.1 MB, free: 10.7 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000188/0.3027, allocations: 77.2 kB / 441.2 MB, free: 10.7 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.01561/0.3183, allocations: 5.812 MB / 447 MB, free: 9.91 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.351e-05/0.3183, allocations: 7.688 kB / 447 MB, free: 9.91 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0008263/0.3191, allocations: 0.5934 MB / 447.6 MB, free: 9.41 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.3192, allocations: 7.656 kB / 447.6 MB, free: 9.41 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.591e-05/0.3193, allocations: 37.97 kB / 447.7 MB, free: 9.391 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002957/0.3196, allocations: 289 kB / 447.9 MB, free: 9.137 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.3196, allocations: 7.375 kB / 447.9 MB, free: 9.137 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.641e-05/0.3196, allocations: 15.06 kB / 448 MB, free: 9.137 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002882/0.3199, allocations: 160.5 kB / 448.1 MB, free: 9.133 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002781/0.3202, allocations: 184.5 kB / 448.3 MB, free: 9.074 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.3202, allocations: 0 / 448.3 MB, free: 9.074 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.332e-05/0.3203, allocations: 0 / 448.3 MB, free: 9.074 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.383e-06/0.3203, allocations: 3.688 kB / 448.3 MB, free: 9.074 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001441/0.3217, allocations: 0.9296 MB / 449.2 MB, free: 8.508 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002927/0.322, allocations: 168.2 kB / 449.4 MB, free: 8.473 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/0.3222, allocations: 92.53 kB / 449.5 MB, free: 8.461 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.058e-05/0.3222, allocations: 3.844 kB / 449.5 MB, free: 8.461 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001642/0.3224, allocations: 141.1 kB / 449.6 MB, free: 8.363 MB / 314.7 MB Notification: Performance of pre-optimization done (n=18): time 1.262e-06/0.3224, allocations: 0 / 449.6 MB, free: 8.363 MB / 314.7 MB Notification: Performance of matching and sorting (n=18): time 0.000449/0.3229, allocations: 220.2 kB / 449.8 MB, free: 8.277 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.3229, allocations: 110.4 kB / 449.9 MB, free: 8.152 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.3231, allocations: 209.5 kB / 450.1 MB, free: 8.043 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.3231, allocations: 33.36 kB / 450.2 MB, free: 8.012 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.413e-05/0.3232, allocations: 158.4 kB / 450.3 MB, free: 7.871 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.623e-05/0.3232, allocations: 61.64 kB / 450.4 MB, free: 7.824 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.234e-05/0.3233, allocations: 0 / 450.4 MB, free: 7.824 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.622e-05/0.3233, allocations: 337.5 kB / 450.7 MB, free: 7.504 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.988e-05/0.3234, allocations: 59.77 kB / 450.8 MB, free: 7.496 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.3236, allocations: 124.7 kB / 450.9 MB, free: 7.41 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.3237, allocations: 64.3 kB / 451 MB, free: 7.398 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3237, allocations: 0 / 451 MB, free: 7.398 MB / 314.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004513/0.3241, allocations: 281.7 kB / 451.2 MB, free: 7.301 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001123/0.3243, allocations: 0.6071 MB / 451.9 MB, free: 6.664 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3243, allocations: 0 / 451.9 MB, free: 6.664 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001547/0.3244, allocations: 35.19 kB / 451.9 MB, free: 6.648 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002802/0.3247, allocations: 65.8 kB / 452 MB, free: 6.633 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002728/0.325, allocations: 0.5673 MB / 452.5 MB, free: 6.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003288/0.3253, allocations: 54.44 kB / 452.6 MB, free: 6.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/0.3254, allocations: 6.281 kB / 452.6 MB, free: 6.07 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.683e-06/0.3254, allocations: 3.844 kB / 452.6 MB, free: 6.07 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002689/0.3257, allocations: 174.6 kB / 452.8 MB, free: 6.035 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.3257, allocations: 7.844 kB / 452.8 MB, free: 6.031 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.254e-05/0.3257, allocations: 24.19 kB / 452.8 MB, free: 6.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002614/0.326, allocations: 65.89 kB / 452.8 MB, free: 6.004 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006811/0.3267, allocations: 1.324 MB / 454.2 MB, free: 4.691 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002708/0.327, allocations: 42.33 kB / 454.2 MB, free: 4.676 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.327, allocations: 11.22 kB / 454.2 MB, free: 4.672 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 (26): * Single equations (assignments): 24 * 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.0001261/0.3271, allocations: 128.7 kB / 454.3 MB, free: 4.547 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.261e-05/0.3272, allocations: 23.25 kB / 454.4 MB, free: 4.535 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.144e-05/0.3272, allocations: 21.12 kB / 454.4 MB, free: 4.531 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3272, allocations: 3.812 kB / 454.4 MB, free: 4.531 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3272, allocations: 3.984 kB / 454.4 MB, free: 4.527 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.3272, allocations: 3.938 kB / 454.4 MB, free: 4.523 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006609/0.3279, allocations: 0.5764 MB / 455 MB, free: 4.148 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3279, allocations: 7.844 kB / 455 MB, free: 4.141 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002359/0.3282, allocations: 58.73 kB / 455 MB, free: 4.121 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.952e-05/0.3282, allocations: 30.31 kB / 455.1 MB, free: 4.109 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.3283, allocations: 3.25 kB / 455.1 MB, free: 4.109 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008293/0.3291, allocations: 1.308 MB / 456.4 MB, free: 18.86 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.3291, allocations: 3.906 kB / 456.4 MB, free: 18.86 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004856/0.3296, allocations: 413.5 kB / 456.8 MB, free: 18.64 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.376e-05/0.3297, allocations: 96.7 kB / 456.9 MB, free: 18.54 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.486e-05/0.3297, allocations: 3.984 kB / 456.9 MB, free: 18.53 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002949/0.33, allocations: 41.81 kB / 456.9 MB, free: 18.52 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.634e-05/0.3301, allocations: 19.53 kB / 457 MB, free: 18.51 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.3301, allocations: 11.72 kB / 457 MB, free: 18.51 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001325/0.3303, allocations: 169.2 kB / 457.1 MB, free: 18.42 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000494/0.3308, allocations: 119.5 kB / 457.2 MB, free: 18.4 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001308/0.3309, allocations: 118 kB / 457.4 MB, free: 18.3 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005563/0.3315, allocations: 410.9 kB / 457.8 MB, free: 18.11 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3315, allocations: 3.812 kB / 457.8 MB, free: 18.11 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001997/0.3317, allocations: 185.6 kB / 457.9 MB, free: 18 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.332, allocations: 33.78 kB / 458 MB, free: 17.99 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007295/0.3327, allocations: 374.3 kB / 458.3 MB, free: 17.77 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003118/0.333, allocations: 0.7895 MB / 459.1 MB, free: 17.02 MB / 330.7 MB Notification: Performance of SimCode: time 2.81e-07/0.333, allocations: 0 / 459.1 MB, free: 17.02 MB / 330.7 MB Notification: Performance of Templates: time 0.007485/0.3405, allocations: 4.379 MB / 463.5 MB, free: 14.86 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches