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.001006/0.001006, allocations: 95.2 kB / 20.43 MB, free: 4.145 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.0009291/0.0009291, allocations: 165 kB / 23.79 MB, free: 0.7812 MB / 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.8415/0.8415, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.1239/0.1239, allocations: 32.37 MB / 270.4 MB, free: 14.71 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.774e-06/1.774e-06, allocations: 3.938 kB / 347.7 MB, free: 9.457 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.053e-05/2.23e-05, allocations: 8.219 kB / 347.7 MB, free: 9.449 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.01153/0.01156, allocations: 14.74 MB / 362.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01029/0.02185, allocations: 11.88 MB / 374.3 MB, free: 14.73 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001803/0.02203, allocations: 15.81 kB / 374.3 MB, free: 14.72 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004553/0.02249, allocations: 134.9 kB / 374.4 MB, free: 14.59 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006417/0.0289, allocations: 3.693 MB / 378.1 MB, free: 10.88 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003599/0.0325, allocations: 2.076 MB / 380.2 MB, free: 8.797 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007903/0.03329, allocations: 0.9391 MB / 381.1 MB, free: 7.855 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003195/0.03361, allocations: 229 kB / 381.4 MB, free: 7.629 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000656/0.03427, allocations: 0.5297 MB / 381.9 MB, free: 7.098 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005837/0.03485, allocations: 239.3 kB / 382.1 MB, free: 6.863 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.652e-05/0.0349, allocations: 32 kB / 382.2 MB, free: 6.832 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009401/0.0443, allocations: 6.761 MB / 388.9 MB, free: 64 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.04443, allocations: 107.6 kB / 389 MB, free: 15.96 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001536/0.04458, allocations: 159.7 kB / 389.2 MB, free: 15.8 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0066/0.05118, allocations: 5.227 MB / 394.4 MB, free: 10.56 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.05119, allocations: 3.984 kB / 394.4 MB, free: 10.56 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.05119, allocations: 0 / 394.4 MB, free: 10.56 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.0512, allocations: 0 / 394.4 MB, free: 10.56 MB / 330.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.001706/0.0529, allocations: 1.229 MB / 395.6 MB, free: 9.289 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.05294, allocations: 8.031 kB / 395.6 MB, free: 9.281 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009455/0.05388, allocations: 307.7 kB / 395.9 MB, free: 8.98 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003617/0.05425, allocations: 331.2 kB / 396.3 MB, free: 8.625 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.848e-05/0.05427, allocations: 29.03 kB / 396.3 MB, free: 8.598 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.702e-05/0.05431, allocations: 28.38 kB / 396.3 MB, free: 8.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.05542, allocations: 0.71 MB / 397 MB, free: 7.766 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.05543, allocations: 4.125 kB / 397 MB, free: 7.762 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.92e-05/0.05546, allocations: 15.94 kB / 397.1 MB, free: 7.746 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.05547, allocations: 8 kB / 397.1 MB, free: 7.738 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006072/0.05608, allocations: 367.4 kB / 397.4 MB, free: 7.383 MB / 330.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.001661/0.05774, allocations: 2.269 MB / 399.7 MB, free: 5.027 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007086/0.05845, allocations: 366.6 kB / 400.1 MB, free: 4.656 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.05856, allocations: 79.64 kB / 400.1 MB, free: 4.574 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02219/0.08075, allocations: 12.73 MB / 412.9 MB, free: 7.828 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.08078, allocations: 37.39 kB / 412.9 MB, free: 7.781 MB / 346.7 MB Notification: Performance of pre-optimization done (n=25): time 2.164e-06/0.08079, allocations: 0 / 412.9 MB, free: 7.781 MB / 346.7 MB Notification: Performance of matching and sorting (n=25): time 0.00123/0.08202, allocations: 0.6 MB / 413.5 MB, free: 7.176 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.08207, allocations: 110.8 kB / 413.6 MB, free: 7.043 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/0.08229, allocations: 326.2 kB / 413.9 MB, free: 6.703 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.08231, allocations: 29.7 kB / 413.9 MB, free: 6.668 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.08243, allocations: 259.2 kB / 414.2 MB, free: 6.41 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.507e-05/0.08249, allocations: 91.17 kB / 414.3 MB, free: 6.32 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.253e-05/0.08257, allocations: 75.34 kB / 414.4 MB, free: 6.238 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.0827, allocations: 0.5156 MB / 414.9 MB, free: 5.711 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.892e-05/0.0828, allocations: 63.94 kB / 414.9 MB, free: 5.648 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001741/0.08298, allocations: 250.9 kB / 415.2 MB, free: 5.336 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00024/0.08322, allocations: 257.2 kB / 415.4 MB, free: 5.039 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.08322, allocations: 4 kB / 415.4 MB, free: 5.035 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003483/0.08357, allocations: 305 kB / 415.7 MB, free: 4.73 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.08358, allocations: 8 kB / 415.7 MB, free: 4.723 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.08359, allocations: 4 kB / 415.8 MB, free: 4.719 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.08361, allocations: 7.938 kB / 415.8 MB, free: 4.711 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.08384, allocations: 75.89 kB / 415.8 MB, free: 4.637 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.08385, allocations: 4.312 kB / 415.8 MB, free: 4.633 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.08405, allocations: 35.81 kB / 415.9 MB, free: 4.598 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/0.08407, allocations: 19.94 kB / 415.9 MB, free: 4.578 MB / 346.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.0001235/0.08419, allocations: 176.5 kB / 416.1 MB, free: 4.395 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.515e-05/0.08425, allocations: 39.77 kB / 416.1 MB, free: 4.355 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001056/0.0853, allocations: 1.244 MB / 417.3 MB, free: 3.102 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.986e-05/0.08532, allocations: 27.95 kB / 417.4 MB, free: 3.074 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.08533, allocations: 0 / 417.4 MB, free: 3.074 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.08533, allocations: 3.984 kB / 417.4 MB, free: 3.07 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007814/0.08611, allocations: 0.6682 MB / 418 MB, free: 2.367 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.08612, allocations: 0 / 418 MB, free: 2.367 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.08626, allocations: 59.95 kB / 418.1 MB, free: 2.309 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.08626, allocations: 3.938 kB / 418.1 MB, free: 2.305 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.08628, allocations: 11.94 kB / 418.1 MB, free: 2.293 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.08628, allocations: 4 kB / 418.1 MB, free: 2.289 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.08628, allocations: 0 / 418.1 MB, free: 2.289 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006525/0.08693, allocations: 0.8188 MB / 418.9 MB, free: 1.449 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.654e-05/0.08699, allocations: 87.16 kB / 419 MB, free: 1.363 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.171e-05/0.08703, allocations: 27.78 kB / 419.1 MB, free: 1.336 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.08715, allocations: 19.98 kB / 419.1 MB, free: 1.316 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.614e-05/0.08722, allocations: 43.78 kB / 419.1 MB, free: 1.273 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.08724, allocations: 12 kB / 419.1 MB, free: 1.262 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001961/0.08743, allocations: 303 kB / 419.4 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.08744, allocations: 4 kB / 419.4 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002031/0.08947, allocations: 1.002 MB / 420.4 MB, free: 15.95 MB / 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.002778/0.09224, allocations: 1.293 MB / 421.7 MB, free: 14.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004093/0.09265, allocations: 316.4 kB / 422 MB, free: 14.35 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.09266, allocations: 0 / 422 MB, free: 14.35 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002345/0.09289, allocations: 251.5 kB / 422.3 MB, free: 14.1 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006297/0.09352, allocations: 220.3 kB / 422.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/0.09508, allocations: 1.344 MB / 423.8 MB, free: 12.51 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.09518, allocations: 189.5 kB / 424 MB, free: 12.31 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002603/0.09544, allocations: 268.8 kB / 424.3 MB, free: 12.05 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.338e-05/0.09552, allocations: 40.5 kB / 424.3 MB, free: 12.01 MB / 362.7 MB Notification: Performance of SimCode: time 9.51e-07/0.09552, allocations: 0 / 424.3 MB, free: 12.01 MB / 362.7 MB Notification: Performance of Templates: time 0.1518/0.2474, allocations: 39.85 MB / 464.2 MB, free: 57 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: 4.707544019911438]