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.001819/0.001819, allocations: 74.11 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.002843/0.002843, allocations: 159.9 kB / 24.5 MB, free: 3.715 MB / 14.72 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.488/1.488, allocations: 177.2 MB / 204.9 MB, free: 8.984 MB / 190.1 MB " [Timeout remaining time 178] 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.2057/0.2057, allocations: 34.28 MB / 295.5 MB, free: 14.55 MB / 286.1 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.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.1.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.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 67.88 kB / 443.2 MB, free: 6.645 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.3002, allocations: 66 MB / 0.4972 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.02101/0.3212, allocations: 25.91 MB / 0.5225 GB, free: 12.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01396/0.3352, allocations: 11.78 MB / 0.534 GB, free: 4.953 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003524/0.3355, allocations: 14.12 kB / 0.5341 GB, free: 4.945 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007195/0.3362, allocations: 235.2 kB / 0.5343 GB, free: 4.816 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01064/0.3469, allocations: 3.645 MB / 0.5378 GB, free: 3.371 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006393/0.3533, allocations: 2.355 MB / 0.5401 GB, free: 2.211 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001198/0.3545, allocations: 0.9083 MB / 0.541 GB, free: 1.781 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004326/0.3549, allocations: 217.9 kB / 0.5412 GB, free: 1.676 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009684/0.3559, allocations: 443.3 kB / 0.5417 GB, free: 1.469 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003702/0.3563, allocations: 270.5 kB / 0.5419 GB, free: 1.316 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.967e-05/0.3563, allocations: 32.81 kB / 0.5419 GB, free: 1.316 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0161/0.3724, allocations: 6.9 MB / 0.5487 GB, free: 13.88 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002416/0.3727, allocations: 105 kB / 0.5488 GB, free: 13.79 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003958/0.3731, allocations: 182.9 kB / 0.549 GB, free: 13.7 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01127/0.3843, allocations: 4.427 MB / 0.5533 GB, free: 10.89 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.3843, allocations: 0 / 0.5533 GB, free: 10.89 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3843, allocations: 0 / 0.5533 GB, free: 10.89 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.3843, allocations: 1.281 kB / 0.5533 GB, free: 10.89 MB / 462.1 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.004053/0.3884, allocations: 1.201 MB / 0.5545 GB, free: 10.04 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.3884, allocations: 10.41 kB / 0.5545 GB, free: 10.04 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001801/0.3902, allocations: 206 kB / 0.5547 GB, free: 9.957 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006611/0.3909, allocations: 315.7 kB / 0.555 GB, free: 9.688 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.109e-05/0.3909, allocations: 26.59 kB / 0.555 GB, free: 9.676 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.883e-05/0.391, allocations: 30.75 kB / 0.555 GB, free: 9.664 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001809/0.3928, allocations: 0.7498 MB / 0.5557 GB, free: 9.082 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.3928, allocations: 1.156 kB / 0.5557 GB, free: 9.082 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.291e-05/0.3929, allocations: 15.53 kB / 0.5558 GB, free: 9.07 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.3929, allocations: 12.19 kB / 0.5558 GB, free: 9.066 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001774/0.3946, allocations: 0.5386 MB / 0.5563 GB, free: 8.809 MB / 462.1 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.003013/0.3977, allocations: 1.863 MB / 0.5581 GB, free: 7.098 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001713/0.3994, allocations: 446.8 kB / 0.5585 GB, free: 6.652 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005123/0.3999, allocations: 192.7 kB / 0.5587 GB, free: 6.461 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05053/0.4504, allocations: 13.2 MB / 0.5716 GB, free: 9.238 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.265e-05/0.4505, allocations: 34.56 kB / 0.5717 GB, free: 9.195 MB / 478.1 MB Notification: Performance of pre-optimization done (n=25): time 1.823e-06/0.4505, allocations: 4 kB / 0.5717 GB, free: 9.191 MB / 478.1 MB Notification: Performance of matching and sorting (n=25): time 0.003151/0.4536, allocations: 0.817 MB / 0.5725 GB, free: 8.367 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.777e-05/0.4537, allocations: 110.8 kB / 0.5726 GB, free: 8.234 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003516/0.4541, allocations: 272.5 kB / 0.5728 GB, free: 7.961 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.092e-05/0.4541, allocations: 33.7 kB / 0.5729 GB, free: 7.922 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001845/0.4543, allocations: 220.3 kB / 0.5731 GB, free: 7.703 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.359e-05/0.4544, allocations: 83.27 kB / 0.5731 GB, free: 7.621 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.4545, allocations: 69.69 kB / 0.5732 GB, free: 7.547 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.4547, allocations: 338.8 kB / 0.5735 GB, free: 7.207 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004477/0.4551, allocations: 147.9 kB / 0.5737 GB, free: 7.062 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005562/0.4557, allocations: 291.9 kB / 0.574 GB, free: 6.727 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009431/0.4566, allocations: 381 kB / 0.5743 GB, free: 6.32 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4566, allocations: 0 / 0.5743 GB, free: 6.32 MB / 478.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001135/0.4578, allocations: 445.8 kB / 0.5747 GB, free: 5.879 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.4578, allocations: 11.94 kB / 0.5748 GB, free: 5.867 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.4578, allocations: 4 kB / 0.5748 GB, free: 5.863 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.4578, allocations: 4 kB / 0.5748 GB, free: 5.859 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003753/0.4582, allocations: 88.19 kB / 0.5748 GB, free: 5.773 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.664e-05/0.4582, allocations: 19.86 kB / 0.5749 GB, free: 5.754 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003106/0.4585, allocations: 43.81 kB / 0.5749 GB, free: 5.711 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.474e-05/0.4586, allocations: 16 kB / 0.5749 GB, free: 5.695 MB / 478.1 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.0001957/0.4588, allocations: 161.7 kB / 0.5751 GB, free: 5.527 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.984e-05/0.4588, allocations: 31.81 kB / 0.5751 GB, free: 5.496 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0028/0.4616, allocations: 2.017 MB / 0.5771 GB, free: 3.473 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-05/0.4617, allocations: 27.95 kB / 0.5771 GB, free: 3.445 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.4617, allocations: 3.938 kB / 0.5771 GB, free: 3.441 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/0.4617, allocations: 7.969 kB / 0.5771 GB, free: 3.434 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.4627, allocations: 0.8641 MB / 0.578 GB, free: 2.535 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.4627, allocations: 0 / 0.578 GB, free: 2.535 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003523/0.463, allocations: 71.92 kB / 0.578 GB, free: 2.465 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.463, allocations: 0 / 0.578 GB, free: 2.465 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.4631, allocations: 12 kB / 0.578 GB, free: 2.453 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.4631, allocations: 3.984 kB / 0.578 GB, free: 2.449 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4631, allocations: 0 / 0.578 GB, free: 2.449 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001731/0.4648, allocations: 1.134 MB / 0.5791 GB, free: 1.293 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.4649, allocations: 91.16 kB / 0.5792 GB, free: 1.203 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.613e-05/0.465, allocations: 31.77 kB / 0.5793 GB, free: 1.172 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002801/0.4653, allocations: 23.97 kB / 0.5793 GB, free: 1.148 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.4654, allocations: 35.88 kB / 0.5793 GB, free: 1.113 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.837e-05/0.4654, allocations: 20 kB / 0.5793 GB, free: 1.094 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003508/0.4657, allocations: 311.1 kB / 0.5796 GB, free: 0.793 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4657, allocations: 0 / 0.5796 GB, free: 0.793 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003703/0.4694, allocations: 1.006 MB / 0.5806 GB, free: 15.79 MB / 494.1 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.004873/0.4743, allocations: 1.17 MB / 0.5818 GB, free: 14.61 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001549/0.4759, allocations: 0.6066 MB / 0.5824 GB, free: 14 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.4759, allocations: 4.625 kB / 0.5824 GB, free: 14 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007639/0.4766, allocations: 432.8 kB / 0.5828 GB, free: 13.57 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/0.4778, allocations: 192.7 kB / 0.583 GB, free: 13.38 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00249/0.4803, allocations: 1.558 MB / 0.5845 GB, free: 11.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/0.4807, allocations: 370.2 kB / 0.5848 GB, free: 11.41 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004782/0.4812, allocations: 270.8 kB / 0.5851 GB, free: 11.14 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.4813, allocations: 44.48 kB / 0.5851 GB, free: 11.1 MB / 494.1 MB Notification: Performance of SimCode: time 1.172e-06/0.4813, allocations: 0 / 0.5851 GB, free: 11.1 MB / 494.1 MB Notification: Performance of Templates: time 0.06061/0.5419, allocations: 39.34 MB / 0.6235 GB, free: 3.922 MB / 0.5137 GB " [Timeout remaining time 659] 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=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveLinear/TestValveLinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.849297004984692]