Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001114/0.001114, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001156/0.001156, allocations: 171 kB / 24.91 MB, free: 9.145 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.9449/0.9449, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3161/0.3161, allocations: 34.27 MB / 296.1 MB, free: 0.7305 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 325.3 MB, free: 7.668 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.981e-05/2.131e-05, allocations: 3.078 kB / 325.3 MB, free: 7.664 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.01288/0.0129, allocations: 14.86 MB / 340.1 MB, free: 8.742 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01027/0.02317, allocations: 11.85 MB / 352 MB, free: 12.84 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002086/0.02338, allocations: 15.88 kB / 352 MB, free: 12.83 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003903/0.02377, allocations: 142.9 kB / 352.2 MB, free: 12.69 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006136/0.02991, allocations: 3.342 MB / 355.5 MB, free: 9.332 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003896/0.0338, allocations: 1.949 MB / 357.4 MB, free: 7.375 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009458/0.03475, allocations: 0.9429 MB / 358.4 MB, free: 6.43 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002951/0.03504, allocations: 221 kB / 358.6 MB, free: 6.211 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006102/0.03565, allocations: 0.5571 MB / 359.2 MB, free: 5.652 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002179/0.03587, allocations: 227.3 kB / 359.4 MB, free: 5.43 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.983e-05/0.03591, allocations: 32 kB / 359.4 MB, free: 5.398 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00956/0.04547, allocations: 7.256 MB / 366.7 MB, free: 14.14 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001501/0.04562, allocations: 107.6 kB / 366.8 MB, free: 14.03 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002381/0.04586, allocations: 159.7 kB / 366.9 MB, free: 13.88 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009013/0.05487, allocations: 5.246 MB / 372.2 MB, free: 8.617 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.05488, allocations: 0 / 372.2 MB, free: 8.617 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.05488, allocations: 0 / 372.2 MB, free: 8.617 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.05488, allocations: 0 / 372.2 MB, free: 8.617 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.00219/0.05707, allocations: 1.116 MB / 373.3 MB, free: 7.473 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.05711, allocations: 12.03 kB / 373.3 MB, free: 7.461 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.05817, allocations: 335.8 kB / 373.6 MB, free: 7.133 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003744/0.05854, allocations: 292.5 kB / 373.9 MB, free: 6.816 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.009e-05/0.05857, allocations: 25.03 kB / 373.9 MB, free: 6.793 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.178e-05/0.0586, allocations: 28.38 kB / 374 MB, free: 6.766 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008459/0.05945, allocations: 0.6705 MB / 374.6 MB, free: 6.012 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.05946, allocations: 4.125 kB / 374.6 MB, free: 6.008 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.591e-05/0.05949, allocations: 19.94 kB / 374.7 MB, free: 5.988 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.0595, allocations: 8 kB / 374.7 MB, free: 5.98 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005422/0.06004, allocations: 317.8 kB / 375 MB, free: 5.672 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.001421/0.06146, allocations: 1.533 MB / 376.5 MB, free: 4.078 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006838/0.06214, allocations: 330.2 kB / 376.8 MB, free: 3.746 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.503e-05/0.06222, allocations: 60.77 kB / 376.9 MB, free: 3.684 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2981/0.3603, allocations: 72.55 MB / 449.5 MB, free: 102 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.68e-05/0.3603, allocations: 36.55 kB / 449.5 MB, free: 101.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 2.615e-06/0.3603, allocations: 4 kB / 449.5 MB, free: 101.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.0012/0.3615, allocations: 0.5206 MB / 450 MB, free: 101.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.3616, allocations: 113.1 kB / 450.1 MB, free: 101.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.3617, allocations: 254.8 kB / 450.4 MB, free: 101.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.3617, allocations: 31.7 kB / 450.4 MB, free: 101.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.66e-05/0.3618, allocations: 187.9 kB / 450.6 MB, free: 101.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.748e-05/0.3618, allocations: 88.2 kB / 450.7 MB, free: 101.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.352e-05/0.3619, allocations: 63.61 kB / 450.7 MB, free: 101.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.616e-05/0.362, allocations: 348.3 kB / 451.1 MB, free: 101.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.444e-05/0.362, allocations: 49.41 kB / 451.1 MB, free: 101.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.3621, allocations: 197.8 kB / 451.3 MB, free: 101 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.3623, allocations: 215 kB / 451.5 MB, free: 100.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3623, allocations: 0 / 451.5 MB, free: 100.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002169/0.3625, allocations: 224.5 kB / 451.7 MB, free: 100.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.3625, allocations: 6.188 kB / 451.8 MB, free: 100.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.3625, allocations: 12.42 kB / 451.8 MB, free: 100.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.3625, allocations: 2.625 kB / 451.8 MB, free: 100.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.3627, allocations: 79.05 kB / 451.8 MB, free: 100.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.3627, allocations: 6.219 kB / 451.8 MB, free: 100.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.3628, allocations: 36.53 kB / 451.9 MB, free: 100.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.3629, allocations: 13.59 kB / 451.9 MB, free: 100.9 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_a.phase,V1.state_b.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 8.815e-05/0.3629, allocations: 135 kB / 452 MB, free: 100.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.876e-05/0.363, allocations: 29.75 kB / 452.1 MB, free: 100.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007673/0.3638, allocations: 1.114 MB / 453.2 MB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-05/0.3638, allocations: 30.05 kB / 453.2 MB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.3638, allocations: 0 / 453.2 MB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.3638, allocations: 3.375 kB / 453.2 MB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000464/0.3642, allocations: 0.5475 MB / 453.8 MB, free: 100.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.3642, allocations: 3.594 kB / 453.8 MB, free: 100.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.3644, allocations: 66.88 kB / 453.8 MB, free: 100.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.3644, allocations: 0 / 453.8 MB, free: 100.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.3644, allocations: 9.062 kB / 453.8 MB, free: 100.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.3644, allocations: 0 / 453.8 MB, free: 100.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.3644, allocations: 0 / 453.8 MB, free: 100.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004442/0.3648, allocations: 0.6657 MB / 454.5 MB, free: 100.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.229e-05/0.3649, allocations: 86.16 kB / 454.6 MB, free: 100.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.676e-05/0.3649, allocations: 23.61 kB / 454.6 MB, free: 100.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.365, allocations: 26.3 kB / 454.6 MB, free: 100.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.741e-05/0.3651, allocations: 34.81 kB / 454.7 MB, free: 100.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.3651, allocations: 6.297 kB / 454.7 MB, free: 100.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001029/0.3652, allocations: 154.3 kB / 454.8 MB, free: 100.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3652, allocations: 0 / 454.8 MB, free: 100.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002422/0.3676, allocations: 1.011 MB / 455.8 MB, free: 100.1 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.003159/0.3708, allocations: 1.362 MB / 457.2 MB, free: 99.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003984/0.3712, allocations: 247.5 kB / 457.4 MB, free: 99.87 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/0.3712, allocations: 3.906 kB / 457.4 MB, free: 99.87 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001624/0.3714, allocations: 207.3 kB / 457.6 MB, free: 99.85 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006038/0.372, allocations: 212.6 kB / 457.8 MB, free: 99.76 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/0.3736, allocations: 1.334 MB / 459.2 MB, free: 98.63 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.3737, allocations: 182.1 kB / 459.4 MB, free: 98.46 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000303/0.374, allocations: 255.8 kB / 459.6 MB, free: 98.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003132/0.3743, allocations: 206.1 kB / 459.8 MB, free: 98.17 MB / 410.7 MB Notification: Performance of SimCode: time 1.212e-06/0.3743, allocations: 4 kB / 459.8 MB, free: 98.16 MB / 410.7 MB Notification: Performance of Templates: time 0.04118/0.4155, allocations: 44.43 MB / 0.4924 GB, free: 56.42 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.7840846930630505]