Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 78.66 kB / 21.42 MB, free: 3.082 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001666/0.001666, allocations: 172.8 kB / 24.82 MB, free: 8.945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9796/0.9796, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2688/0.2688, allocations: 32.8 MB / 294.6 MB, free: 1.176 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|SourceP1.ports.[0-9,]+..m_flow|SourceP1.ports.[0-9,]+..p|SourceP1.ports.[0-9,]+..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|SinkP1.ports.[0-9,]+..m_flow|SinkP1.ports.[0-9,]+..p|SinkP1.ports.[0-9,]+..h_outflow|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|SourceP1.ports.[0-9,]+..m_flow|SourceP1.ports.[0-9,]+..p|SourceP1.ports.[0-9,]+..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|SinkP1.ports.[0-9,]+..m_flow|SinkP1.ports.[0-9,]+..p|SinkP1.ports.[0-9,]+..h_outflow|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 376.5 MB, free: 4.371 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.68e-05/1.841e-05, allocations: 6.25 kB / 376.5 MB, free: 4.363 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.01276/0.01278, allocations: 14.69 MB / 391.2 MB, free: 5.609 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009731/0.02251, allocations: 11.67 MB / 402.9 MB, free: 9.898 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001941/0.0227, allocations: 19.81 kB / 402.9 MB, free: 9.879 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000414/0.02312, allocations: 135 kB / 403 MB, free: 9.746 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005621/0.02874, allocations: 3.716 MB / 406.7 MB, free: 6.016 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003279/0.03202, allocations: 2.081 MB / 408.8 MB, free: 3.93 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006858/0.0327, allocations: 0.9469 MB / 409.7 MB, free: 2.977 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002758/0.03298, allocations: 221 kB / 410 MB, free: 2.758 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006246/0.0336, allocations: 0.5455 MB / 410.5 MB, free: 2.211 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002287/0.03383, allocations: 239.3 kB / 410.7 MB, free: 1.977 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.659e-05/0.03388, allocations: 36 kB / 410.8 MB, free: 1.941 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007752/0.04163, allocations: 6.766 MB / 417.5 MB, free: 11.17 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.04173, allocations: 111.6 kB / 417.7 MB, free: 11.06 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.04185, allocations: 159.7 kB / 417.8 MB, free: 10.9 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005504/0.04736, allocations: 5.238 MB / 423 MB, free: 5.652 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.04736, allocations: 0 / 423 MB, free: 5.652 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.04736, allocations: 4 kB / 423.1 MB, free: 5.648 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.952e-06/0.04737, allocations: 3.938 kB / 423.1 MB, free: 5.645 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.00179/0.04916, allocations: 1.237 MB / 424.3 MB, free: 4.367 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.0492, allocations: 12.03 kB / 424.3 MB, free: 4.355 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009462/0.05015, allocations: 303.7 kB / 424.6 MB, free: 4.059 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003593/0.05051, allocations: 327.2 kB / 424.9 MB, free: 3.711 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/0.05054, allocations: 29.03 kB / 424.9 MB, free: 3.684 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.667e-05/0.05057, allocations: 32.38 kB / 425 MB, free: 3.652 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/0.05176, allocations: 0.6903 MB / 425.7 MB, free: 2.867 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.05177, allocations: 192 / 425.7 MB, free: 2.867 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.693e-05/0.0518, allocations: 19.94 kB / 425.7 MB, free: 2.848 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.05181, allocations: 8 kB / 425.7 MB, free: 2.84 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005399/0.05235, allocations: 332 kB / 426 MB, free: 2.516 MB / 394.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00155/0.0539, allocations: 2.168 MB / 428.2 MB, free: 276 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006652/0.05456, allocations: 350.7 kB / 428.5 MB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.061e-05/0.05464, allocations: 71.55 kB / 428.6 MB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01991/0.07455, allocations: 11.51 MB / 440.1 MB, free: 4.324 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.07457, allocations: 33.39 kB / 440.1 MB, free: 4.281 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 1.593e-06/0.07458, allocations: 0 / 440.1 MB, free: 4.281 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.001071/0.07565, allocations: 0.5603 MB / 440.7 MB, free: 3.715 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.07569, allocations: 110.8 kB / 440.8 MB, free: 3.582 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001961/0.07588, allocations: 322 kB / 441.1 MB, free: 3.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.07591, allocations: 37.64 kB / 441.2 MB, free: 3.207 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.07602, allocations: 263.1 kB / 441.4 MB, free: 2.945 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.77e-05/0.07607, allocations: 87.2 kB / 441.5 MB, free: 2.859 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.957e-05/0.07615, allocations: 79.31 kB / 441.6 MB, free: 2.773 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.07628, allocations: 0.5156 MB / 442.1 MB, free: 2.246 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.105e-05/0.07635, allocations: 55.94 kB / 442.2 MB, free: 2.191 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/0.0765, allocations: 236.7 kB / 442.4 MB, free: 1.895 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001988/0.07669, allocations: 248.4 kB / 442.6 MB, free: 1.605 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.0767, allocations: 4 kB / 442.6 MB, free: 1.602 MB / 410.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003017/0.077, allocations: 277.2 kB / 442.9 MB, free: 1.324 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.07701, allocations: 4 kB / 442.9 MB, free: 1.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.07702, allocations: 7.984 kB / 442.9 MB, free: 1.312 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.07704, allocations: 4 kB / 442.9 MB, free: 1.309 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.0772, allocations: 79.89 kB / 443 MB, free: 1.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.07721, allocations: 4 kB / 443 MB, free: 1.227 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.07731, allocations: 39.75 kB / 443 MB, free: 1.188 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/0.07733, allocations: 12 kB / 443 MB, free: 1.176 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 4 (SinkP1.medium.phase,SourceP1.medium.phase,V1.state_a.phase,V1.state_b.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * 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.0001065/0.07743, allocations: 180.6 kB / 443.2 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.127e-05/0.07749, allocations: 43.77 kB / 443.3 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.177/0.2544, allocations: 1.121 MB / 444.4 MB, free: 78.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-05/0.2545, allocations: 27.19 kB / 444.4 MB, free: 78.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.2545, allocations: 0 / 444.4 MB, free: 78.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.2545, allocations: 2.562 kB / 444.4 MB, free: 78.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007308/0.2552, allocations: 0.6019 MB / 445 MB, free: 78.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/0.2552, allocations: 2.75 kB / 445 MB, free: 78.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001917/0.2554, allocations: 64.67 kB / 445.1 MB, free: 78.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.2554, allocations: 2.656 kB / 445.1 MB, free: 78.33 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.2555, allocations: 8.531 kB / 445.1 MB, free: 78.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.2555, allocations: 0 / 445.1 MB, free: 78.33 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2555, allocations: 2.688 kB / 445.1 MB, free: 78.33 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007068/0.2562, allocations: 0.7657 MB / 445.9 MB, free: 78.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.034e-05/0.2562, allocations: 87.86 kB / 445.9 MB, free: 78.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.337e-05/0.2563, allocations: 23.98 kB / 446 MB, free: 78.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.2564, allocations: 21.06 kB / 446 MB, free: 78.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.554e-05/0.2565, allocations: 35.53 kB / 446 MB, free: 78.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.2565, allocations: 6.656 kB / 446 MB, free: 78.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001617/0.2567, allocations: 290.6 kB / 446.3 MB, free: 77.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2567, allocations: 2.844 kB / 446.3 MB, free: 77.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002667/0.2593, allocations: 1.01 MB / 447.3 MB, free: 77.94 MB / 410.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: 18 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0031/0.2624, allocations: 1.316 MB / 448.6 MB, free: 77.85 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004493/0.2629, allocations: 273 kB / 448.9 MB, free: 77.83 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.2629, allocations: 2.25 kB / 448.9 MB, free: 77.83 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001977/0.2631, allocations: 231.8 kB / 449.1 MB, free: 77.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006703/0.2638, allocations: 203.8 kB / 449.3 MB, free: 77.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.2654, allocations: 1.329 MB / 450.7 MB, free: 77.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.2655, allocations: 186.5 kB / 450.9 MB, free: 77.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003173/0.2658, allocations: 268.6 kB / 451.1 MB, free: 77.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002993/0.2661, allocations: 246.5 kB / 451.4 MB, free: 77.11 MB / 410.7 MB Notification: Performance of SimCode: time 1.092e-06/0.2661, allocations: 0 / 451.4 MB, free: 77.11 MB / 410.7 MB Notification: Performance of Templates: time 0.0504/0.3165, allocations: 45.41 MB / 496.8 MB, free: 65.12 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveLinear/TestValveLinear.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: 4.824285761918873]