Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_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 trunk/package.mo): time 0.001781/0.001781, allocations: 204 kB / 8.54 MB, free: 1.75 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 225.5 MB / 234.4 MB, free: 3.363 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001208/0.001208, allocations: 93.09 kB / 286.3 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2444/0.2444, allocations: 45.14 MB / 383.3 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.293e-06/7.313e-06, allocations: 0 / 452.6 MB, free: 76.16 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1465, allocations: 63.24 MB / 0.5038 GB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.002/1.149, allocations: 317.7 MB / 0.8141 GB, free: 156.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/1.149, allocations: 83.75 kB / 0.8142 GB, free: 156.6 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.2128/1.362, allocations: 99.03 MB / 0.9109 GB, free: 56.63 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.422e-05/1.362, allocations: 15.98 kB / 0.9109 GB, free: 56.61 MB / 0.5261 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.001722/1.363, allocations: 0.8356 MB / 0.9117 GB, free: 55.73 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/1.364, allocations: 8.031 kB / 0.9117 GB, free: 55.72 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002575/1.364, allocations: 63.34 kB / 0.9118 GB, free: 55.66 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008306/1.365, allocations: 467.9 kB / 0.9122 GB, free: 55.16 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/1.365, allocations: 11.98 kB / 0.9122 GB, free: 55.15 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.008e-05/1.365, allocations: 20 kB / 0.9122 GB, free: 55.13 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005665/1.365, allocations: 397.2 kB / 0.9126 GB, free: 54.74 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006112/1.366, allocations: 499 kB / 0.9131 GB, free: 54.21 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/1.366, allocations: 0 / 0.9131 GB, free: 54.21 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.32e-05/1.366, allocations: 0 / 0.9131 GB, free: 54.21 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.016e-05/1.366, allocations: 36.64 kB / 0.9131 GB, free: 54.18 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002707/1.369, allocations: 2.194 MB / 0.9153 GB, free: 51.86 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002988/1.369, allocations: 222.7 kB / 0.9155 GB, free: 51.63 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/1.369, allocations: 124.8 kB / 0.9156 GB, free: 51.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009849/1.37, allocations: 1.037 MB / 0.9166 GB, free: 50.35 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002247/1.37, allocations: 204.5 kB / 0.9168 GB, free: 50.12 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 1.703e-06/1.371, allocations: 0 / 0.9168 GB, free: 50.12 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.0006526/1.371, allocations: 252.5 kB / 0.9171 GB, free: 49.87 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.548e-05/1.371, allocations: 243.3 kB / 0.9173 GB, free: 49.57 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003527/1.372, allocations: 377 kB / 0.9176 GB, free: 49.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/1.372, allocations: 25.7 kB / 0.9177 GB, free: 49.17 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/1.372, allocations: 247.2 kB / 0.9179 GB, free: 48.93 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.259e-05/1.372, allocations: 59.2 kB / 0.918 GB, free: 48.87 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.822e-05/1.372, allocations: 0 / 0.918 GB, free: 48.87 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.256e-05/1.372, allocations: 350.8 kB / 0.9183 GB, free: 48.52 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/1.372, allocations: 120.4 kB / 0.9184 GB, free: 48.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000264/1.372, allocations: 280.7 kB / 0.9187 GB, free: 48.05 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/1.374, allocations: 381.3 kB / 0.919 GB, free: 47.68 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/1.374, allocations: 0 / 0.919 GB, free: 47.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001456/1.375, allocations: 0.6166 MB / 0.9196 GB, free: 47.05 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003554/1.375, allocations: 1.654 MB / 0.9213 GB, free: 45.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/1.375, allocations: 7.938 kB / 0.9213 GB, free: 45.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/1.375, allocations: 7.984 kB / 0.9213 GB, free: 45.26 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002952/1.376, allocations: 79.84 kB / 0.9214 GB, free: 45.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/1.376, allocations: 8 kB / 0.9214 GB, free: 45.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003834/1.376, allocations: 47.52 kB / 0.9214 GB, free: 45.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.891e-05/1.376, allocations: 19.98 kB / 0.9214 GB, free: 45.11 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.191e-06/1.376, allocations: 4 kB / 0.9214 GB, free: 45.1 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001261/1.377, allocations: 0.5225 MB / 0.9219 GB, free: 44.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/1.377, allocations: 4 kB / 0.9219 GB, free: 44.57 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.791e-06/1.378, allocations: 4 kB / 0.9219 GB, free: 44.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002518/1.378, allocations: 75.89 kB / 0.922 GB, free: 44.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/1.378, allocations: 11.88 kB / 0.922 GB, free: 44.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003073/1.378, allocations: 36.3 kB / 0.9221 GB, free: 44.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.238e-05/1.378, allocations: 20 kB / 0.9221 GB, free: 44.43 MB / 0.5261 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.000144/1.378, allocations: 156.9 kB / 0.9222 GB, free: 44.27 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.462e-05/1.378, allocations: 43.44 kB / 0.9223 GB, free: 44.22 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006322/1.379, allocations: 300.9 kB / 0.9226 GB, free: 43.93 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/1.379, allocations: 0 / 0.9226 GB, free: 43.93 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/1.379, allocations: 0 / 0.9226 GB, free: 43.93 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/1.379, allocations: 11.83 kB / 0.9226 GB, free: 43.91 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003498/1.379, allocations: 365.8 kB / 0.9229 GB, free: 43.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/1.379, allocations: 64 / 0.9229 GB, free: 43.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/1.38, allocations: 31.98 kB / 0.923 GB, free: 43.49 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/1.38, allocations: 0 / 0.923 GB, free: 43.49 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/1.38, allocations: 4 kB / 0.923 GB, free: 43.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/1.38, allocations: 4 kB / 0.923 GB, free: 43.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.38, allocations: 0 / 0.923 GB, free: 43.48 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004669/1.38, allocations: 295.7 kB / 0.9232 GB, free: 43.18 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 9.376e-05/1.38, allocations: 128.5 kB / 0.9234 GB, free: 43.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.612e-05/1.38, allocations: 8 kB / 0.9234 GB, free: 43.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002536/1.38, allocations: 19.98 kB / 0.9234 GB, free: 43 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.769e-05/1.381, allocations: 7.984 kB / 0.9234 GB, free: 43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-05/1.381, allocations: 19.92 kB / 0.9234 GB, free: 42.98 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0002591/1.381, allocations: 283.2 kB / 0.9237 GB, free: 42.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001355/1.382, allocations: 479.1 kB / 0.9241 GB, free: 42.23 MB / 0.5261 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.001088/1.383, allocations: 0.5131 MB / 0.9246 GB, free: 41.71 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006987/1.384, allocations: 0.5145 MB / 0.9252 GB, free: 41.18 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.384, allocations: 0.75 kB / 0.9252 GB, free: 41.18 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001433/1.384, allocations: 145.6 kB / 0.9253 GB, free: 41.04 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007092/1.385, allocations: 148.5 kB / 0.9254 GB, free: 40.89 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/1.386, allocations: 0.5171 MB / 0.9259 GB, free: 40.36 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003814/1.386, allocations: 0.8977 MB / 0.9268 GB, free: 39.43 MB / 0.5261 GB Notification: Performance of SimCode: time 2.51e-07/1.386, allocations: 0 / 0.9268 GB, free: 39.43 MB / 0.5261 GB Notification: Performance of Templates: time 0.02119/1.408, allocations: 12.13 MB / 0.9387 GB, free: 27.37 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Pipes/StaticPipe/StaticPipe.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches