Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.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.001705/0.001705, allocations: 106.5 kB / 21.2 MB, free: 0.6406 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.002077/0.002077, allocations: 216.6 kB / 24.49 MB, free: 3.93 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.46/1.46, allocations: 230.6 MB / 258.3 MB, free: 7.738 MB / 206.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.2595/0.2595, allocations: 46.97 MB / 361.6 MB, free: 4.004 MB / 286.1 MB " [Timeout remaining time 179] 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.TestValveCoefficients,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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|V1.minLimiter.y|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|SourceP2.ports.1..m_flow|SourceP2.ports.1..p|SourceP2.ports.1..h_outflow|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|SinkP2.ports.1..m_flow|SinkP2.ports.1..p|SinkP2.ports.1..h_outflow|SourceP3.ports.1..m_flow|SourceP3.ports.1..p|SourceP3.ports.1..h_outflow|V3.port_b.m_flow|V3.port_b.p|V3.port_b.h_outflow|V3.minLimiter.y|SinkP3.ports.1..m_flow|SinkP3.ports.1..p|SinkP3.ports.1..h_outflow|SourceP4.ports.1..m_flow|SourceP4.ports.1..p|SourceP4.ports.1..h_outflow|V4.port_b.m_flow|V4.port_b.p|V4.port_b.h_outflow|V4.minLimiter.y|SinkP4.ports.1..m_flow|SinkP4.ports.1..p|SinkP4.ports.1..h_outflow",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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|V1.minLimiter.y|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|SourceP2.ports.1..m_flow|SourceP2.ports.1..p|SourceP2.ports.1..h_outflow|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|SinkP2.ports.1..m_flow|SinkP2.ports.1..p|SinkP2.ports.1..h_outflow|SourceP3.ports.1..m_flow|SourceP3.ports.1..p|SourceP3.ports.1..h_outflow|V3.port_b.m_flow|V3.port_b.p|V3.port_b.h_outflow|V3.minLimiter.y|SinkP3.ports.1..m_flow|SinkP3.ports.1..p|SinkP3.ports.1..h_outflow|SourceP4.ports.1..m_flow|SourceP4.ports.1..p|SourceP4.ports.1..h_outflow|V4.port_b.m_flow|V4.port_b.p|V4.port_b.h_outflow|V4.minLimiter.y|SinkP4.ports.1..m_flow|SinkP4.ports.1..p|SinkP4.ports.1..h_outflow",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 59.91 kB / 0.4974 GB, free: 7.176 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.3541, allocations: 66.03 MB / 0.5618 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients): time 0.08892/0.443, allocations: 75.28 MB / 0.6353 GB, free: 8.594 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03896/0.482, allocations: 25.74 MB / 0.6605 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001855/0.4838, allocations: 71.25 kB / 0.6605 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002534/0.4863, allocations: 0.8808 MB / 0.6614 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01382/0.5002, allocations: 5.119 MB / 0.6664 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01531/0.5155, allocations: 5.624 MB / 0.6719 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005815/0.5213, allocations: 3.753 MB / 0.6756 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001567/0.5229, allocations: 0.841 MB / 0.6764 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00288/0.5257, allocations: 1.448 MB / 0.6778 GB, free: 13 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001753/0.5275, allocations: 1.097 MB / 0.6789 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000256/0.5277, allocations: 136 kB / 0.679 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01958/0.5473, allocations: 8.421 MB / 0.6872 GB, free: 3.332 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0007897/0.5481, allocations: 406.5 kB / 0.6876 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001247/0.5494, allocations: 0.7314 MB / 0.6883 GB, free: 2.199 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01717/0.5665, allocations: 6.9 MB / 0.6951 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.882e-06/0.5665, allocations: 0 / 0.6951 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.674e-06/0.5665, allocations: 0 / 0.6951 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.522e-05/0.5666, allocations: 3.938 kB / 0.6951 GB, free: 11.28 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.007007/0.5736, allocations: 2.716 MB / 0.6977 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.5736, allocations: 16.02 kB / 0.6977 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007392/0.581, allocations: 0.8506 MB / 0.6986 GB, free: 7.648 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002154/0.5832, allocations: 0.9036 MB / 0.6994 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001394/0.5833, allocations: 114.3 kB / 0.6996 GB, free: 6.602 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00018/0.5835, allocations: 116 kB / 0.6997 GB, free: 6.488 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006715/0.5902, allocations: 2.823 MB / 0.7024 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.32e-05/0.5902, allocations: 3.938 kB / 0.7024 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001502/0.5904, allocations: 63.94 kB / 0.7025 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.341e-05/0.5904, allocations: 32 kB / 0.7025 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006126/0.5966, allocations: 2.053 MB / 0.7045 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01288/0.6094, allocations: 7.195 MB / 0.7116 GB, free: 9.801 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005657/0.6151, allocations: 1.51 MB / 0.713 GB, free: 8.285 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001177/0.6163, allocations: 486.5 kB / 0.7135 GB, free: 7.809 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04882/0.6651, allocations: 13.12 MB / 0.7263 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.863e-05/0.6651, allocations: 43.22 kB / 0.7263 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=80): time 5.28e-06/0.6652, allocations: 7.984 kB / 0.7264 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of matching and sorting (n=80): time 0.009905/0.6751, allocations: 2.561 MB / 0.7289 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000171/0.6752, allocations: 265.7 kB / 0.7291 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001452/0.6767, allocations: 0.899 MB / 0.73 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.17e-05/0.6768, allocations: 41.7 kB / 0.73 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007204/0.6775, allocations: 0.6714 MB / 0.7307 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002937/0.6778, allocations: 281.6 kB / 0.7309 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004295/0.6782, allocations: 266.8 kB / 0.7312 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000196/0.6784, allocations: 345.9 kB / 0.7315 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001313/0.6797, allocations: 477.8 kB / 0.732 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002016/0.6817, allocations: 1.094 MB / 0.7331 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002909/0.6846, allocations: 1.301 MB / 0.7343 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.533e-06/0.6847, allocations: 4 kB / 0.7343 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003895/0.6886, allocations: 1.455 MB / 0.7358 GB, free: 456 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.6886, allocations: 8 kB / 0.7358 GB, free: 448 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/0.6886, allocations: 16 kB / 0.7358 GB, free: 432 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.854e-05/0.6886, allocations: 16 kB / 0.7358 GB, free: 416 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001357/0.69, allocations: 343.9 kB / 0.7361 GB, free: 72 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.239e-05/0.69, allocations: 27.92 kB / 0.7361 GB, free: 44 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.244/0.934, allocations: 173.5 kB / 0.7363 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002219/0.9342, allocations: 75.53 kB / 0.7364 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00181/0.936, allocations: 0.657 MB / 0.737 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001661/0.9377, allocations: 1.103 MB / 0.7381 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002471/0.9402, allocations: 1.281 MB / 0.7394 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.018e-05/0.9402, allocations: 3.906 kB / 0.7394 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=143) (initialization_lambda0): time 0.003131/0.9433, allocations: 1.433 MB / 0.7408 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.9433, allocations: 7.938 kB / 0.7408 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.9433, allocations: 15.75 kB / 0.7408 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.9434, allocations: 22.25 kB / 0.7408 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/0.9445, allocations: 331.6 kB / 0.7411 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.55e-05/0.9445, allocations: 33.08 kB / 0.7411 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/0.9457, allocations: 161 kB / 0.7413 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.595e-05/0.9458, allocations: 70.28 kB / 0.7414 GB, free: 162.5 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 16 (SinkP1.medium.phase,SourceP1.medium.phase,SinkP2.medium.phase,SourceP2.medium.phase,SinkP3.medium.phase,SourceP3.medium.phase,SinkP4.medium.phase,SourceP4.medium.phase,V4.state_b.phase,V4.state_a.phase,V3.state_b.phase,V3.state_a.phase,V2.state_b.phase,V2.state_a.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 (143): * Single equations (assignments): 143 * 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.0003568/0.9461, allocations: 268.4 kB / 0.7416 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00025/0.9464, allocations: 120.8 kB / 0.7417 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005873/0.9522, allocations: 6.698 MB / 0.7483 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.444e-05/0.9522, allocations: 15.22 kB / 0.7483 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.9523, allocations: 2.656 kB / 0.7483 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006395/0.9529, allocations: 367.4 kB / 0.7486 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003129/0.9532, allocations: 162.8 kB / 0.7488 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009952/0.9542, allocations: 132.7 kB / 0.7489 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001879/0.9544, allocations: 101.4 kB / 0.749 GB, free: 159.1 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003063/0.9575, allocations: 2.894 MB / 0.7519 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003283/0.9607, allocations: 3.055 MB / 0.7548 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001176/0.9619, allocations: 1.08 MB / 0.7559 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001589/0.9635, allocations: 1.425 MB / 0.7573 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of Backend: time 8.02e-07/0.9635, allocations: 5.312 kB / 0.7573 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009439/0.9729, allocations: 3.521 MB / 0.7607 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of SimCode: time 0.00471/0.9777, allocations: 4.646 MB / 0.7653 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.07868/1.056, allocations: 79.35 MB / 0.8428 GB, free: 64.98 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveCoefficients/TestValveCoefficients.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.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: 10.248206917996868]