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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001192/0.001192, allocations: 201 kB / 18.11 MB, free: 3.617 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 226.5 MB / 245.4 MB, free: 6.457 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001257/0.001257, allocations: 101.4 kB / 297.5 MB, free: 6.664 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4401/0.4401, allocations: 44.81 MB / 394.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002874/0.0002874, allocations: 12 kB / 467.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4193/0.4196, allocations: 62.95 MB / 0.5184 GB, free: 37.64 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6979/1.118, allocations: 318.5 MB / 0.8295 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/1.118, allocations: 98.83 kB / 0.8296 GB, free: 468 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6223/1.74, allocations: 99.34 MB / 0.9266 GB, free: 151.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.236e-06/1.74, allocations: 0 / 0.9266 GB, free: 151.8 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.073e-05/1.74, allocations: 11.78 kB / 0.9266 GB, free: 151.8 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.00276/1.743, allocations: 0.8935 MB / 0.9274 GB, free: 151.1 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/1.743, allocations: 7.844 kB / 0.9275 GB, free: 151.1 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000462/1.744, allocations: 70.31 kB / 0.9275 GB, free: 151.1 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/1.745, allocations: 468 kB / 0.928 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.581e-05/1.745, allocations: 20.31 kB / 0.928 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.872e-05/1.745, allocations: 31.38 kB / 0.928 GB, free: 150.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009615/1.746, allocations: 0.5297 MB / 0.9285 GB, free: 150.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.328e-05/1.746, allocations: 7.844 kB / 0.9285 GB, free: 150.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.891e-05/1.746, allocations: 15.88 kB / 0.9286 GB, free: 150.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.117e-05/1.746, allocations: 28 kB / 0.9286 GB, free: 150.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000768/1.747, allocations: 462.3 kB / 0.929 GB, free: 150.3 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003148/1.75, allocations: 2.221 MB / 0.9312 GB, free: 148.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003654/1.751, allocations: 234.6 kB / 0.9314 GB, free: 148.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002138/1.751, allocations: 134.4 kB / 0.9315 GB, free: 148.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001096/1.752, allocations: 0.9954 MB / 0.9325 GB, free: 147.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000252/1.752, allocations: 224 kB / 0.9327 GB, free: 147.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 1.734e-06/1.752, allocations: 0 / 0.9327 GB, free: 147.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.0006395/1.753, allocations: 382.9 kB / 0.9331 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.291e-05/1.753, allocations: 243.2 kB / 0.9333 GB, free: 147 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005351/1.753, allocations: 0.5178 MB / 0.9338 GB, free: 146.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.257e-05/1.753, allocations: 33.64 kB / 0.9339 GB, free: 146.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/1.754, allocations: 287.3 kB / 0.9341 GB, free: 146.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.914e-05/1.754, allocations: 56.8 kB / 0.9342 GB, free: 146.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.865e-05/1.754, allocations: 8 kB / 0.9342 GB, free: 146.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.864e-05/1.754, allocations: 356.9 kB / 0.9345 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/1.754, allocations: 119.9 kB / 0.9347 GB, free: 146 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002615/1.754, allocations: 298.5 kB / 0.9349 GB, free: 145.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004585/1.755, allocations: 437.5 kB / 0.9354 GB, free: 145.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/1.755, allocations: 3.875 kB / 0.9354 GB, free: 145.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007179/1.755, allocations: 0.5047 MB / 0.9359 GB, free: 145.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001297/1.756, allocations: 249.3 kB / 0.9361 GB, free: 144.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/1.756, allocations: 7.906 kB / 0.9361 GB, free: 144.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/1.756, allocations: 7.812 kB / 0.9361 GB, free: 144.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000279/1.756, allocations: 72.02 kB / 0.9362 GB, free: 144.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/1.756, allocations: 11.53 kB / 0.9362 GB, free: 144.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000439/1.756, allocations: 61.64 kB / 0.9362 GB, free: 144.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-05/1.756, allocations: 26.19 kB / 0.9363 GB, free: 144.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.666e-06/1.756, allocations: 3.625 kB / 0.9363 GB, free: 144.8 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006068/1.757, allocations: 465.5 kB / 0.9367 GB, free: 144.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/1.757, allocations: 7.969 kB / 0.9367 GB, free: 144.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.953e-06/1.757, allocations: 6.656 kB / 0.9367 GB, free: 144.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002429/1.757, allocations: 75.5 kB / 0.9368 GB, free: 144.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/1.757, allocations: 10.62 kB / 0.9368 GB, free: 144.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003826/1.758, allocations: 52.17 kB / 0.9369 GB, free: 144.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.973e-05/1.758, allocations: 17.62 kB / 0.9369 GB, free: 144.6 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.0002689/1.758, allocations: 309.1 kB / 0.9372 GB, free: 144.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.502e-05/1.758, allocations: 48.16 kB / 0.9372 GB, free: 144.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005552/1.759, allocations: 372.2 kB / 0.9376 GB, free: 144.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/1.759, allocations: 3.594 kB / 0.9376 GB, free: 144.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/1.759, allocations: 0 / 0.9376 GB, free: 144.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/1.759, allocations: 7.875 kB / 0.9376 GB, free: 144.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004134/1.759, allocations: 415.2 kB / 0.938 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/1.759, allocations: 4 kB / 0.938 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/1.759, allocations: 25.33 kB / 0.938 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.788e-06/1.759, allocations: 0 / 0.938 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/1.759, allocations: 7.562 kB / 0.938 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/1.759, allocations: 4.062 kB / 0.938 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.759, allocations: 0 / 0.938 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000448/1.76, allocations: 369.5 kB / 0.9384 GB, free: 143.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/1.76, allocations: 136.7 kB / 0.9385 GB, free: 143.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.156e-05/1.76, allocations: 11.81 kB / 0.9385 GB, free: 143.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002543/1.76, allocations: 18.19 kB / 0.9385 GB, free: 143.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.194e-05/1.76, allocations: 11.12 kB / 0.9385 GB, free: 143.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.662e-05/1.76, allocations: 10.97 kB / 0.9386 GB, free: 143.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000393/1.761, allocations: 368.3 kB / 0.9389 GB, free: 143.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/1.761, allocations: 0 / 0.9389 GB, free: 143.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001617/1.762, allocations: 485.5 kB / 0.9394 GB, free: 143.2 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.001857/1.764, allocations: 0.5243 MB / 0.9399 GB, free: 143 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008825/1.765, allocations: 0.6405 MB / 0.9405 GB, free: 142.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/1.765, allocations: 0 / 0.9405 GB, free: 142.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001587/1.765, allocations: 180.9 kB / 0.9407 GB, free: 142.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009505/1.766, allocations: 186.2 kB / 0.9409 GB, free: 142.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/1.768, allocations: 0.96 MB / 0.9418 GB, free: 141.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/1.768, allocations: 0.8454 MB / 0.9426 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0005819/1.769, allocations: 162.5 kB / 0.9428 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/1.769, allocations: 43.83 kB / 0.9428 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of SimCode: time 4.01e-07/1.769, allocations: 0 / 0.9428 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.02459/1.793, allocations: 12.28 MB / 0.9548 GB, free: 137.3 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/jenkins1/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