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.001015/0.001015, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.0009874/0.0009874, allocations: 160.5 kB / 24.55 MB, free: 20 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 0.9609/0.9609, allocations: 177 MB / 204.8 MB, free: 5.566 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.2804/0.2804, allocations: 34.87 MB / 296.3 MB, free: 0.5547 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.613e-06/1.613e-06, allocations: 0 / 378.8 MB, free: 2.098 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.538e-05/2.699e-05, allocations: 3.156 kB / 378.8 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.014/0.01403, allocations: 6.582 MB / 385.4 MB, free: 11.47 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005009/0.01904, allocations: 4.752 MB / 390.1 MB, free: 6.711 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000289/0.01933, allocations: 23.75 kB / 390.1 MB, free: 6.688 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004575/0.01979, allocations: 146.9 kB / 390.3 MB, free: 6.543 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001292/0.02108, allocations: 0.6914 MB / 391 MB, free: 5.848 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002564/0.02364, allocations: 1.558 MB / 392.5 MB, free: 4.285 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001199/0.02484, allocations: 1.223 MB / 393.7 MB, free: 3.055 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000497/0.02534, allocations: 297.6 kB / 394 MB, free: 2.762 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001034/0.02637, allocations: 0.6624 MB / 394.7 MB, free: 2.098 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005676/0.02694, allocations: 438.9 kB / 395.1 MB, free: 1.668 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.777e-05/0.02701, allocations: 48 kB / 395.2 MB, free: 1.621 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001099/0.0281, allocations: 0.8462 MB / 396 MB, free: 0.7734 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001649/0.02827, allocations: 175.5 kB / 396.2 MB, free: 0.6016 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001939/0.02846, allocations: 191.6 kB / 396.4 MB, free: 424 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001752/0.03022, allocations: 1.207 MB / 397.6 MB, free: 15.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.03022, allocations: 4 kB / 397.6 MB, free: 15.2 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.03022, allocations: 0 / 397.6 MB, free: 15.2 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.03023, allocations: 0 / 397.6 MB, free: 15.2 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.001209/0.03144, allocations: 1.006 MB / 398.6 MB, free: 14.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.03147, allocations: 8.031 kB / 398.6 MB, free: 14.14 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002041/0.03168, allocations: 92.48 kB / 398.7 MB, free: 14.05 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004516/0.03213, allocations: 416.9 kB / 399.1 MB, free: 13.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.153e-05/0.03216, allocations: 32.62 kB / 399.1 MB, free: 13.58 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.535e-05/0.0322, allocations: 28 kB / 399.2 MB, free: 13.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005202/0.03272, allocations: 0.6382 MB / 399.8 MB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.03273, allocations: 4 kB / 399.8 MB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.673e-05/0.03275, allocations: 8 kB / 399.8 MB, free: 12.79 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-05/0.03279, allocations: 32.64 kB / 399.8 MB, free: 12.76 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003244/0.03312, allocations: 241.3 kB / 400.1 MB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001689/0.0348, allocations: 2.029 MB / 402.1 MB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/0.03501, allocations: 152.9 kB / 402.3 MB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.441e-05/0.03509, allocations: 81.36 kB / 402.3 MB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005373/0.03563, allocations: 0.5739 MB / 402.9 MB, free: 9.562 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002165/0.03585, allocations: 313.9 kB / 403.2 MB, free: 9.188 MB / 378.7 MB Notification: Performance of pre-optimization done (n=18): time 1.152e-06/0.03585, allocations: 0 / 403.2 MB, free: 9.188 MB / 378.7 MB Notification: Performance of matching and sorting (n=18): time 0.0003412/0.03619, allocations: 302.2 kB / 403.5 MB, free: 8.867 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.007e-05/0.03627, allocations: 239.3 kB / 403.7 MB, free: 8.578 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003201/0.03659, allocations: 466.4 kB / 404.2 MB, free: 8.105 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.03661, allocations: 37.69 kB / 404.2 MB, free: 8.062 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/0.03678, allocations: 354.5 kB / 404.6 MB, free: 7.711 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.717e-05/0.03682, allocations: 55.53 kB / 404.6 MB, free: 7.656 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.914e-05/0.03692, allocations: 103.3 kB / 404.7 MB, free: 7.547 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.03705, allocations: 0.5274 MB / 405.3 MB, free: 7.008 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.03715, allocations: 89.84 kB / 405.3 MB, free: 6.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002546/0.03741, allocations: 486.7 kB / 405.8 MB, free: 6.285 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002857/0.03769, allocations: 373.8 kB / 406.2 MB, free: 5.824 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.0377, allocations: 0 / 406.2 MB, free: 5.824 MB / 378.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0004374/0.03813, allocations: 425 kB / 406.6 MB, free: 5.391 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.305e-05/0.03817, allocations: 44.03 kB / 406.6 MB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.03817, allocations: 4.594 kB / 406.7 MB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.03819, allocations: 11.94 kB / 406.7 MB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.03836, allocations: 79.84 kB / 406.7 MB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.03837, allocations: 11.98 kB / 406.8 MB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.03854, allocations: 51.67 kB / 406.8 MB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.03856, allocations: 16 kB / 406.8 MB, free: 5.172 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001627/0.03872, allocations: 221 kB / 407 MB, free: 4.945 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002451/0.03897, allocations: 494.4 kB / 407.5 MB, free: 4.301 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002739/0.03924, allocations: 391.4 kB / 407.9 MB, free: 3.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.593e-06/0.03924, allocations: 4 kB / 407.9 MB, free: 3.816 MB / 378.7 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0004086/0.03965, allocations: 416.7 kB / 408.3 MB, free: 3.391 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.03968, allocations: 41.69 kB / 408.4 MB, free: 3.344 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/0.03969, allocations: 4 kB / 408.4 MB, free: 3.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.386e-06/0.03969, allocations: 8 kB / 408.4 MB, free: 3.332 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.03984, allocations: 83.78 kB / 408.4 MB, free: 3.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.03985, allocations: 4 kB / 408.4 MB, free: 3.246 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/0.04002, allocations: 39.83 kB / 408.5 MB, free: 3.207 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.04004, allocations: 23.94 kB / 408.5 MB, free: 3.184 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.0001527/0.04019, allocations: 333.8 kB / 408.8 MB, free: 2.844 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.035e-05/0.04024, allocations: 47.77 kB / 408.9 MB, free: 2.797 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003076/0.04055, allocations: 284.6 kB / 409.2 MB, free: 2.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.04055, allocations: 7.938 kB / 409.2 MB, free: 2.492 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.04055, allocations: 0 / 409.2 MB, free: 2.492 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.04056, allocations: 0 / 409.2 MB, free: 2.492 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002511/0.04081, allocations: 292.4 kB / 409.5 MB, free: 2.172 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.04081, allocations: 4 kB / 409.5 MB, free: 2.168 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.413e-05/0.04087, allocations: 20.11 kB / 409.5 MB, free: 2.148 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.04088, allocations: 4.047 kB / 409.5 MB, free: 2.145 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.04089, allocations: 15.98 kB / 409.5 MB, free: 2.129 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.04089, allocations: 4 kB / 409.5 MB, free: 2.125 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.04089, allocations: 3.938 kB / 409.5 MB, free: 2.121 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002669/0.04116, allocations: 318.4 kB / 409.8 MB, free: 1.777 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.231e-05/0.0412, allocations: 47.64 kB / 409.9 MB, free: 1.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.092e-05/0.04124, allocations: 8 kB / 409.9 MB, free: 1.723 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.247e-05/0.04134, allocations: 8 kB / 409.9 MB, free: 1.715 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.725e-05/0.04137, allocations: 19.91 kB / 409.9 MB, free: 1.695 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.04138, allocations: 4 kB / 409.9 MB, free: 1.691 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001909/0.04158, allocations: 303 kB / 410.2 MB, free: 1.398 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04158, allocations: 0 / 410.2 MB, free: 1.398 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006856/0.04226, allocations: 434.8 kB / 410.6 MB, free: 0.9727 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.0005625/0.04282, allocations: 418 kB / 411 MB, free: 0.5508 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005162/0.04334, allocations: 0.5332 MB / 411.6 MB, free: 15.97 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.04334, allocations: 5.938 kB / 411.6 MB, free: 15.96 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.04344, allocations: 152.8 kB / 411.7 MB, free: 15.79 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004261/0.04387, allocations: 164.1 kB / 411.9 MB, free: 15.64 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.04519, allocations: 0.7658 MB / 412.6 MB, free: 14.83 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.342e-05/0.04528, allocations: 121.2 kB / 412.8 MB, free: 14.7 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003527/0.04563, allocations: 146.7 kB / 412.9 MB, free: 14.55 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.402e-05/0.0457, allocations: 32.5 kB / 412.9 MB, free: 14.52 MB / 394.7 MB Notification: Performance of SimCode: time 2.034e-06/0.0457, allocations: 0 / 412.9 MB, free: 14.52 MB / 394.7 MB Notification: Performance of Templates: time 0.01607/0.06177, allocations: 12.1 MB / 425 MB, free: 2.547 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.5123521853238344]