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.001062/0.001062, allocations: 198.4 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.306/1.306, allocations: 227.2 MB / 245 MB, free: 5.746 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009761/0.0009761, allocations: 94.94 kB / 297.3 MB, free: 5.953 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4251/0.4251, allocations: 45.23 MB / 394.7 MB, free: 31.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003146/0.0003146, allocations: 8 kB / 468.4 MB, free: 7.703 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3474, allocations: 63.25 MB / 0.5192 GB, free: 37.32 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6372/0.9847, allocations: 318.6 MB / 0.8303 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002632/0.985, allocations: 93.36 kB / 0.8304 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.5513/1.536, allocations: 99.86 MB / 0.9279 GB, free: 152.1 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.536e-06/1.536, allocations: 0 / 0.9279 GB, free: 152.1 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.467e-05/1.536, allocations: 7.219 kB / 0.9279 GB, free: 152.1 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.003065/1.54, allocations: 0.8973 MB / 0.9288 GB, free: 151.4 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/1.54, allocations: 15.22 kB / 0.9288 GB, free: 151.4 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003176/1.54, allocations: 54.28 kB / 0.9288 GB, free: 151.4 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008798/1.541, allocations: 475.8 kB / 0.9293 GB, free: 151 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.143e-05/1.541, allocations: 19.56 kB / 0.9293 GB, free: 151 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.534e-05/1.541, allocations: 31.03 kB / 0.9293 GB, free: 151 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007274/1.542, allocations: 0.5177 MB / 0.9299 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/1.542, allocations: 7.875 kB / 0.9299 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.822e-05/1.542, allocations: 15.88 kB / 0.9299 GB, free: 150.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.336e-05/1.542, allocations: 28.3 kB / 0.9299 GB, free: 150.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005882/1.542, allocations: 456.2 kB / 0.9303 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00287/1.545, allocations: 2.261 MB / 0.9325 GB, free: 148.9 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003659/1.546, allocations: 225.5 kB / 0.9328 GB, free: 148.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001097/1.547, allocations: 1.009 MB / 0.9337 GB, free: 147.9 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003145/1.547, allocations: 216.8 kB / 0.934 GB, free: 147.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 3.246e-06/1.547, allocations: 4 kB / 0.934 GB, free: 147.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.0007096/1.548, allocations: 466.5 kB / 0.9344 GB, free: 147.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.113e-05/1.548, allocations: 235.3 kB / 0.9346 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00048/1.548, allocations: 474.3 kB / 0.9351 GB, free: 147 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/1.548, allocations: 33.42 kB / 0.9351 GB, free: 146.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001864/1.549, allocations: 278.7 kB / 0.9354 GB, free: 146.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.259e-05/1.549, allocations: 64.89 kB / 0.9354 GB, free: 146.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.919e-05/1.549, allocations: 4 kB / 0.9354 GB, free: 146.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001185/1.549, allocations: 361.2 kB / 0.9358 GB, free: 146.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001813/1.549, allocations: 122.2 kB / 0.9359 GB, free: 146.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002792/1.549, allocations: 292.1 kB / 0.9362 GB, free: 146 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002504/1.55, allocations: 209.3 kB / 0.9364 GB, free: 145.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/1.55, allocations: 4 kB / 0.9364 GB, free: 145.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006915/1.55, allocations: 0.4952 MB / 0.9369 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000511/1.551, allocations: 1.689 MB / 0.9385 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/1.551, allocations: 9.781 kB / 0.9385 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.553e-05/1.551, allocations: 6.531 kB / 0.9385 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003053/1.551, allocations: 76.64 kB / 0.9386 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.501e-05/1.551, allocations: 6.844 kB / 0.9386 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004026/1.552, allocations: 67.69 kB / 0.9387 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-05/1.552, allocations: 20.44 kB / 0.9387 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.125e-06/1.552, allocations: 7.188 kB / 0.9387 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006427/1.552, allocations: 463.7 kB / 0.9391 GB, free: 143.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/1.552, allocations: 6.188 kB / 0.9392 GB, free: 143.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.052e-06/1.552, allocations: 6.438 kB / 0.9392 GB, free: 143.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/1.553, allocations: 77.08 kB / 0.9392 GB, free: 143.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/1.553, allocations: 12.56 kB / 0.9392 GB, free: 143.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003161/1.553, allocations: 52.62 kB / 0.9393 GB, free: 143.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.599e-05/1.553, allocations: 23.67 kB / 0.9393 GB, free: 143.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.0002472/1.553, allocations: 300.6 kB / 0.9396 GB, free: 143.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.947e-05/1.553, allocations: 53.39 kB / 0.9397 GB, free: 143.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005424/1.554, allocations: 370 kB / 0.94 GB, free: 143.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/1.554, allocations: 3.875 kB / 0.94 GB, free: 143.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/1.554, allocations: 3.953 kB / 0.94 GB, free: 143.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.8e-06/1.554, allocations: 3.797 kB / 0.94 GB, free: 143.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003792/1.554, allocations: 414.4 kB / 0.9404 GB, free: 142.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/1.554, allocations: 0 / 0.9404 GB, free: 142.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/1.554, allocations: 23 kB / 0.9404 GB, free: 142.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/1.554, allocations: 2.188 kB / 0.9404 GB, free: 142.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/1.554, allocations: 7.531 kB / 0.9404 GB, free: 142.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/1.554, allocations: 0 / 0.9404 GB, free: 142.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/1.554, allocations: 4 kB / 0.9405 GB, free: 142.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004275/1.555, allocations: 368.2 kB / 0.9408 GB, free: 142.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/1.555, allocations: 138.3 kB / 0.9409 GB, free: 142.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.353e-05/1.555, allocations: 7.688 kB / 0.9409 GB, free: 142.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000253/1.555, allocations: 18.34 kB / 0.941 GB, free: 142.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/1.555, allocations: 18.98 kB / 0.941 GB, free: 142.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.162e-05/1.555, allocations: 10.34 kB / 0.941 GB, free: 142.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003398/1.556, allocations: 373.1 kB / 0.9413 GB, free: 142.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/1.556, allocations: 0 / 0.9413 GB, free: 142.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001492/1.557, allocations: 485.2 kB / 0.9418 GB, free: 142.1 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.001026/1.558, allocations: 0.5172 MB / 0.9423 GB, free: 141.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007412/1.559, allocations: 0.6348 MB / 0.9429 GB, free: 141.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.559, allocations: 4.062 kB / 0.9429 GB, free: 141.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001506/1.559, allocations: 178.7 kB / 0.9431 GB, free: 141.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007878/1.56, allocations: 181.2 kB / 0.9433 GB, free: 141.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/1.561, allocations: 0.9557 MB / 0.9442 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/1.561, allocations: 0.8516 MB / 0.945 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004363/1.562, allocations: 160.5 kB / 0.9452 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.466e-05/1.562, allocations: 38.5 kB / 0.9452 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of SimCode: time 9.32e-07/1.562, allocations: 0 / 0.9452 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.01693/1.579, allocations: 11.84 MB / 0.9568 GB, free: 133 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