Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_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_trunk_cpp_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001033/0.001033, allocations: 197.5 kB / 16.78 MB, free: 5.031 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 226.5 MB / 244.1 MB, free: 6.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001049/0.001049, allocations: 106.1 kB / 296.1 MB, free: 6.703 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4018/0.4018, allocations: 44.82 MB / 392.9 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002944/0.0002945, allocations: 4 kB / 465.9 MB, free: 12.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3623, allocations: 62.95 MB / 0.5165 GB, free: 37.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5537/0.9161, allocations: 318.5 MB / 0.8275 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/0.9164, allocations: 92.83 kB / 0.8276 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5005/1.417, allocations: 99.34 MB / 0.9246 GB, free: 151.4 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.593e-06/1.417, allocations: 0 / 0.9246 GB, free: 151.4 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.436e-05/1.417, allocations: 19.34 kB / 0.9246 GB, free: 151.4 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.002434/1.419, allocations: 0.8855 MB / 0.9255 GB, free: 150.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/1.419, allocations: 15.66 kB / 0.9255 GB, free: 150.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004502/1.42, allocations: 62.19 kB / 0.9256 GB, free: 150.7 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/1.421, allocations: 465.8 kB / 0.926 GB, free: 150.4 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.792e-05/1.421, allocations: 28.16 kB / 0.926 GB, free: 150.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.903e-05/1.421, allocations: 27.28 kB / 0.9261 GB, free: 150.4 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000875/1.422, allocations: 0.5283 MB / 0.9266 GB, free: 150.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/1.422, allocations: 0 / 0.9266 GB, free: 150.1 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.387e-05/1.422, allocations: 19.5 kB / 0.9266 GB, free: 150.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.636e-05/1.422, allocations: 26.98 kB / 0.9266 GB, free: 150.1 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007171/1.423, allocations: 453.7 kB / 0.9271 GB, free: 149.9 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003044/1.426, allocations: 2.232 MB / 0.9292 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003809/1.426, allocations: 236.6 kB / 0.9295 GB, free: 148.1 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000218/1.427, allocations: 128.8 kB / 0.9296 GB, free: 148.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001098/1.428, allocations: 1.006 MB / 0.9306 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002744/1.428, allocations: 214.5 kB / 0.9308 GB, free: 147 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 3.055e-06/1.428, allocations: 3.938 kB / 0.9308 GB, free: 147 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.0006857/1.429, allocations: 384.2 kB / 0.9312 GB, free: 146.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.279e-05/1.429, allocations: 243 kB / 0.9314 GB, free: 146.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005563/1.429, allocations: 0.5201 MB / 0.9319 GB, free: 146.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.535e-05/1.429, allocations: 29.7 kB / 0.9319 GB, free: 146.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/1.43, allocations: 280.8 kB / 0.9322 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.591e-05/1.43, allocations: 57.75 kB / 0.9322 GB, free: 146 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-05/1.43, allocations: 15.88 kB / 0.9323 GB, free: 146 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001046/1.43, allocations: 356.8 kB / 0.9326 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001949/1.43, allocations: 121.6 kB / 0.9327 GB, free: 145.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002677/1.43, allocations: 292.9 kB / 0.933 GB, free: 145.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004263/1.431, allocations: 435.5 kB / 0.9334 GB, free: 145 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/1.431, allocations: 4 kB / 0.9334 GB, free: 145 MB / 0.5261 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006861/1.431, allocations: 0.5067 MB / 0.9339 GB, free: 144.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001107/1.431, allocations: 245 kB / 0.9341 GB, free: 144.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/1.431, allocations: 10.19 kB / 0.9342 GB, free: 144.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/1.432, allocations: 4.969 kB / 0.9342 GB, free: 144.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002952/1.432, allocations: 77.97 kB / 0.9342 GB, free: 144.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/1.432, allocations: 10.81 kB / 0.9342 GB, free: 144.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004377/1.432, allocations: 62.66 kB / 0.9343 GB, free: 144.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.383e-05/1.432, allocations: 25.73 kB / 0.9343 GB, free: 144.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.463e-06/1.432, allocations: 7.125 kB / 0.9343 GB, free: 144.4 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006267/1.433, allocations: 460 kB / 0.9348 GB, free: 144.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/1.433, allocations: 8.328 kB / 0.9348 GB, free: 144.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.502e-06/1.433, allocations: 11.78 kB / 0.9348 GB, free: 144.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002436/1.433, allocations: 70.44 kB / 0.9349 GB, free: 144.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/1.433, allocations: 11.81 kB / 0.9349 GB, free: 144.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003064/1.434, allocations: 50.89 kB / 0.9349 GB, free: 144.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.383e-05/1.434, allocations: 19.52 kB / 0.9349 GB, free: 144.2 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 () * Number of clocked 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.0002583/1.434, allocations: 303.2 kB / 0.9352 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.536e-05/1.434, allocations: 53.5 kB / 0.9353 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005621/1.435, allocations: 374.8 kB / 0.9356 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/1.435, allocations: 0 / 0.9356 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/1.435, allocations: 3.844 kB / 0.9356 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/1.435, allocations: 0 / 0.9356 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003774/1.435, allocations: 416.5 kB / 0.936 GB, free: 143.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/1.435, allocations: 0 / 0.936 GB, free: 143.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/1.435, allocations: 26.17 kB / 0.9361 GB, free: 143.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/1.435, allocations: 4 kB / 0.9361 GB, free: 143.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/1.435, allocations: 3.938 kB / 0.9361 GB, free: 143.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/1.435, allocations: 3.844 kB / 0.9361 GB, free: 143.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.435, allocations: 0 / 0.9361 GB, free: 143.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004167/1.436, allocations: 364.6 kB / 0.9364 GB, free: 143.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/1.436, allocations: 137.6 kB / 0.9365 GB, free: 143.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.213e-05/1.436, allocations: 7.906 kB / 0.9366 GB, free: 143.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/1.436, allocations: 22.52 kB / 0.9366 GB, free: 143.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.941e-05/1.436, allocations: 11.47 kB / 0.9366 GB, free: 143.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/1.436, allocations: 11.28 kB / 0.9366 GB, free: 143.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003491/1.436, allocations: 370.3 kB / 0.937 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/1.436, allocations: 0 / 0.937 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001342/1.438, allocations: 482.9 kB / 0.9374 GB, free: 142.8 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) * Number of clocked states: 0 () * 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.001105/1.439, allocations: 0.5333 MB / 0.9379 GB, free: 142.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008133/1.44, allocations: 0.6405 MB / 0.9386 GB, free: 142.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.44, allocations: 0 / 0.9386 GB, free: 142.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001507/1.44, allocations: 178.8 kB / 0.9387 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001197/1.441, allocations: 195.2 kB / 0.9389 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/1.442, allocations: 0.9925 MB / 0.9399 GB, free: 141.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/1.443, allocations: 0.8478 MB / 0.9407 GB, free: 140.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/1.443, allocations: 40.22 kB / 0.9408 GB, free: 140.8 MB / 0.5261 GB Notification: Performance of SimCode: time 4.2e-07/1.443, allocations: 0 / 0.9408 GB, free: 140.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.01454/1.457, allocations: 10.38 MB / 0.9509 GB, free: 137.9 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Pipes/StaticPipe/StaticPipe.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches