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.000978/0.000978, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001104/0.001104, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.967/0.967, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.2431/0.2431, allocations: 32.8 MB / 294.6 MB, free: 1.215 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.322e-06/1.322e-06, allocations: 0 / 376 MB, free: 4.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.703e-05/1.835e-05, allocations: 6.25 kB / 376 MB, free: 4.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.02127/0.02129, allocations: 28.83 MB / 404.8 MB, free: 8.039 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01069/0.03198, allocations: 13.08 MB / 417.9 MB, free: 10.91 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002036/0.03219, allocations: 15.88 kB / 417.9 MB, free: 10.89 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005381/0.03273, allocations: 234.3 kB / 418.2 MB, free: 10.66 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005827/0.03855, allocations: 3.693 MB / 421.8 MB, free: 6.957 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003851/0.0424, allocations: 2.387 MB / 424.2 MB, free: 4.559 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006556/0.04306, allocations: 0.9194 MB / 425.2 MB, free: 3.633 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002648/0.04332, allocations: 217.1 kB / 425.4 MB, free: 3.418 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000593/0.04392, allocations: 0.5567 MB / 425.9 MB, free: 2.859 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000212/0.04413, allocations: 239.3 kB / 426.2 MB, free: 2.625 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.872e-05/0.04417, allocations: 35.94 kB / 426.2 MB, free: 2.59 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007507/0.05167, allocations: 6.91 MB / 433.1 MB, free: 11.67 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.05178, allocations: 107.6 kB / 433.2 MB, free: 11.57 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001425/0.05192, allocations: 163.7 kB / 433.4 MB, free: 11.41 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005352/0.05727, allocations: 5.379 MB / 438.7 MB, free: 6.016 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.05728, allocations: 4 kB / 438.8 MB, free: 6.012 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.05728, allocations: 0 / 438.8 MB, free: 6.012 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.05728, allocations: 0 / 438.8 MB, free: 6.012 MB / 410.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.001751/0.05903, allocations: 1.279 MB / 440 MB, free: 4.691 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.05907, allocations: 12.03 kB / 440 MB, free: 4.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/0.06018, allocations: 303.7 kB / 440.3 MB, free: 4.383 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003669/0.06055, allocations: 331.3 kB / 440.7 MB, free: 4.031 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.813e-05/0.06058, allocations: 25.03 kB / 440.7 MB, free: 4.008 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.611e-05/0.06061, allocations: 32.38 kB / 440.7 MB, free: 3.977 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/0.06189, allocations: 0.7021 MB / 441.4 MB, free: 3.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.0619, allocations: 192 / 441.4 MB, free: 3.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.512e-05/0.06194, allocations: 19.94 kB / 441.4 MB, free: 3.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.06195, allocations: 12 kB / 441.5 MB, free: 3.148 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000671/0.06262, allocations: 363.4 kB / 441.8 MB, free: 2.793 MB / 410.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.001788/0.06441, allocations: 2.269 MB / 444.1 MB, free: 448 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007955/0.0652, allocations: 358.7 kB / 444.4 MB, free: 76 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1564/0.2216, allocations: 81.17 kB / 444.5 MB, free: 105.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0214/0.243, allocations: 13.21 MB / 457.7 MB, free: 104.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.243, allocations: 40.52 kB / 457.8 MB, free: 104.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 2.795e-06/0.243, allocations: 0 / 457.8 MB, free: 104.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.001375/0.2444, allocations: 0.5927 MB / 458.3 MB, free: 104.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.2444, allocations: 113.2 kB / 458.5 MB, free: 104.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/0.2446, allocations: 319.5 kB / 458.8 MB, free: 104.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.2446, allocations: 32.92 kB / 458.8 MB, free: 104.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.2447, allocations: 261.7 kB / 459.1 MB, free: 103.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.2448, allocations: 88.3 kB / 459.1 MB, free: 103.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.268e-05/0.2448, allocations: 83.12 kB / 459.2 MB, free: 103.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.415e-05/0.2449, allocations: 0.5151 MB / 459.7 MB, free: 103.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.194e-05/0.245, allocations: 66.95 kB / 459.8 MB, free: 103.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.2451, allocations: 244.9 kB / 460 MB, free: 103.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002202/0.2454, allocations: 252.9 kB / 460.3 MB, free: 102.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2454, allocations: 3.031 kB / 460.3 MB, free: 102.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003338/0.2457, allocations: 310.3 kB / 460.6 MB, free: 102.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.2457, allocations: 8.844 kB / 460.6 MB, free: 102.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2457, allocations: 1.719 kB / 460.6 MB, free: 102.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.2457, allocations: 5.5 kB / 460.6 MB, free: 102.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.2459, allocations: 74 kB / 460.7 MB, free: 102.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.2459, allocations: 10.48 kB / 460.7 MB, free: 102.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.246, allocations: 42.25 kB / 460.7 MB, free: 102.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/0.2461, allocations: 11.16 kB / 460.7 MB, free: 102.8 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 9.023e-05/0.2461, allocations: 185.1 kB / 460.9 MB, free: 102.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.945e-05/0.2462, allocations: 41.78 kB / 461 MB, free: 102.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008995/0.2471, allocations: 1.239 MB / 462.2 MB, free: 102.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.765e-05/0.2471, allocations: 29.88 kB / 462.2 MB, free: 102.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2471, allocations: 0 / 462.2 MB, free: 102.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.2471, allocations: 0 / 462.2 MB, free: 102.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004267/0.2475, allocations: 0.6721 MB / 462.9 MB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.2475, allocations: 0 / 462.9 MB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/0.2477, allocations: 62.52 kB / 463 MB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.2477, allocations: 0 / 463 MB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.2477, allocations: 7.156 kB / 463 MB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.2477, allocations: 3.281 kB / 463 MB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2477, allocations: 3.469 kB / 463 MB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005726/0.2483, allocations: 0.8239 MB / 463.8 MB, free: 101.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.714e-05/0.2483, allocations: 88.06 kB / 463.9 MB, free: 101.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.817e-05/0.2484, allocations: 30.56 kB / 463.9 MB, free: 101.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.2485, allocations: 16.64 kB / 463.9 MB, free: 101.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.834e-05/0.2486, allocations: 33.64 kB / 464 MB, free: 101.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.2486, allocations: 10.06 kB / 464 MB, free: 101.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001648/0.2487, allocations: 303 kB / 464.3 MB, free: 101.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2487, allocations: 0 / 464.3 MB, free: 101.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001937/0.2507, allocations: 1.022 MB / 465.3 MB, free: 101 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.002563/0.2532, allocations: 1.308 MB / 466.6 MB, free: 100.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003922/0.2536, allocations: 323.2 kB / 466.9 MB, free: 100.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2536, allocations: 0 / 466.9 MB, free: 100.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.2538, allocations: 252.3 kB / 467.2 MB, free: 100.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006218/0.2545, allocations: 222.3 kB / 467.4 MB, free: 100.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001637/0.2561, allocations: 1.347 MB / 468.7 MB, free: 99.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000122/0.2562, allocations: 186.8 kB / 468.9 MB, free: 99.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003247/0.2566, allocations: 267.9 kB / 469.2 MB, free: 99.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.634e-05/0.2566, allocations: 45.08 kB / 469.2 MB, free: 99.77 MB / 410.7 MB Notification: Performance of SimCode: time 9.32e-07/0.2566, allocations: 4 kB / 469.2 MB, free: 99.77 MB / 410.7 MB Notification: Performance of Templates: time 0.03707/0.2937, allocations: 40.24 MB / 0.4975 GB, free: 70.69 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.92652256693691]