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.000826/0.000826, allocations: 76.45 kB / 20.69 MB, free: 3.867 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.0007819/0.0007819, allocations: 165.9 kB / 23.96 MB, free: 0.5938 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.757/0.757, allocations: 158.6 MB / 185.7 MB, free: 3.043 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.1204/0.1204, allocations: 32.37 MB / 270.3 MB, free: 14.98 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.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..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.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..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.303e-06/1.303e-06, allocations: 0 / 408.1 MB, free: 1.723 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.604e-05/1.734e-05, allocations: 2.281 kB / 408.1 MB, free: 1.719 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.01767/0.01769, allocations: 25.65 MB / 433.8 MB, free: 7.977 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.009106/0.02679, allocations: 11.78 MB / 445.5 MB, free: 12.16 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001861/0.02698, allocations: 11.88 kB / 445.5 MB, free: 12.15 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005039/0.02748, allocations: 234.3 kB / 445.8 MB, free: 11.92 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004994/0.03248, allocations: 3.682 MB / 449.5 MB, free: 8.223 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003599/0.03607, allocations: 2.387 MB / 451.8 MB, free: 5.824 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006515/0.03673, allocations: 0.9117 MB / 452.8 MB, free: 4.91 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002552/0.03698, allocations: 220.9 kB / 453 MB, free: 4.691 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000777/0.03776, allocations: 0.5374 MB / 453.5 MB, free: 4.152 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.03795, allocations: 231.3 kB / 453.7 MB, free: 3.926 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.703e-05/0.03799, allocations: 36 kB / 453.8 MB, free: 3.891 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006869/0.04486, allocations: 6.902 MB / 460.7 MB, free: 12.98 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003464/0.04521, allocations: 103.6 kB / 460.8 MB, free: 12.88 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.04532, allocations: 155.7 kB / 460.9 MB, free: 12.73 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005261/0.05058, allocations: 5.543 MB / 466.5 MB, free: 7.172 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.05058, allocations: 3.984 kB / 466.5 MB, free: 7.168 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.05058, allocations: 0 / 466.5 MB, free: 7.168 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.05059, allocations: 4 kB / 466.5 MB, free: 7.164 MB / 442.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.001756/0.05235, allocations: 1.188 MB / 467.7 MB, free: 5.934 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.05238, allocations: 12.03 kB / 467.7 MB, free: 5.922 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008325/0.05321, allocations: 212.5 kB / 467.9 MB, free: 5.715 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006287/0.05384, allocations: 320.4 kB / 468.2 MB, free: 5.379 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.05386, allocations: 25.03 kB / 468.2 MB, free: 5.355 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.842e-05/0.05389, allocations: 28.38 kB / 468.2 MB, free: 5.328 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008668/0.05476, allocations: 0.7375 MB / 469 MB, free: 4.516 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.05477, allocations: 4.125 kB / 469 MB, free: 4.512 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.765e-05/0.0548, allocations: 15.94 kB / 469 MB, free: 4.496 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.0548, allocations: 8 kB / 469 MB, free: 4.488 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008132/0.05562, allocations: 0.5488 MB / 469.6 MB, free: 3.938 MB / 442.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.001519/0.05714, allocations: 1.845 MB / 471.4 MB, free: 2.023 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007996/0.05794, allocations: 450.1 kB / 471.8 MB, free: 1.574 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002475/0.05818, allocations: 184.7 kB / 472 MB, free: 1.391 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1753/0.2335, allocations: 12.71 MB / 484.7 MB, free: 100.7 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.2335, allocations: 40.59 kB / 484.8 MB, free: 100.7 MB / 442.7 MB Notification: Performance of pre-optimization done (n=25): time 2.215e-06/0.2336, allocations: 0 / 484.8 MB, free: 100.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=25): time 0.001531/0.2351, allocations: 0.8152 MB / 485.6 MB, free: 100.5 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.2351, allocations: 105.9 kB / 485.7 MB, free: 100.3 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.2353, allocations: 286.1 kB / 486 MB, free: 100.2 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.2353, allocations: 28.89 kB / 486 MB, free: 100.1 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.897e-05/0.2354, allocations: 213.8 kB / 486.2 MB, free: 100 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.357e-05/0.2354, allocations: 89.09 kB / 486.3 MB, free: 99.95 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.461e-05/0.2355, allocations: 68.34 kB / 486.4 MB, free: 99.91 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.555e-05/0.2356, allocations: 343.5 kB / 486.7 MB, free: 99.58 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/0.2357, allocations: 148.4 kB / 486.8 MB, free: 99.54 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00023/0.236, allocations: 303.1 kB / 487.1 MB, free: 99.33 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004093/0.2364, allocations: 373.8 kB / 487.5 MB, free: 99.14 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.2364, allocations: 8.156 kB / 487.5 MB, free: 99.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004975/0.2369, allocations: 435.4 kB / 487.9 MB, free: 98.99 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.2369, allocations: 6.344 kB / 487.9 MB, free: 98.99 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.2369, allocations: 3.281 kB / 487.9 MB, free: 98.99 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.2369, allocations: 3.031 kB / 487.9 MB, free: 98.99 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.2371, allocations: 90.3 kB / 488 MB, free: 98.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.2371, allocations: 6.938 kB / 488 MB, free: 98.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.2372, allocations: 58.95 kB / 488.1 MB, free: 98.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/0.2373, allocations: 11.59 kB / 488.1 MB, free: 98.96 MB / 442.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.0001078/0.2374, allocations: 164.2 kB / 488.3 MB, free: 98.82 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.673e-05/0.2374, allocations: 32.75 kB / 488.3 MB, free: 98.8 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001235/0.2386, allocations: 2 MB / 490.3 MB, free: 97.96 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-05/0.2387, allocations: 34.69 kB / 490.3 MB, free: 97.95 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.2387, allocations: 0 / 490.3 MB, free: 97.95 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.2387, allocations: 0 / 490.3 MB, free: 97.95 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004616/0.2391, allocations: 0.8761 MB / 491.2 MB, free: 97.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.2391, allocations: 0 / 491.2 MB, free: 97.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001485/0.2393, allocations: 72.27 kB / 491.3 MB, free: 97.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.2393, allocations: 8.062 kB / 491.3 MB, free: 97.48 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.2393, allocations: 7.219 kB / 491.3 MB, free: 97.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.2393, allocations: 0 / 491.3 MB, free: 97.48 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.2393, allocations: 0 / 491.3 MB, free: 97.48 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007628/0.2401, allocations: 1.138 MB / 492.4 MB, free: 96.94 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.858e-05/0.2401, allocations: 92.22 kB / 492.5 MB, free: 96.9 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.31e-05/0.2401, allocations: 22.56 kB / 492.5 MB, free: 96.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.2403, allocations: 29.31 kB / 492.6 MB, free: 96.88 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.174e-05/0.2403, allocations: 37.12 kB / 492.6 MB, free: 96.87 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.2403, allocations: 16.34 kB / 492.6 MB, free: 96.87 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001649/0.2405, allocations: 298.8 kB / 492.9 MB, free: 96.72 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2405, allocations: 0 / 492.9 MB, free: 96.72 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001735/0.2422, allocations: 1.009 MB / 493.9 MB, free: 96.62 MB / 442.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.002766/0.245, allocations: 1.309 MB / 495.2 MB, free: 96.35 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006981/0.2457, allocations: 0.6091 MB / 495.8 MB, free: 96.15 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2457, allocations: 1.219 kB / 495.8 MB, free: 96.15 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003785/0.2461, allocations: 434.6 kB / 496.3 MB, free: 95.99 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000577/0.2467, allocations: 196.6 kB / 496.5 MB, free: 95.95 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.248, allocations: 1.554 MB / 498 MB, free: 95.14 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/0.2482, allocations: 374.4 kB / 498.4 MB, free: 95.03 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.967e-05/0.2483, allocations: 44.2 kB / 498.4 MB, free: 95.02 MB / 442.7 MB Notification: Performance of SimCode: time 5.51e-07/0.2483, allocations: 0 / 498.4 MB, free: 95.02 MB / 442.7 MB Notification: Performance of Templates: time 0.01913/0.2675, allocations: 24.17 MB / 0.5104 GB, free: 81.45 MB / 442.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.diff",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.864520120434463]