Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.000985/0.000985, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.001295/0.001295, allocations: 169 kB / 24.24 MB, free: 316 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9629/0.9629, allocations: 158.6 MB / 186 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1434/0.1434, allocations: 32.37 MB / 270.7 MB, free: 14.79 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 347.7 MB, free: 9.781 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.063e-05/3.256e-05, allocations: 10.19 kB / 347.7 MB, free: 9.77 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.02782/0.02786, allocations: 28.69 MB / 376.4 MB, free: 12.98 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01555/0.04341, allocations: 13.08 MB / 389.5 MB, free: 15.85 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006931/0.0441, allocations: 19.81 kB / 389.5 MB, free: 15.83 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008641/0.04496, allocations: 226.4 kB / 389.7 MB, free: 15.61 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009935/0.0549, allocations: 3.682 MB / 393.4 MB, free: 11.91 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006431/0.06133, allocations: 2.383 MB / 395.8 MB, free: 9.516 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001488/0.06282, allocations: 0.9079 MB / 396.7 MB, free: 8.605 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006091/0.06343, allocations: 229 kB / 396.9 MB, free: 8.379 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001026/0.06445, allocations: 0.5374 MB / 397.4 MB, free: 7.84 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003522/0.0648, allocations: 235.3 kB / 397.7 MB, free: 7.609 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.762e-05/0.06486, allocations: 36 kB / 397.7 MB, free: 7.574 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01144/0.0763, allocations: 6.91 MB / 404.6 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002074/0.07651, allocations: 99.66 kB / 404.7 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002692/0.07678, allocations: 155.7 kB / 404.9 MB, free: 416 kB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01364/0.09042, allocations: 5.371 MB / 410.2 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.467e-06/0.09043, allocations: 0 / 410.2 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.09043, allocations: 0 / 410.2 MB, free: 11.02 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.297e-05/0.09044, allocations: 0 / 410.2 MB, free: 11.02 MB / 346.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.003414/0.09386, allocations: 1.276 MB / 411.5 MB, free: 9.707 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/0.09391, allocations: 15.97 kB / 411.5 MB, free: 9.691 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001407/0.09532, allocations: 303.7 kB / 411.8 MB, free: 9.395 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005989/0.09592, allocations: 323.3 kB / 412.1 MB, free: 9.047 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.752e-05/0.09595, allocations: 32.97 kB / 412.2 MB, free: 9.016 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.195e-05/0.096, allocations: 36.36 kB / 412.2 MB, free: 8.98 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.09715, allocations: 0.7022 MB / 412.9 MB, free: 8.184 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.09716, allocations: 4.188 kB / 412.9 MB, free: 8.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.633e-05/0.0972, allocations: 23.94 kB / 412.9 MB, free: 8.156 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.09721, allocations: 8 kB / 412.9 MB, free: 8.148 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007809/0.09799, allocations: 359.4 kB / 413.3 MB, free: 7.801 MB / 346.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.002301/0.1003, allocations: 2.277 MB / 415.6 MB, free: 5.438 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009495/0.1012, allocations: 362.6 kB / 415.9 MB, free: 5.07 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001352/0.1014, allocations: 79.64 kB / 416 MB, free: 4.988 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02419/0.1256, allocations: 12.73 MB / 428.7 MB, free: 8.234 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.722e-05/0.1256, allocations: 37.39 kB / 428.8 MB, free: 8.188 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 3.446e-06/0.1256, allocations: 0 / 428.8 MB, free: 8.188 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.001615/0.1272, allocations: 0.6039 MB / 429.4 MB, free: 7.578 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.401e-05/0.1273, allocations: 106.8 kB / 429.5 MB, free: 7.449 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002839/0.1276, allocations: 326.2 kB / 429.8 MB, free: 7.109 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/0.1276, allocations: 29.7 kB / 429.8 MB, free: 7.074 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.1278, allocations: 259.2 kB / 430.1 MB, free: 6.816 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.361e-05/0.1278, allocations: 87.27 kB / 430.2 MB, free: 6.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.1279, allocations: 75.34 kB / 430.2 MB, free: 6.648 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.1281, allocations: 0.5195 MB / 430.8 MB, free: 6.117 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.1282, allocations: 67.88 kB / 430.8 MB, free: 6.051 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002024/0.1284, allocations: 254.9 kB / 431.1 MB, free: 5.734 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004817/0.1289, allocations: 257.2 kB / 431.3 MB, free: 5.438 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.1289, allocations: 0 / 431.3 MB, free: 5.438 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004164/0.1293, allocations: 309 kB / 431.6 MB, free: 5.129 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.1293, allocations: 4 kB / 431.6 MB, free: 5.125 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/0.1293, allocations: 4 kB / 431.6 MB, free: 5.121 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.1294, allocations: 4.312 kB / 431.6 MB, free: 5.117 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.1295, allocations: 79.89 kB / 431.7 MB, free: 5.039 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.875e-05/0.1296, allocations: 7.938 kB / 431.7 MB, free: 5.031 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001608/0.1297, allocations: 39.77 kB / 431.8 MB, free: 4.992 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.077e-05/0.1297, allocations: 15.94 kB / 431.8 MB, free: 4.977 MB / 362.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.0001488/0.1299, allocations: 172.5 kB / 431.9 MB, free: 4.797 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.265e-05/0.13, allocations: 43.8 kB / 432 MB, free: 4.754 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001122/0.1311, allocations: 1.24 MB / 433.2 MB, free: 3.504 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.38e-05/0.1311, allocations: 27.95 kB / 433.3 MB, free: 3.477 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.1311, allocations: 0 / 433.3 MB, free: 3.477 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.1311, allocations: 3.984 kB / 433.3 MB, free: 3.473 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006159/0.1317, allocations: 0.6643 MB / 433.9 MB, free: 2.773 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.1317, allocations: 0 / 433.9 MB, free: 2.773 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.1319, allocations: 63.95 kB / 434 MB, free: 2.711 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.1319, allocations: 0 / 434 MB, free: 2.711 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.1319, allocations: 8 kB / 434 MB, free: 2.703 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.1319, allocations: 0 / 434 MB, free: 2.703 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.1319, allocations: 4 kB / 434 MB, free: 2.699 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007203/0.1326, allocations: 0.8187 MB / 434.8 MB, free: 1.859 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.685e-05/0.1327, allocations: 91.09 kB / 434.9 MB, free: 1.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.524e-05/0.1328, allocations: 23.78 kB / 434.9 MB, free: 1.746 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.1329, allocations: 23.98 kB / 434.9 MB, free: 1.723 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.133, allocations: 39.92 kB / 435 MB, free: 1.684 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/0.133, allocations: 12 kB / 435 MB, free: 1.672 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002943/0.1333, allocations: 299 kB / 435.3 MB, free: 1.379 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1333, allocations: 0 / 435.3 MB, free: 1.379 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002889/0.1362, allocations: 1.006 MB / 436.3 MB, free: 380 kB / 362.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.1591/0.2953, allocations: 1.309 MB / 437.6 MB, free: 73.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007134/0.296, allocations: 318.5 kB / 437.9 MB, free: 73.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.296, allocations: 0 / 437.9 MB, free: 73.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000255/0.2963, allocations: 258.4 kB / 438.2 MB, free: 73.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007925/0.297, allocations: 221.4 kB / 438.4 MB, free: 73.6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001851/0.2989, allocations: 1.345 MB / 439.7 MB, free: 73.05 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/0.299, allocations: 179 kB / 439.9 MB, free: 72.98 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004012/0.2994, allocations: 268.8 kB / 440.2 MB, free: 72.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.2995, allocations: 39.59 kB / 440.2 MB, free: 72.97 MB / 362.7 MB Notification: Performance of SimCode: time 2.835e-06/0.2995, allocations: 0 / 440.2 MB, free: 72.97 MB / 362.7 MB Notification: Performance of Templates: time 0.04346/0.343, allocations: 40.17 MB / 480.4 MB, free: 44.15 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.063543694093823]