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.001316/0.001316, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0009398/0.0009398, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9012/0.9012, allocations: 177.1 MB / 205 MB, free: 5.633 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.2397/0.2397, allocations: 32.81 MB / 294.3 MB, free: 1.227 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.343e-06/1.343e-06, allocations: 0 / 376 MB, free: 4.668 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.359e-05/1.493e-05, allocations: 10.25 kB / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.01189/0.01191, allocations: 14.85 MB / 390.9 MB, free: 5.742 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008951/0.02086, allocations: 11.87 MB / 402.7 MB, free: 9.832 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000176/0.02103, allocations: 11.88 kB / 402.7 MB, free: 9.82 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003955/0.02143, allocations: 142.9 kB / 402.9 MB, free: 9.68 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005518/0.02695, allocations: 3.705 MB / 406.6 MB, free: 5.961 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003137/0.03008, allocations: 2.086 MB / 408.7 MB, free: 3.867 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007705/0.03085, allocations: 0.9391 MB / 409.6 MB, free: 2.922 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002487/0.0311, allocations: 221 kB / 409.8 MB, free: 2.703 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005208/0.03162, allocations: 0.5417 MB / 410.4 MB, free: 2.16 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002604/0.03188, allocations: 247.3 kB / 410.6 MB, free: 1.918 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.301e-05/0.03193, allocations: 35.94 kB / 410.7 MB, free: 1.883 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007315/0.03924, allocations: 6.77 MB / 417.4 MB, free: 11.11 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.976e-05/0.03933, allocations: 107.6 kB / 417.5 MB, free: 11 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.03945, allocations: 163.5 kB / 417.7 MB, free: 10.84 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004325/0.04377, allocations: 5.242 MB / 422.9 MB, free: 5.586 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.04378, allocations: 0 / 422.9 MB, free: 5.586 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.04378, allocations: 0 / 422.9 MB, free: 5.586 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.04378, allocations: 0 / 422.9 MB, free: 5.586 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.001788/0.04557, allocations: 1.241 MB / 424.2 MB, free: 4.305 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.04561, allocations: 12.03 kB / 424.2 MB, free: 4.293 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009216/0.04653, allocations: 299.8 kB / 424.5 MB, free: 4 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003481/0.04688, allocations: 339.2 kB / 424.8 MB, free: 3.641 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/0.0469, allocations: 25.03 kB / 424.8 MB, free: 3.617 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.381e-05/0.04694, allocations: 28.38 kB / 424.9 MB, free: 3.59 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008342/0.04777, allocations: 0.71 MB / 425.6 MB, free: 2.785 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.04778, allocations: 4.125 kB / 425.6 MB, free: 2.781 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.855e-05/0.04781, allocations: 15.94 kB / 425.6 MB, free: 2.766 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.04782, allocations: 8 kB / 425.6 MB, free: 2.758 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005923/0.04841, allocations: 367.4 kB / 426 MB, free: 2.398 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.001528/0.04994, allocations: 2.261 MB / 428.2 MB, free: 52 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007069/0.05065, allocations: 366.5 kB / 428.6 MB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.05075, allocations: 75.64 kB / 428.6 MB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0217/0.07245, allocations: 13.21 MB / 441.9 MB, free: 2.383 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/0.07249, allocations: 37.39 kB / 441.9 MB, free: 2.336 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 1.532e-06/0.07249, allocations: 0 / 441.9 MB, free: 2.336 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.001194/0.07368, allocations: 0.5992 MB / 442.5 MB, free: 1.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.07372, allocations: 106.8 kB / 442.6 MB, free: 1.602 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.07392, allocations: 318.2 kB / 442.9 MB, free: 1.273 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.07394, allocations: 33.7 kB / 442.9 MB, free: 1.234 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.07406, allocations: 267.1 kB / 443.2 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.844e-05/0.07411, allocations: 91.22 kB / 443.3 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.481e-05/0.07418, allocations: 71.34 kB / 443.4 MB, free: 0.8008 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.07431, allocations: 0.5157 MB / 443.9 MB, free: 280 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.262e-05/0.0744, allocations: 67.94 kB / 443.9 MB, free: 212 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1298/0.2043, allocations: 244.4 kB / 444.2 MB, free: 78.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00032/0.2046, allocations: 256 kB / 444.4 MB, free: 78.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.2046, allocations: 2.719 kB / 444.4 MB, free: 78.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003907/0.205, allocations: 299 kB / 444.7 MB, free: 78.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.205, allocations: 5.531 kB / 444.7 MB, free: 78.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.205, allocations: 4.156 kB / 444.7 MB, free: 78.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.205, allocations: 5.188 kB / 444.7 MB, free: 78.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.2052, allocations: 78.56 kB / 444.8 MB, free: 78.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.2052, allocations: 8.781 kB / 444.8 MB, free: 78.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.2053, allocations: 32.92 kB / 444.9 MB, free: 78.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.2054, allocations: 25.27 kB / 444.9 MB, free: 78.5 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_b.phase,V1.state_a.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.0001207/0.2055, allocations: 181.8 kB / 445.1 MB, free: 78.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.062e-05/0.2055, allocations: 43 kB / 445.1 MB, free: 78.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008655/0.2064, allocations: 1.228 MB / 446.3 MB, free: 78.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.751e-05/0.2064, allocations: 32.97 kB / 446.4 MB, free: 78.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.2064, allocations: 3.562 kB / 446.4 MB, free: 78.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.2064, allocations: 3.953 kB / 446.4 MB, free: 78.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003959/0.2068, allocations: 0.6583 MB / 447 MB, free: 78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.2068, allocations: 0 / 447 MB, free: 78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/0.207, allocations: 70.25 kB / 447.1 MB, free: 78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.207, allocations: 0 / 447.1 MB, free: 78 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.207, allocations: 6.719 kB / 447.1 MB, free: 78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.207, allocations: 2.875 kB / 447.1 MB, free: 78 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.207, allocations: 0.75 kB / 447.1 MB, free: 78 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005297/0.2075, allocations: 0.8264 MB / 447.9 MB, free: 77.72 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.984e-05/0.2076, allocations: 90.2 kB / 448 MB, free: 77.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.7e-05/0.2076, allocations: 27.2 kB / 448 MB, free: 77.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.2077, allocations: 15.69 kB / 448.1 MB, free: 77.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.545e-05/0.2078, allocations: 38.59 kB / 448.1 MB, free: 77.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.2078, allocations: 15.81 kB / 448.1 MB, free: 77.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000149/0.2079, allocations: 300.7 kB / 448.4 MB, free: 77.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2079, allocations: 0 / 448.4 MB, free: 77.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001732/0.2097, allocations: 1.012 MB / 449.4 MB, free: 77.54 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.002417/0.2121, allocations: 1.285 MB / 450.7 MB, free: 77.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003764/0.2125, allocations: 325.6 kB / 451 MB, free: 77.42 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2125, allocations: 0 / 451 MB, free: 77.42 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001895/0.2127, allocations: 254.3 kB / 451.3 MB, free: 77.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005815/0.2132, allocations: 216.4 kB / 451.5 MB, free: 77.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.2146, allocations: 1.338 MB / 452.8 MB, free: 76.85 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.492e-05/0.2147, allocations: 181.8 kB / 453 MB, free: 76.77 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002494/0.2149, allocations: 269.6 kB / 453.3 MB, free: 76.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.165e-05/0.215, allocations: 46.34 kB / 453.3 MB, free: 76.76 MB / 410.7 MB Notification: Performance of SimCode: time 1.363e-06/0.215, allocations: 0 / 453.3 MB, free: 76.76 MB / 410.7 MB Notification: Performance of Templates: time 0.03855/0.2536, allocations: 46.46 MB / 499.8 MB, free: 62.39 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: 5.219588216859847]