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.0009494/0.0009494, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001017/0.001017, allocations: 163.8 kB / 24.99 MB, free: 9.324 MB / 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 0.9206/0.9206, allocations: 177 MB / 205.2 MB, free: 5.227 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.2752/0.2752, allocations: 34.86 MB / 296.6 MB, free: 0.5312 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.363e-06/1.363e-06, allocations: 0 / 378.7 MB, free: 2.406 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.086e-05/2.222e-05, allocations: 2.312 kB / 378.7 MB, free: 2.402 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.009676/0.009698, allocations: 13.03 MB / 391.8 MB, free: 5.312 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005352/0.01505, allocations: 5.484 MB / 397.3 MB, free: 15.82 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002464/0.0153, allocations: 23.75 kB / 397.3 MB, free: 15.79 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004852/0.01578, allocations: 202.6 kB / 397.5 MB, free: 15.59 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001092/0.01687, allocations: 0.7458 MB / 398.2 MB, free: 14.84 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002056/0.01893, allocations: 1.651 MB / 399.9 MB, free: 13.19 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000929/0.01986, allocations: 1.235 MB / 401.1 MB, free: 11.95 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003116/0.02017, allocations: 305.6 kB / 401.4 MB, free: 11.64 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006626/0.02083, allocations: 0.6584 MB / 402.1 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004398/0.02127, allocations: 454.8 kB / 402.5 MB, free: 10.54 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.477e-05/0.02133, allocations: 44 kB / 402.6 MB, free: 10.5 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009353/0.02226, allocations: 0.8774 MB / 403.4 MB, free: 9.617 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001371/0.0224, allocations: 179.4 kB / 403.6 MB, free: 9.441 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001615/0.02256, allocations: 195.6 kB / 403.8 MB, free: 9.25 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001121/0.02368, allocations: 1.242 MB / 405 MB, free: 8.004 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.02369, allocations: 0 / 405 MB, free: 8.004 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.02369, allocations: 3.984 kB / 405 MB, free: 8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.0237, allocations: 0 / 405 MB, free: 8 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.001265/0.02496, allocations: 0.9981 MB / 406 MB, free: 6.957 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.02499, allocations: 8.031 kB / 406.1 MB, free: 6.949 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001991/0.02519, allocations: 108.3 kB / 406.2 MB, free: 6.844 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004203/0.02561, allocations: 417.6 kB / 406.6 MB, free: 6.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.72e-05/0.02564, allocations: 28.58 kB / 406.6 MB, free: 6.383 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.01e-05/0.02568, allocations: 35.98 kB / 406.6 MB, free: 6.348 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004974/0.02618, allocations: 0.6343 MB / 407.3 MB, free: 5.602 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.02619, allocations: 0 / 407.3 MB, free: 5.602 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.075e-05/0.02622, allocations: 12 kB / 407.3 MB, free: 5.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.85e-05/0.02626, allocations: 28.62 kB / 407.3 MB, free: 5.562 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003063/0.02656, allocations: 233.4 kB / 407.5 MB, free: 5.328 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001732/0.02829, allocations: 2.064 MB / 409.6 MB, free: 3.188 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.02851, allocations: 148.7 kB / 409.7 MB, free: 3.023 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.692e-05/0.02861, allocations: 85.41 kB / 409.8 MB, free: 2.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005043/0.02912, allocations: 0.5701 MB / 410.4 MB, free: 2.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000231/0.02935, allocations: 313.9 kB / 410.7 MB, free: 1.965 MB / 378.7 MB Notification: Performance of pre-optimization done (n=18): time 1.222e-06/0.02935, allocations: 0 / 410.7 MB, free: 1.965 MB / 378.7 MB Notification: Performance of matching and sorting (n=18): time 0.0003946/0.02974, allocations: 313.1 kB / 411 MB, free: 1.637 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.079e-05/0.02982, allocations: 243.3 kB / 411.2 MB, free: 1.344 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003299/0.03015, allocations: 470.4 kB / 411.7 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.03018, allocations: 33.7 kB / 411.7 MB, free: 0.8281 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.03034, allocations: 354.5 kB / 412.1 MB, free: 488 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.107e-05/0.03038, allocations: 63.47 kB / 412.1 MB, free: 424 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.03049, allocations: 99.28 kB / 412.2 MB, free: 316 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.03064, allocations: 0.5235 MB / 412.8 MB, free: 15.77 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.03075, allocations: 93.84 kB / 412.9 MB, free: 15.67 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002591/0.03101, allocations: 478.7 kB / 413.3 MB, free: 15.05 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002959/0.0313, allocations: 389.7 kB / 413.7 MB, free: 14.58 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.03131, allocations: 0 / 413.7 MB, free: 14.58 MB / 394.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0004577/0.03176, allocations: 433.3 kB / 414.1 MB, free: 14.14 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.323e-05/0.0318, allocations: 37.69 kB / 414.2 MB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.0318, allocations: 4 kB / 414.2 MB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.03182, allocations: 11.94 kB / 414.2 MB, free: 14.08 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/0.03201, allocations: 79.84 kB / 414.3 MB, free: 14 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.03201, allocations: 4 kB / 414.3 MB, free: 14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.03219, allocations: 59.61 kB / 414.3 MB, free: 13.94 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.567e-05/0.03222, allocations: 16 kB / 414.3 MB, free: 13.92 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001635/0.03238, allocations: 217.3 kB / 414.5 MB, free: 13.7 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003729/0.03275, allocations: 0.4944 MB / 415 MB, free: 13.04 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002794/0.03303, allocations: 387.5 kB / 415.4 MB, free: 12.57 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.513e-06/0.03304, allocations: 0 / 415.4 MB, free: 12.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0004336/0.03347, allocations: 428.2 kB / 415.8 MB, free: 12.13 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.03349, allocations: 41.69 kB / 415.9 MB, free: 12.08 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.0335, allocations: 8 kB / 415.9 MB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.15e-06/0.0335, allocations: 4.594 kB / 415.9 MB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.03365, allocations: 79.78 kB / 416 MB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.03365, allocations: 15.98 kB / 416 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.03383, allocations: 35.84 kB / 416 MB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.364e-05/0.03385, allocations: 27.98 kB / 416 MB, free: 11.91 MB / 394.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.0001457/0.034, allocations: 325.6 kB / 416.4 MB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.397e-05/0.03405, allocations: 59.73 kB / 416.4 MB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003569/0.03441, allocations: 292.6 kB / 416.7 MB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.03441, allocations: 11.94 kB / 416.7 MB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.03441, allocations: 0 / 416.7 MB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.03442, allocations: 0 / 416.7 MB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/0.03466, allocations: 304.3 kB / 417 MB, free: 10.87 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.03466, allocations: 0 / 417 MB, free: 10.87 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.175e-05/0.03472, allocations: 23.94 kB / 417 MB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.03473, allocations: 0 / 417 MB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.03474, allocations: 11.98 kB / 417.1 MB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.03474, allocations: 4.125 kB / 417.1 MB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.03475, allocations: 4 kB / 417.1 MB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002862/0.03503, allocations: 325.9 kB / 417.4 MB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.575e-05/0.03508, allocations: 47.59 kB / 417.4 MB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.838e-05/0.03513, allocations: 11.98 kB / 417.4 MB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.03523, allocations: 15.94 kB / 417.5 MB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/0.03527, allocations: 7.984 kB / 417.5 MB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.251e-05/0.03529, allocations: 15.98 kB / 417.5 MB, free: 10.38 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001962/0.03549, allocations: 295 kB / 417.8 MB, free: 10.09 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03549, allocations: 0 / 417.8 MB, free: 10.09 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006527/0.03614, allocations: 446.8 kB / 418.2 MB, free: 9.656 MB / 394.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 (16): * Single equations (assignments): 15 * 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.0005857/0.03673, allocations: 438 kB / 418.6 MB, free: 9.219 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005243/0.03725, allocations: 0.5374 MB / 419.2 MB, free: 8.633 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.03725, allocations: 4 kB / 419.2 MB, free: 8.629 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.03737, allocations: 162.3 kB / 419.3 MB, free: 8.449 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004532/0.03782, allocations: 178 kB / 419.5 MB, free: 8.285 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.03898, allocations: 0.7542 MB / 420.3 MB, free: 7.492 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.237e-05/0.03905, allocations: 129.8 kB / 420.4 MB, free: 7.348 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002685/0.03932, allocations: 141.7 kB / 420.5 MB, free: 7.207 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.016e-05/0.03939, allocations: 36.5 kB / 420.6 MB, free: 7.172 MB / 394.7 MB Notification: Performance of SimCode: time 7.51e-07/0.03939, allocations: 7.938 kB / 420.6 MB, free: 7.164 MB / 394.7 MB Notification: Performance of Templates: time 0.01228/0.05167, allocations: 11.56 MB / 432.1 MB, free: 11.72 MB / 410.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.4843527919147164]