Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.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.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_cpp_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_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00249/0.00249, allocations: 171.1 kB / 8.148 MB, free: 2.215 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.664/1.664, 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.00125/0.00125, allocations: 84.05 kB / 261.8 MB, free: 13.63 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.2581/0.2581, allocations: 43.49 MB / 353.2 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.115e-06/8.476e-06, allocations: 0 / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2791, allocations: 58.84 MB / 476.6 MB, free: 5.09 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.638/0.9172, allocations: 315.9 MB / 0.7739 GB, free: 20.54 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/0.9175, allocations: 86.27 kB / 0.774 GB, free: 20.5 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.5533/1.471, allocations: 96.99 MB / 0.8687 GB, free: 151.6 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.906e-05/1.471, allocations: 13.12 kB / 0.8687 GB, free: 151.6 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.002264/1.473, allocations: 0.8255 MB / 0.8695 GB, free: 151 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/1.473, allocations: 9.25 kB / 0.8695 GB, free: 151 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004625/1.474, allocations: 62.91 kB / 0.8696 GB, free: 151 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/1.475, allocations: 463.2 kB / 0.87 GB, free: 150.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.321e-05/1.475, allocations: 13.92 kB / 0.87 GB, free: 150.7 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.364e-05/1.475, allocations: 16.91 kB / 0.8701 GB, free: 150.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001102/1.477, allocations: 409.1 kB / 0.8704 GB, free: 150.5 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/1.478, allocations: 484.1 kB / 0.8709 GB, free: 150.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/1.478, allocations: 4.875 kB / 0.8709 GB, free: 150.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.335e-05/1.478, allocations: 2.469 kB / 0.8709 GB, free: 150.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.65e-05/1.478, allocations: 31.97 kB / 0.8709 GB, free: 150.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004906/1.483, allocations: 2.187 MB / 0.8731 GB, free: 148.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005699/1.483, allocations: 218.9 kB / 0.8733 GB, free: 148.6 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003162/1.484, allocations: 128.2 kB / 0.8734 GB, free: 148.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001762/1.486, allocations: 1.042 MB / 0.8744 GB, free: 147.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003581/1.486, allocations: 206.5 kB / 0.8746 GB, free: 147.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 2.876e-06/1.486, allocations: 0 / 0.8746 GB, free: 147.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.001067/1.487, allocations: 249.5 kB / 0.8749 GB, free: 147.4 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.889e-05/1.487, allocations: 243.6 kB / 0.8751 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006778/1.488, allocations: 372.4 kB / 0.8754 GB, free: 146.9 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.108e-05/1.488, allocations: 27.05 kB / 0.8755 GB, free: 146.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/1.488, allocations: 291.9 kB / 0.8758 GB, free: 146.6 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.65e-05/1.488, allocations: 52 kB / 0.8758 GB, free: 146.6 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/1.488, allocations: 0 / 0.8758 GB, free: 146.6 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.747e-05/1.488, allocations: 334.2 kB / 0.8761 GB, free: 146.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003358/1.489, allocations: 115.8 kB / 0.8762 GB, free: 146.2 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004308/1.489, allocations: 291.2 kB / 0.8765 GB, free: 146 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005726/1.495, allocations: 0.6479 MB / 0.8771 GB, free: 145.9 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.274e-05/1.495, allocations: 2.062 kB / 0.8771 GB, free: 145.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.006673/1.502, allocations: 0.8778 MB / 0.878 GB, free: 145.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003305/1.502, allocations: 1.655 MB / 0.8796 GB, free: 143.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/1.502, allocations: 4.688 kB / 0.8796 GB, free: 143.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.987e-05/1.502, allocations: 8.25 kB / 0.8796 GB, free: 143.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006736/1.503, allocations: 79.08 kB / 0.8797 GB, free: 143.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/1.503, allocations: 12.98 kB / 0.8797 GB, free: 143.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005858/1.503, allocations: 38.48 kB / 0.8798 GB, free: 143.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.407e-05/1.503, allocations: 21.55 kB / 0.8798 GB, free: 143.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/1.503, allocations: 3.312 kB / 0.8798 GB, free: 143.9 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006336/1.51, allocations: 0.7901 MB / 0.8806 GB, free: 143.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/1.51, allocations: 8.297 kB / 0.8806 GB, free: 143.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/1.51, allocations: 11.81 kB / 0.8806 GB, free: 143.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006018/1.51, allocations: 77.53 kB / 0.8806 GB, free: 143.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/1.511, allocations: 7.609 kB / 0.8807 GB, free: 143.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005851/1.511, allocations: 32.48 kB / 0.8807 GB, free: 143.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.373e-05/1.511, allocations: 20.67 kB / 0.8807 GB, free: 143.7 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.0002241/1.511, allocations: 86.97 kB / 0.8808 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002124/1.512, allocations: 46.78 kB / 0.8808 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001226/1.513, allocations: 287.5 kB / 0.8811 GB, free: 143.5 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/1.513, allocations: 6.75 kB / 0.8811 GB, free: 143.4 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/1.513, allocations: 0 / 0.8811 GB, free: 143.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.146e-06/1.513, allocations: 5.312 kB / 0.8811 GB, free: 143.4 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007811/1.514, allocations: 377.8 kB / 0.8815 GB, free: 143.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/1.514, allocations: 0 / 0.8815 GB, free: 143.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002536/1.514, allocations: 28.06 kB / 0.8815 GB, free: 143.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-06/1.514, allocations: 1.594 kB / 0.8815 GB, free: 143.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.527e-05/1.514, allocations: 7.609 kB / 0.8815 GB, free: 143.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/1.514, allocations: 0.9062 kB / 0.8815 GB, free: 143.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/1.514, allocations: 1.609 kB / 0.8815 GB, free: 143.2 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001042/1.515, allocations: 297.7 kB / 0.8818 GB, free: 143 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002008/1.515, allocations: 131 kB / 0.8819 GB, free: 142.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/1.516, allocations: 3.984 kB / 0.8819 GB, free: 142.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005332/1.516, allocations: 13.19 kB / 0.8819 GB, free: 142.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.991e-05/1.516, allocations: 20.36 kB / 0.882 GB, free: 142.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.927e-05/1.516, allocations: 8.969 kB / 0.882 GB, free: 142.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0005518/1.517, allocations: 293 kB / 0.8822 GB, free: 142.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002138/1.519, allocations: 471 kB / 0.8827 GB, free: 142.6 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.001829/1.521, allocations: 0.5014 MB / 0.8832 GB, free: 142.4 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001451/1.522, allocations: 0.5105 MB / 0.8837 GB, free: 142.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/1.522, allocations: 0 / 0.8837 GB, free: 142.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002791/1.523, allocations: 145.9 kB / 0.8838 GB, free: 142.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001436/1.524, allocations: 148 kB / 0.884 GB, free: 142.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/1.526, allocations: 0.5477 MB / 0.8845 GB, free: 141.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006669/1.527, allocations: 0.9004 MB / 0.8854 GB, free: 141.1 MB / 0.4948 GB Notification: Performance of SimCode: time 1.152e-06/1.527, allocations: 0 / 0.8854 GB, free: 141.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.0259/1.553, allocations: 9.886 MB / 0.895 GB, free: 137.8 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches