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.001485/0.001485, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001629/0.001629, allocations: 161.7 kB / 24.27 MB, free: 172 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 1.552/1.552, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.3357/0.3357, allocations: 32.8 MB / 293.9 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.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_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.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_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 375.3 MB, free: 4.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.05e-05/3.218e-05, allocations: 6.25 kB / 375.3 MB, free: 4.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.03876/0.03879, allocations: 25.77 MB / 401 MB, free: 11.1 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01963/0.05842, allocations: 11.78 MB / 412.8 MB, free: 15.27 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003928/0.05881, allocations: 15.81 kB / 412.8 MB, free: 15.26 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007981/0.05961, allocations: 222.4 kB / 413.1 MB, free: 15.04 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01142/0.07103, allocations: 3.705 MB / 416.8 MB, free: 11.32 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007464/0.0785, allocations: 2.391 MB / 419.1 MB, free: 8.918 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.00145/0.07995, allocations: 0.9117 MB / 420.1 MB, free: 8 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004737/0.08042, allocations: 217 kB / 420.3 MB, free: 7.785 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001087/0.08151, allocations: 0.5529 MB / 420.8 MB, free: 7.23 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003897/0.0819, allocations: 231.3 kB / 421 MB, free: 7.004 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 6.602e-05/0.08196, allocations: 40 kB / 421.1 MB, free: 6.965 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01497/0.09693, allocations: 6.914 MB / 428 MB, free: 44 kB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002755/0.09721, allocations: 107.7 kB / 428.1 MB, free: 15.94 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004115/0.09762, allocations: 155.6 kB / 428.3 MB, free: 15.79 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01289/0.1105, allocations: 5.558 MB / 433.8 MB, free: 10.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.1105, allocations: 0 / 433.8 MB, free: 10.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1105, allocations: 0 / 433.8 MB, free: 10.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.1105, allocations: 4 kB / 433.8 MB, free: 10.21 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.003401/0.1139, allocations: 1.192 MB / 435 MB, free: 8.984 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.114, allocations: 8.031 kB / 435 MB, free: 8.977 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001867/0.1158, allocations: 315.7 kB / 435.3 MB, free: 8.668 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007946/0.1166, allocations: 332.4 kB / 435.7 MB, free: 8.316 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.484e-05/0.1167, allocations: 28.97 kB / 435.7 MB, free: 8.289 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.903e-05/0.1167, allocations: 28.38 kB / 435.7 MB, free: 8.262 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001937/0.1187, allocations: 0.7375 MB / 436.4 MB, free: 7.445 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.1187, allocations: 4.188 kB / 436.5 MB, free: 7.441 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.68e-05/0.1188, allocations: 19.94 kB / 436.5 MB, free: 7.422 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/0.1188, allocations: 8 kB / 436.5 MB, free: 7.414 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002231/0.121, allocations: 0.5371 MB / 437 MB, free: 6.879 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.004384/0.1254, allocations: 1.86 MB / 438.9 MB, free: 4.949 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00225/0.1276, allocations: 450.1 kB / 439.3 MB, free: 4.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007257/0.1284, allocations: 184.7 kB / 439.5 MB, free: 4.316 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2054/0.3338, allocations: 13.19 MB / 452.7 MB, free: 105 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/0.3339, allocations: 37.97 kB / 452.7 MB, free: 104.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 2.144e-06/0.3339, allocations: 2.078 kB / 452.7 MB, free: 104.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.002955/0.3368, allocations: 0.8696 MB / 453.6 MB, free: 104.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.3369, allocations: 110.1 kB / 453.7 MB, free: 104.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002606/0.3371, allocations: 275.6 kB / 454 MB, free: 104.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.3371, allocations: 29.7 kB / 454 MB, free: 104.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.3373, allocations: 210 kB / 454.2 MB, free: 104.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.09e-05/0.3373, allocations: 93.3 kB / 454.3 MB, free: 104.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.3374, allocations: 70.42 kB / 454.4 MB, free: 104.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.853e-05/0.3375, allocations: 343.2 kB / 454.7 MB, free: 103.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004068/0.3379, allocations: 150.9 kB / 454.8 MB, free: 103.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004547/0.3383, allocations: 300.1 kB / 455.1 MB, free: 103.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008039/0.3392, allocations: 377.9 kB / 455.5 MB, free: 103.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.3392, allocations: 0 / 455.5 MB, free: 103.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0009962/0.3402, allocations: 461.7 kB / 456 MB, free: 103.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.3402, allocations: 6.344 kB / 456 MB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.3402, allocations: 0 / 456 MB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.434e-05/0.3402, allocations: 6.562 kB / 456 MB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003432/0.3405, allocations: 88.77 kB / 456.1 MB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.3406, allocations: 3.094 kB / 456.1 MB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002877/0.3408, allocations: 51.78 kB / 456.1 MB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.106e-05/0.3409, allocations: 17.03 kB / 456.1 MB, free: 103.2 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.0001582/0.341, allocations: 162.6 kB / 456.3 MB, free: 103.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.607e-05/0.3411, allocations: 43.12 kB / 456.3 MB, free: 103.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002197/0.3433, allocations: 2.007 MB / 458.3 MB, free: 102.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.647e-05/0.3433, allocations: 27.8 kB / 458.4 MB, free: 102.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.3433, allocations: 3.25 kB / 458.4 MB, free: 102.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.3434, allocations: 3.828 kB / 458.4 MB, free: 102.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007836/0.3441, allocations: 0.8637 MB / 459.2 MB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.3441, allocations: 3.938 kB / 459.2 MB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003299/0.3445, allocations: 81.3 kB / 459.3 MB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.3445, allocations: 5.594 kB / 459.3 MB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/0.3445, allocations: 7.219 kB / 459.3 MB, free: 101.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.3445, allocations: 3.25 kB / 459.3 MB, free: 101.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3445, allocations: 0 / 459.3 MB, free: 101.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001375/0.3459, allocations: 1.145 MB / 460.5 MB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.475e-05/0.3459, allocations: 87.42 kB / 460.6 MB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.827e-05/0.346, allocations: 28.8 kB / 460.6 MB, free: 101.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002788/0.3463, allocations: 32.64 kB / 460.6 MB, free: 101.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.8e-05/0.3464, allocations: 33.08 kB / 460.7 MB, free: 101.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-05/0.3464, allocations: 11.78 kB / 460.7 MB, free: 101.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002656/0.3467, allocations: 305.8 kB / 461 MB, free: 101 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3467, allocations: 0 / 461 MB, free: 101 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00255/0.3492, allocations: 1.015 MB / 462 MB, free: 100.8 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.003986/0.3532, allocations: 1.298 MB / 463.3 MB, free: 100.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001219/0.3544, allocations: 0.609 MB / 463.9 MB, free: 100.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3544, allocations: 0 / 463.9 MB, free: 100.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000582/0.355, allocations: 431.9 kB / 464.3 MB, free: 100.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.3561, allocations: 226.4 kB / 464.5 MB, free: 100.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/0.3578, allocations: 1.55 MB / 466.1 MB, free: 99.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.3581, allocations: 367.5 kB / 466.4 MB, free: 99.21 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003744/0.3585, allocations: 267.4 kB / 466.7 MB, free: 99.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.3586, allocations: 49 kB / 466.7 MB, free: 99.19 MB / 410.7 MB Notification: Performance of SimCode: time 1.283e-06/0.3586, allocations: 0 / 466.7 MB, free: 99.19 MB / 410.7 MB Notification: Performance of Templates: time 0.05119/0.4098, allocations: 39.58 MB / 0.4945 GB, free: 73.17 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 7.815511508961208]