Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Blocks.Continuous_SteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState") translateModel(ModelicaTest.Blocks.Continuous_SteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState") [: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.0009067/0.0009068, allocations: 186.3 kB / 7.8 MB, free: 2.441 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.04/1.04, allocations: 205.2 MB / 213.4 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009436/0.0009436, allocations: 88.25 kB / 261.4 MB, free: 13.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1531/0.1531, allocations: 43.48 MB / 352.8 MB, free: 1.973 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.23e-06/5.25e-06, allocations: 0 / 417.7 MB, free: 40.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2065, allocations: 58.84 MB / 476.6 MB, free: 5.219 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1064/0.3129, allocations: 95.12 MB / 0.5583 GB, free: 3.82 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001781/0.3131, allocations: 63.97 kB / 0.5583 GB, free: 3.758 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.05425/0.3674, allocations: 19.64 MB / 0.5775 GB, free: 60 kB / 410.7 MB Notification: Performance of Transformations before backend: time 5.563e-05/0.3675, allocations: 31.88 kB / 0.5775 GB, free: 28 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001589/0.3691, allocations: 0.9575 MB / 0.5785 GB, free: 15.03 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.3691, allocations: 12.03 kB / 0.5785 GB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000141/0.3693, allocations: 86.97 kB / 0.5786 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008857/0.3702, allocations: 0.5664 MB / 0.5791 GB, free: 14.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.616e-05/0.3702, allocations: 16 kB / 0.5791 GB, free: 14.31 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.013e-05/0.3703, allocations: 39.91 kB / 0.5792 GB, free: 14.27 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005989/0.3709, allocations: 333.9 kB / 0.5795 GB, free: 13.94 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006874/0.3716, allocations: 0.4946 MB / 0.58 GB, free: 13.39 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.3716, allocations: 0 / 0.58 GB, free: 13.39 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.357e-05/0.3717, allocations: 4 kB / 0.58 GB, free: 13.39 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.3717, allocations: 19.91 kB / 0.58 GB, free: 13.37 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002997/0.3747, allocations: 2.573 MB / 0.5825 GB, free: 10.71 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000672/0.3754, allocations: 452.6 kB / 0.5829 GB, free: 10.24 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002636/0.3756, allocations: 195.1 kB / 0.5831 GB, free: 10.04 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.087e-05/0.3757, allocations: 4 kB / 0.5831 GB, free: 10.04 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.3757, allocations: 46.48 kB / 0.5832 GB, free: 9.98 MB / 426.7 MB Notification: Performance of pre-optimization done (n=43): time 1.433e-06/0.3757, allocations: 0 / 0.5832 GB, free: 9.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.001209/0.3769, allocations: 0.7754 MB / 0.5839 GB, free: 9.195 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.377, allocations: 136.5 kB / 0.5841 GB, free: 9.031 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005052/0.3775, allocations: 0.4958 MB / 0.5845 GB, free: 8.527 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.505e-05/0.3776, allocations: 25.7 kB / 0.5846 GB, free: 8.496 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.3777, allocations: 244.6 kB / 0.5848 GB, free: 8.25 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.3778, allocations: 165.6 kB / 0.585 GB, free: 8.086 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.778e-05/0.3778, allocations: 0 / 0.585 GB, free: 8.086 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.378, allocations: 390.8 kB / 0.5853 GB, free: 7.695 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002891/0.3783, allocations: 185.3 kB / 0.5855 GB, free: 7.516 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003672/0.3787, allocations: 348 kB / 0.5858 GB, free: 7.102 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003418/0.379, allocations: 233.1 kB / 0.5861 GB, free: 6.875 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.379, allocations: 0 / 0.5861 GB, free: 6.875 MB / 426.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.000973/0.38, allocations: 0.6556 MB / 0.5867 GB, free: 6.211 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004709/0.3805, allocations: 1.738 MB / 0.5884 GB, free: 4.336 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.3805, allocations: 11.98 kB / 0.5884 GB, free: 4.324 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001899/0.3807, allocations: 60.81 kB / 0.5885 GB, free: 4.262 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009334/0.3816, allocations: 203.8 kB / 0.5887 GB, free: 4.062 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001075/0.3827, allocations: 1.439 MB / 0.5901 GB, free: 2.512 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005694/0.3833, allocations: 83.84 kB / 0.5902 GB, free: 2.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-05/0.3833, allocations: 23.98 kB / 0.5902 GB, free: 2.406 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.252e-06/0.3834, allocations: 7.906 kB / 0.5902 GB, free: 2.398 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008396/0.3842, allocations: 0.5391 MB / 0.5907 GB, free: 1.855 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.3842, allocations: 4 kB / 0.5907 GB, free: 1.852 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00014/0.3844, allocations: 60.81 kB / 0.5908 GB, free: 1.789 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008662/0.3852, allocations: 200.3 kB / 0.591 GB, free: 1.594 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009755/0.3862, allocations: 1.439 MB / 0.5924 GB, free: 36 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005294/0.3868, allocations: 71.73 kB / 0.5924 GB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-05/0.3868, allocations: 24 kB / 0.5925 GB, free: 15.94 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001222/0.387, allocations: 126.1 kB / 0.5926 GB, free: 15.81 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/0.3871, allocations: 79.14 kB / 0.5927 GB, free: 15.73 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001302/0.3872, allocations: 73.88 kB / 0.5927 GB, free: 15.66 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.3873, allocations: 11.84 kB / 0.5927 GB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.3873, allocations: 4 kB / 0.5927 GB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.3873, allocations: 3.984 kB / 0.5927 GB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009415/0.3882, allocations: 0.756 MB / 0.5935 GB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3882, allocations: 0 / 0.5935 GB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006832/0.3889, allocations: 119.9 kB / 0.5936 GB, free: 14.72 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.3889, allocations: 4 kB / 0.5936 GB, free: 14.71 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.373e-05/0.389, allocations: 7.984 kB / 0.5936 GB, free: 14.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.389, allocations: 4 kB / 0.5936 GB, free: 14.7 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.389, allocations: 3.938 kB / 0.5936 GB, free: 14.7 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001029/0.39, allocations: 0.9607 MB / 0.5946 GB, free: 13.71 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002123/0.3903, allocations: 200 kB / 0.5947 GB, free: 13.49 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.424e-05/0.3904, allocations: 11.98 kB / 0.5948 GB, free: 13.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005961/0.391, allocations: 55.95 kB / 0.5948 GB, free: 13.43 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.653e-05/0.3911, allocations: 35.94 kB / 0.5948 GB, free: 13.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.538e-05/0.3911, allocations: 19.98 kB / 0.5949 GB, free: 13.37 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0003611/0.3915, allocations: 383.2 kB / 0.5952 GB, free: 13 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000688/0.3922, allocations: 168 kB / 0.5954 GB, free: 12.84 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001402/0.3923, allocations: 118.9 kB / 0.5955 GB, free: 12.71 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001409/0.3937, allocations: 0.9903 MB / 0.5965 GB, free: 11.7 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3937, allocations: 0 / 0.5965 GB, free: 11.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003133/0.3941, allocations: 217 kB / 0.5967 GB, free: 11.49 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008032/0.3949, allocations: 159.2 kB / 0.5968 GB, free: 11.34 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002255/0.3971, allocations: 1.178 MB / 0.598 GB, free: 10.12 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000672/0.3978, allocations: 1.025 MB / 0.599 GB, free: 9.062 MB / 442.7 MB Notification: Performance of SimCode: time 3.41e-07/0.3978, allocations: 0 / 0.599 GB, free: 9.062 MB / 442.7 MB Notification: Performance of Templates: time 0.0164/0.4142, allocations: 10.85 MB / 0.6096 GB, free: 14.24 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Continuous_SteadyState/Continuous_SteadyState.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches