Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.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.Fluid.TestComponents.Pipes.StaticPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|pipe1.port_a.p|pipe1.port_b.p|pipe1.port_b.m_flow|pipe1.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") translateModel(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|pipe1.port_a.p|pipe1.port_b.p|pipe1.port_b.m_flow|pipe1.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") [: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.0009717/0.0009717, allocations: 192.6 kB / 7.807 MB, free: 2.488 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.024/1.024, 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.0008126/0.0008127, allocations: 86.22 kB / 261.4 MB, free: 13.54 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.1561/0.1561, allocations: 43.48 MB / 352.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.57e-06/5.66e-06, allocations: 0 / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2216, allocations: 58.83 MB / 476.6 MB, free: 5.227 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4096/0.6312, allocations: 315.9 MB / 0.7739 GB, free: 20.28 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/0.6315, allocations: 84.33 kB / 0.774 GB, free: 20.23 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.3434/0.9749, allocations: 97 MB / 0.8687 GB, free: 151 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.546e-05/0.975, allocations: 15.73 kB / 0.8687 GB, free: 151 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001752/0.9768, allocations: 0.8305 MB / 0.8695 GB, free: 150.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.9768, allocations: 9.188 kB / 0.8695 GB, free: 150.3 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003516/0.9772, allocations: 55.12 kB / 0.8696 GB, free: 150.3 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009308/0.9781, allocations: 463.9 kB / 0.87 GB, free: 150 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.761e-05/0.9782, allocations: 10.19 kB / 0.87 GB, free: 150 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.818e-05/0.9782, allocations: 20.69 kB / 0.8701 GB, free: 150 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006449/0.9789, allocations: 404.3 kB / 0.8705 GB, free: 149.9 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006915/0.9796, allocations: 492.2 kB / 0.8709 GB, free: 149.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.9796, allocations: 0 / 0.8709 GB, free: 149.6 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.75e-05/0.9797, allocations: 2.938 kB / 0.8709 GB, free: 149.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.063e-05/0.9797, allocations: 30.2 kB / 0.871 GB, free: 149.6 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002826/0.9825, allocations: 2.192 MB / 0.8731 GB, free: 148 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003128/0.9829, allocations: 216.5 kB / 0.8733 GB, free: 147.9 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.9831, allocations: 128.6 kB / 0.8734 GB, free: 147.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001052/0.9841, allocations: 1.048 MB / 0.8744 GB, free: 147 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002126/0.9843, allocations: 204.8 kB / 0.8746 GB, free: 146.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 1.814e-06/0.9844, allocations: 0 / 0.8746 GB, free: 146.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.0006456/0.985, allocations: 249.9 kB / 0.8749 GB, free: 146.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.489e-05/0.9851, allocations: 243.2 kB / 0.8751 GB, free: 146.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000401/0.9855, allocations: 373.9 kB / 0.8755 GB, free: 146.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.881e-05/0.9855, allocations: 27.08 kB / 0.8755 GB, free: 146.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.9856, allocations: 242.8 kB / 0.8757 GB, free: 146 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.665e-05/0.9857, allocations: 60.22 kB / 0.8758 GB, free: 146 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.811e-05/0.9857, allocations: 1.156 kB / 0.8758 GB, free: 146 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.419e-05/0.9858, allocations: 351.2 kB / 0.8761 GB, free: 145.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/0.986, allocations: 120.4 kB / 0.8762 GB, free: 145.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002512/0.9863, allocations: 283.6 kB / 0.8765 GB, free: 145.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003016/0.9893, allocations: 0.6532 MB / 0.8771 GB, free: 145.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.9893, allocations: 1.25 kB / 0.8771 GB, free: 145.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.003379/0.9927, allocations: 0.9066 MB / 0.878 GB, free: 145 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002825/0.993, allocations: 1.655 MB / 0.8796 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.993, allocations: 4.234 kB / 0.8796 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.536e-05/0.993, allocations: 9.531 kB / 0.8797 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003125/0.9933, allocations: 76.59 kB / 0.8797 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.9934, allocations: 7.203 kB / 0.8797 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004297/0.9938, allocations: 46.98 kB / 0.8798 GB, free: 143.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-05/0.9939, allocations: 25.83 kB / 0.8798 GB, free: 143.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.877e-06/0.9939, allocations: 7.469 kB / 0.8798 GB, free: 143.2 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003226/0.9971, allocations: 0.8005 MB / 0.8806 GB, free: 143.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.9971, allocations: 4.844 kB / 0.8806 GB, free: 143.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.9971, allocations: 11.31 kB / 0.8806 GB, free: 143 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002756/0.9974, allocations: 73.92 kB / 0.8807 GB, free: 143 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.9974, allocations: 12.67 kB / 0.8807 GB, free: 143 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00035/0.9978, allocations: 34.78 kB / 0.8807 GB, free: 143 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.155e-05/0.9978, allocations: 21.84 kB / 0.8807 GB, free: 143 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001477/0.998, allocations: 146.1 kB / 0.8809 GB, free: 142.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.525e-05/0.9981, allocations: 50.86 kB / 0.8809 GB, free: 142.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007054/0.9988, allocations: 295.1 kB / 0.8812 GB, free: 142.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.9988, allocations: 2.219 kB / 0.8812 GB, free: 142.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.9988, allocations: 1.125 kB / 0.8812 GB, free: 142.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.9988, allocations: 5.344 kB / 0.8812 GB, free: 142.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004373/0.9993, allocations: 363.5 kB / 0.8816 GB, free: 142.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.9993, allocations: 5.062 kB / 0.8816 GB, free: 142.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.9994, allocations: 27.53 kB / 0.8816 GB, free: 142.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.9994, allocations: 1.312 kB / 0.8816 GB, free: 142.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.9994, allocations: 7.625 kB / 0.8816 GB, free: 142.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.9995, allocations: 2.281 kB / 0.8816 GB, free: 142.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.9995, allocations: 0 / 0.8816 GB, free: 142.5 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005513/1, allocations: 301.6 kB / 0.8819 GB, free: 142.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/1, allocations: 122.4 kB / 0.882 GB, free: 142.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.666e-05/1, allocations: 12.64 kB / 0.882 GB, free: 142.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002509/1.001, allocations: 12.95 kB / 0.882 GB, free: 142.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/1.001, allocations: 12.02 kB / 0.8821 GB, free: 142.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.657e-05/1.001, allocations: 12.7 kB / 0.8821 GB, free: 142.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.000307/1.001, allocations: 286.5 kB / 0.8823 GB, free: 142.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001418/1.002, allocations: 473.6 kB / 0.8828 GB, free: 141.9 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,p_table.b,p_table.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001385/1.004, allocations: 0.4996 MB / 0.8833 GB, free: 141.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008074/1.005, allocations: 0.5188 MB / 0.8838 GB, free: 141.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/1.005, allocations: 0 / 0.8838 GB, free: 141.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001559/1.005, allocations: 150.8 kB / 0.8839 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007058/1.005, allocations: 144.9 kB / 0.8841 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/1.007, allocations: 0.5288 MB / 0.8846 GB, free: 141.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005157/1.007, allocations: 0.901 MB / 0.8855 GB, free: 140.4 MB / 0.4948 GB Notification: Performance of SimCode: time 2.71e-07/1.007, allocations: 0 / 0.8855 GB, free: 140.4 MB / 0.4948 GB Notification: Performance of Templates: time 0.02373/1.031, allocations: 12.1 MB / 0.8973 GB, free: 135.3 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Pipes/StaticPipe/StaticPipe.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches