Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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_cpp_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_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00164/0.001639, allocations: 172.5 kB / 8.147 MB, free: 2.223 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.737/1.737, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001212/0.001211, allocations: 92.5 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2701/0.2701, allocations: 43.49 MB / 353.2 MB, free: 2.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.625e-06/7.714e-06, allocations: 0 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.272, allocations: 58.84 MB / 476.5 MB, free: 5.09 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1683/0.4403, allocations: 95.12 MB / 0.5583 GB, free: 3.934 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/0.4406, allocations: 63.97 kB / 0.5583 GB, free: 3.871 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.1011/0.5417, allocations: 19.63 MB / 0.5775 GB, free: 176 kB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001058/0.5418, allocations: 27.94 kB / 0.5775 GB, free: 148 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.003407/0.5453, allocations: 0.958 MB / 0.5785 GB, free: 15.14 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.405e-05/0.5454, allocations: 8.031 kB / 0.5785 GB, free: 15.13 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006042/0.546, allocations: 90.97 kB / 0.5786 GB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002514/0.5485, allocations: 0.5625 MB / 0.5791 GB, free: 14.44 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.578e-05/0.5486, allocations: 23.98 kB / 0.5791 GB, free: 14.42 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001717/0.5488, allocations: 35.91 kB / 0.5792 GB, free: 14.38 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001197/0.55, allocations: 333.9 kB / 0.5795 GB, free: 14.05 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/0.5514, allocations: 0.4907 MB / 0.58 GB, free: 13.51 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.94e-05/0.5514, allocations: 0 / 0.58 GB, free: 13.51 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-05/0.5515, allocations: 4 kB / 0.58 GB, free: 13.51 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.05e-05/0.5516, allocations: 11.91 kB / 0.58 GB, free: 13.5 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00646/0.558, allocations: 2.581 MB / 0.5825 GB, free: 10.82 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001526/0.5596, allocations: 462.3 kB / 0.5829 GB, free: 10.35 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00059/0.5603, allocations: 191 kB / 0.5831 GB, free: 10.15 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.043e-05/0.5603, allocations: 8 kB / 0.5831 GB, free: 10.14 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.905e-05/0.5604, allocations: 42.5 kB / 0.5832 GB, free: 10.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=43): time 3.176e-06/0.5604, allocations: 0 / 0.5832 GB, free: 10.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.002402/0.5628, allocations: 0.7753 MB / 0.5839 GB, free: 9.309 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/0.563, allocations: 140.6 kB / 0.5841 GB, free: 9.141 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.564, allocations: 0.4919 MB / 0.5845 GB, free: 8.641 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.978e-05/0.5642, allocations: 25.7 kB / 0.5846 GB, free: 8.609 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/0.5643, allocations: 263.1 kB / 0.5848 GB, free: 8.348 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002363/0.5646, allocations: 169.5 kB / 0.585 GB, free: 8.18 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-05/0.5647, allocations: 0 / 0.585 GB, free: 8.18 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.5648, allocations: 334.8 kB / 0.5853 GB, free: 7.844 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006099/0.5654, allocations: 185.3 kB / 0.5855 GB, free: 7.664 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007643/0.5662, allocations: 348.1 kB / 0.5858 GB, free: 7.25 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007093/0.567, allocations: 225.3 kB / 0.586 GB, free: 7.031 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.027e-05/0.567, allocations: 4 kB / 0.586 GB, free: 7.027 MB / 426.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001901/0.5689, allocations: 0.6016 MB / 0.5866 GB, free: 6.418 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008635/0.5698, allocations: 1.74 MB / 0.5883 GB, free: 4.543 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.88e-05/0.5698, allocations: 4 kB / 0.5883 GB, free: 4.539 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003283/0.5701, allocations: 56.81 kB / 0.5884 GB, free: 4.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002024/0.5722, allocations: 215.8 kB / 0.5886 GB, free: 4.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.271e-05/0.5722, allocations: 15.92 kB / 0.5886 GB, free: 4.254 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008033/0.573, allocations: 67.66 kB / 0.5886 GB, free: 4.188 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.358e-05/0.5731, allocations: 23.98 kB / 0.5887 GB, free: 4.164 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.5732, allocations: 7.906 kB / 0.5887 GB, free: 4.156 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001713/0.5749, allocations: 0.5315 MB / 0.5892 GB, free: 3.621 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.5749, allocations: 4 kB / 0.5892 GB, free: 3.617 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002673/0.5752, allocations: 61.38 kB / 0.5893 GB, free: 3.555 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001843/0.5771, allocations: 207.8 kB / 0.5895 GB, free: 3.352 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.703e-05/0.5771, allocations: 15.94 kB / 0.5895 GB, free: 3.336 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007153/0.5778, allocations: 59.66 kB / 0.5895 GB, free: 3.277 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-05/0.5779, allocations: 27.98 kB / 0.5896 GB, free: 3.25 MB / 426.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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002119/0.5781, allocations: 51.36 kB / 0.5896 GB, free: 3.199 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003055/0.5785, allocations: 71.16 kB / 0.5897 GB, free: 3.129 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003128/0.5788, allocations: 81.78 kB / 0.5898 GB, free: 3.043 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-06/0.5788, allocations: 11.94 kB / 0.5898 GB, free: 3.031 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/0.5788, allocations: 4 kB / 0.5898 GB, free: 3.027 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.5788, allocations: 3.984 kB / 0.5898 GB, free: 3.023 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00187/0.5807, allocations: 0.7521 MB / 0.5905 GB, free: 2.227 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/0.5808, allocations: 8.031 kB / 0.5905 GB, free: 2.219 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001438/0.5822, allocations: 119.9 kB / 0.5906 GB, free: 2.102 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.655e-05/0.5822, allocations: 3.984 kB / 0.5906 GB, free: 2.098 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.992e-05/0.5823, allocations: 16 kB / 0.5906 GB, free: 2.082 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-06/0.5824, allocations: 3.984 kB / 0.5906 GB, free: 2.078 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.5824, allocations: 0 / 0.5906 GB, free: 2.078 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002183/0.5846, allocations: 0.9658 MB / 0.5916 GB, free: 1.082 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000463/0.585, allocations: 200 kB / 0.5918 GB, free: 0.8672 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001623/0.5852, allocations: 12 kB / 0.5918 GB, free: 0.8555 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/0.5864, allocations: 55.94 kB / 0.5918 GB, free: 0.8008 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/0.5866, allocations: 31.95 kB / 0.5919 GB, free: 0.7695 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-05/0.5866, allocations: 15.98 kB / 0.5919 GB, free: 0.7539 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0008082/0.5875, allocations: 387.1 kB / 0.5923 GB, free: 392 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.001142/0.5886, allocations: 172 kB / 0.5924 GB, free: 220 kB / 426.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.0002297/0.5889, allocations: 115 kB / 0.5925 GB, free: 92 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002675/0.5915, allocations: 0.9428 MB / 0.5935 GB, free: 15.11 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.5916, allocations: 0 / 0.5935 GB, free: 15.11 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006469/0.5922, allocations: 211.8 kB / 0.5937 GB, free: 14.9 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/0.5939, allocations: 156.1 kB / 0.5938 GB, free: 14.75 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004201/0.5981, allocations: 1.206 MB / 0.595 GB, free: 13.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001192/0.5993, allocations: 1.023 MB / 0.596 GB, free: 12.45 MB / 442.7 MB Notification: Performance of SimCode: time 1.222e-06/0.5993, allocations: 3.938 kB / 0.596 GB, free: 12.44 MB / 442.7 MB Notification: Performance of Templates: time 0.02249/0.6218, allocations: 9.867 MB / 0.6056 GB, free: 2.582 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Blocks.Continuous_SteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches