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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001053/0.001053, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001442/0.001442, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.027/1.027, allocations: 177 MB / 204.8 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3142/0.3142, allocations: 34.86 MB / 296.3 MB, free: 0.5469 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,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=10000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 378.8 MB, free: 2.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.956e-05/2.09e-05, allocations: 2.312 kB / 378.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.006873/0.006894, allocations: 6.585 MB / 385.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00609/0.01298, allocations: 4.756 MB / 390.1 MB, free: 6.695 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003715/0.01336, allocations: 23.75 kB / 390.1 MB, free: 6.672 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005288/0.01388, allocations: 142.9 kB / 390.3 MB, free: 6.531 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00154/0.01542, allocations: 0.6875 MB / 391 MB, free: 5.84 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002735/0.01816, allocations: 1.554 MB / 392.5 MB, free: 4.281 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001207/0.01937, allocations: 1.223 MB / 393.7 MB, free: 3.051 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004696/0.01984, allocations: 297.7 kB / 394 MB, free: 2.758 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007701/0.02061, allocations: 0.6195 MB / 394.6 MB, free: 2.137 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005343/0.02114, allocations: 462.7 kB / 395.1 MB, free: 1.684 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.768e-05/0.02121, allocations: 44 kB / 395.1 MB, free: 1.641 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001103/0.02231, allocations: 0.8424 MB / 396 MB, free: 0.7969 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001527/0.02246, allocations: 187.4 kB / 396.2 MB, free: 0.6133 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001819/0.02265, allocations: 191.5 kB / 396.3 MB, free: 436 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001347/0.02399, allocations: 1.207 MB / 397.6 MB, free: 15.21 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.024, allocations: 0 / 397.6 MB, free: 15.21 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.024, allocations: 0 / 397.6 MB, free: 15.21 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.02401, allocations: 0 / 397.6 MB, free: 15.21 MB / 378.7 MB 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.001538/0.02554, allocations: 0.9942 MB / 398.5 MB, free: 14.17 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.0256, allocations: 16.03 kB / 398.6 MB, free: 14.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002561/0.02585, allocations: 100.5 kB / 398.7 MB, free: 14.06 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005212/0.02637, allocations: 429.4 kB / 399.1 MB, free: 13.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.847e-05/0.02641, allocations: 20.66 kB / 399.1 MB, free: 13.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.51e-05/0.02646, allocations: 35.98 kB / 399.1 MB, free: 13.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006248/0.02708, allocations: 0.6304 MB / 399.8 MB, free: 12.81 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.0271, allocations: 8 kB / 399.8 MB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.398e-05/0.02713, allocations: 12 kB / 399.8 MB, free: 12.79 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.555e-05/0.02719, allocations: 32.62 kB / 399.8 MB, free: 12.76 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003554/0.02754, allocations: 241.3 kB / 400.1 MB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002132/0.02968, allocations: 2.029 MB / 402.1 MB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002711/0.02995, allocations: 156.7 kB / 402.2 MB, free: 10.24 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.03005, allocations: 85.36 kB / 402.3 MB, free: 10.15 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006955/0.03075, allocations: 0.57 MB / 402.9 MB, free: 9.559 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003197/0.03107, allocations: 321 kB / 403.2 MB, free: 9.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=18): time 2.885e-06/0.03107, allocations: 4 kB / 403.2 MB, free: 9.176 MB / 378.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005277/0.0316, allocations: 305.3 kB / 403.5 MB, free: 8.855 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/0.03172, allocations: 243.3 kB / 403.7 MB, free: 8.562 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003932/0.03212, allocations: 470.4 kB / 404.2 MB, free: 8.086 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.03214, allocations: 33.7 kB / 404.2 MB, free: 8.047 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/0.03232, allocations: 346.6 kB / 404.6 MB, free: 7.703 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.464e-05/0.03236, allocations: 59.52 kB / 404.6 MB, free: 7.645 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.03248, allocations: 103.3 kB / 404.7 MB, free: 7.535 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003453/0.03282, allocations: 0.5235 MB / 405.3 MB, free: 7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.03293, allocations: 89.84 kB / 405.3 MB, free: 6.902 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002608/0.03319, allocations: 486.7 kB / 405.8 MB, free: 6.277 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002897/0.03348, allocations: 377.8 kB / 406.2 MB, free: 5.812 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.03348, allocations: 0 / 406.2 MB, free: 5.812 MB / 378.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000444/0.03393, allocations: 421 kB / 406.6 MB, free: 5.383 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.852e-05/0.03397, allocations: 41.69 kB / 406.6 MB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.03397, allocations: 4 kB / 406.6 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/0.034, allocations: 11.94 kB / 406.7 MB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.03418, allocations: 79.84 kB / 406.7 MB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.03419, allocations: 8.578 kB / 406.7 MB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001666/0.03436, allocations: 51.67 kB / 406.8 MB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.982e-05/0.03439, allocations: 20 kB / 406.8 MB, free: 5.164 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000157/0.03454, allocations: 213 kB / 407 MB, free: 4.945 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002503/0.03479, allocations: 498.3 kB / 407.5 MB, free: 4.297 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002749/0.03507, allocations: 395.4 kB / 407.9 MB, free: 3.812 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.373e-06/0.03507, allocations: 4 kB / 407.9 MB, free: 3.809 MB / 378.7 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0004283/0.0355, allocations: 416.9 kB / 408.3 MB, free: 3.383 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.03552, allocations: 41.69 kB / 408.3 MB, free: 3.336 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.03553, allocations: 11.94 kB / 408.4 MB, free: 3.324 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.733e-06/0.03553, allocations: 8 kB / 408.4 MB, free: 3.316 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.03568, allocations: 83.78 kB / 408.4 MB, free: 3.234 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.03569, allocations: 8 kB / 408.5 MB, free: 3.227 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/0.03586, allocations: 39.77 kB / 408.5 MB, free: 3.188 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.103e-05/0.03588, allocations: 20 kB / 408.5 MB, free: 3.168 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 7 (p_table.nextEventScaled,p_table.nextEvent,$PRE.p_table.nextEvent,p_table.last,p_table.b,p_table.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001431/0.03602, allocations: 332.3 kB / 408.8 MB, free: 2.832 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.869e-05/0.03607, allocations: 47.77 kB / 408.9 MB, free: 2.785 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003402/0.03641, allocations: 280.7 kB / 409.2 MB, free: 2.492 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.03641, allocations: 7.938 kB / 409.2 MB, free: 2.484 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.03642, allocations: 0 / 409.2 MB, free: 2.484 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.03642, allocations: 0 / 409.2 MB, free: 2.484 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002383/0.03666, allocations: 292.5 kB / 409.5 MB, free: 2.164 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.03666, allocations: 7.938 kB / 409.5 MB, free: 2.156 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.312e-05/0.03673, allocations: 19.98 kB / 409.5 MB, free: 2.137 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.03673, allocations: 4 kB / 409.5 MB, free: 2.133 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.03674, allocations: 8 kB / 409.5 MB, free: 2.125 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.03675, allocations: 4 kB / 409.5 MB, free: 2.121 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/0.03675, allocations: 7.922 kB / 409.5 MB, free: 2.113 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002801/0.03703, allocations: 311.3 kB / 409.8 MB, free: 1.773 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.551e-05/0.03708, allocations: 47.64 kB / 409.9 MB, free: 1.727 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.079e-05/0.03712, allocations: 8 kB / 409.9 MB, free: 1.719 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.709e-05/0.03721, allocations: 11.98 kB / 409.9 MB, free: 1.707 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.006e-05/0.03726, allocations: 15.92 kB / 409.9 MB, free: 1.691 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.03728, allocations: 4 kB / 409.9 MB, free: 1.688 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002053/0.03748, allocations: 303 kB / 410.2 MB, free: 1.395 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03748, allocations: 0 / 410.2 MB, free: 1.395 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00072/0.0382, allocations: 438.8 kB / 410.6 MB, free: 0.9648 MB / 378.7 MB 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006193/0.03882, allocations: 418 kB / 411 MB, free: 0.543 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005708/0.03939, allocations: 0.5375 MB / 411.6 MB, free: 15.96 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.0394, allocations: 0 / 411.6 MB, free: 15.96 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003115/0.03971, allocations: 156.7 kB / 411.7 MB, free: 15.78 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004633/0.04017, allocations: 168.9 kB / 411.9 MB, free: 15.62 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.04144, allocations: 0.7658 MB / 412.6 MB, free: 14.82 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.912e-05/0.04152, allocations: 121.3 kB / 412.8 MB, free: 14.68 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002528/0.04177, allocations: 138.2 kB / 412.9 MB, free: 14.55 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.42e-05/0.04186, allocations: 32.5 kB / 412.9 MB, free: 14.52 MB / 394.7 MB Notification: Performance of SimCode: time 1.433e-06/0.04186, allocations: 0 / 412.9 MB, free: 14.52 MB / 394.7 MB Notification: Performance of Templates: time 0.01296/0.05482, allocations: 10.94 MB / 423.9 MB, free: 3.691 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Pipes/StaticPipe/StaticPipe.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.565416898112744]