Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.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.001687/0.001687, allocations: 110.8 kB / 21.19 MB, free: 0.6641 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.002026/0.002026, allocations: 211.6 kB / 24.49 MB, free: 3.965 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.436/1.436, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.2224/0.2224, allocations: 46.97 MB / 361.6 MB, free: 4.023 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.TestValveCharacteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|valve_linear.port_b.m_flow|valve_linear.port_b.p|valve_linear.port_b.h_outflow|valve_linear.minLimiter.y|sink1.ports.1..m_flow|sink1.ports.1..p|sink1.ports.1..h_outflow|opening.y|valve_constant.port_b.m_flow|valve_constant.port_b.p|valve_constant.port_b.h_outflow|valve_constant.minLimiter.y|valve_quadratic.port_b.m_flow|valve_quadratic.port_b.p|valve_quadratic.port_b.h_outflow|valve_quadratic.minLimiter.y|sink2.ports.1..m_flow|sink2.ports.1..p|sink2.ports.1..h_outflow|sink3.ports.1..m_flow|sink3.ports.1..p|sink3.ports.1..h_outflow|valve_equalPercentage.port_b.m_flow|valve_equalPercentage.port_b.p|valve_equalPercentage.port_b.h_outflow|valve_equalPercentage.minLimiter.y|sink4.ports.1..m_flow|sink4.ports.1..p|sink4.ports.1..h_outflow",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|valve_linear.port_b.m_flow|valve_linear.port_b.p|valve_linear.port_b.h_outflow|valve_linear.minLimiter.y|sink1.ports.1..m_flow|sink1.ports.1..p|sink1.ports.1..h_outflow|opening.y|valve_constant.port_b.m_flow|valve_constant.port_b.p|valve_constant.port_b.h_outflow|valve_constant.minLimiter.y|valve_quadratic.port_b.m_flow|valve_quadratic.port_b.p|valve_quadratic.port_b.h_outflow|valve_quadratic.minLimiter.y|sink2.ports.1..m_flow|sink2.ports.1..p|sink2.ports.1..h_outflow|sink3.ports.1..m_flow|sink3.ports.1..p|sink3.ports.1..h_outflow|valve_equalPercentage.port_b.m_flow|valve_equalPercentage.port_b.p|valve_equalPercentage.port_b.h_outflow|valve_equalPercentage.minLimiter.y|sink4.ports.1..m_flow|sink4.ports.1..p|sink4.ports.1..h_outflow",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 67.91 kB / 0.4973 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2889, allocations: 66.04 MB / 0.5618 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics): time 0.08256/0.3714, allocations: 75.31 MB / 0.6354 GB, free: 8.578 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03655/0.408, allocations: 25.75 MB / 0.6605 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001755/0.4097, allocations: 71.25 kB / 0.6606 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002652/0.4124, allocations: 0.8847 MB / 0.6615 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01375/0.4262, allocations: 5.134 MB / 0.6665 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01489/0.441, allocations: 5.632 MB / 0.672 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005594/0.4466, allocations: 3.745 MB / 0.6756 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001567/0.4482, allocations: 0.8487 MB / 0.6765 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002715/0.4509, allocations: 1.444 MB / 0.6779 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001621/0.4525, allocations: 1.113 MB / 0.679 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002511/0.4528, allocations: 136 kB / 0.6791 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01632/0.4691, allocations: 8.39 MB / 0.6873 GB, free: 3.293 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006648/0.4698, allocations: 410.6 kB / 0.6877 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001102/0.4709, allocations: 0.7313 MB / 0.6884 GB, free: 2.156 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0136/0.4845, allocations: 6.888 MB / 0.6951 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.4845, allocations: 0 / 0.6951 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4845, allocations: 3.938 kB / 0.6951 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.342e-05/0.4845, allocations: 0 / 0.6951 GB, free: 11.25 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.006317/0.4908, allocations: 2.728 MB / 0.6978 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.4909, allocations: 8.031 kB / 0.6978 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007301/0.4982, allocations: 0.8584 MB / 0.6986 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001935/0.5001, allocations: 0.9035 MB / 0.6995 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/0.5002, allocations: 110.3 kB / 0.6996 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000181/0.5004, allocations: 112 kB / 0.6997 GB, free: 6.453 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006543/0.5069, allocations: 2.838 MB / 0.7025 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.048e-05/0.507, allocations: 7.938 kB / 0.7025 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001503/0.5071, allocations: 60 kB / 0.7026 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.792e-05/0.5072, allocations: 28 kB / 0.7026 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006393/0.5136, allocations: 2.08 MB / 0.7046 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01212/0.5257, allocations: 7.183 MB / 0.7116 GB, free: 9.742 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005504/0.5312, allocations: 1.571 MB / 0.7132 GB, free: 8.164 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001361/0.5325, allocations: 0.5229 MB / 0.7137 GB, free: 7.641 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04907/0.5816, allocations: 14.65 MB / 0.728 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.598e-05/0.5817, allocations: 43.56 kB / 0.728 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=88): time 3.045e-06/0.5817, allocations: 0 / 0.728 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88): time 0.01009/0.5918, allocations: 2.728 MB / 0.7307 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001578/0.5919, allocations: 270 kB / 0.7309 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/0.593, allocations: 0.8281 MB / 0.7318 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001038/0.5931, allocations: 41.7 kB / 0.7318 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005054/0.5937, allocations: 0.6405 MB / 0.7324 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002913/0.5939, allocations: 317.3 kB / 0.7327 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003745/0.5943, allocations: 258.8 kB / 0.733 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.5945, allocations: 345.9 kB / 0.7333 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001323/0.5958, allocations: 485.8 kB / 0.7338 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001795/0.5976, allocations: 1.078 MB / 0.7348 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002937/0.6006, allocations: 1.305 MB / 0.7361 GB, free: 136 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/0.6006, allocations: 4 kB / 0.7361 GB, free: 132 kB / 0.5606 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.2479/0.8484, allocations: 1.453 MB / 0.7375 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.132e-05/0.8485, allocations: 9.531 kB / 0.7375 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.25e-05/0.8485, allocations: 11.78 kB / 0.7375 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.102e-05/0.8485, allocations: 17.28 kB / 0.7375 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/0.8498, allocations: 332 kB / 0.7379 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-05/0.8498, allocations: 23.16 kB / 0.7379 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009845/0.8508, allocations: 165.8 kB / 0.738 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.712e-05/0.8509, allocations: 67.5 kB / 0.7381 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00146/0.8524, allocations: 0.6663 MB / 0.7388 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001285/0.8537, allocations: 1.066 MB / 0.7398 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002321/0.856, allocations: 1.28 MB / 0.7411 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.372e-06/0.856, allocations: 0 / 0.7411 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002869/0.8589, allocations: 1.428 MB / 0.7424 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.8589, allocations: 14.56 kB / 0.7425 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.8589, allocations: 11.03 kB / 0.7425 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.8589, allocations: 19.62 kB / 0.7425 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/0.8599, allocations: 329 kB / 0.7428 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.645e-05/0.8599, allocations: 26.7 kB / 0.7428 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000869/0.8608, allocations: 144.7 kB / 0.743 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.819e-05/0.8609, allocations: 70.81 kB / 0.743 GB, free: 162.6 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 16 (sink2.medium.phase,source2.medium.phase,sink4.medium.phase,source4.medium.phase,sink3.medium.phase,source3.medium.phase,sink1.medium.phase,source1.medium.phase,valve_equalPercentage.state_b.phase,valve_equalPercentage.state_a.phase,valve_quadratic.state_b.phase,valve_quadratic.state_a.phase,valve_constant.state_b.phase,valve_constant.state_a.phase,valve_linear.state_b.phase,valve_linear.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 141 * 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.0002979/0.8612, allocations: 268.3 kB / 0.7433 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001927/0.8614, allocations: 119.2 kB / 0.7434 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006046/0.8674, allocations: 6.823 MB / 0.7501 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.8674, allocations: 7.734 kB / 0.7501 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.8674, allocations: 6.219 kB / 0.7501 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005667/0.868, allocations: 377.7 kB / 0.7504 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002625/0.8683, allocations: 161.3 kB / 0.7506 GB, free: 158 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009498/0.8692, allocations: 133.3 kB / 0.7507 GB, free: 157.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001614/0.8694, allocations: 114.6 kB / 0.7508 GB, free: 157.9 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003367/0.8727, allocations: 3.017 MB / 0.7538 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003327/0.8761, allocations: 3.154 MB / 0.7569 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001274/0.8773, allocations: 1.127 MB / 0.758 GB, free: 151 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001355/0.8787, allocations: 1.378 MB / 0.7593 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of Backend: time 6.72e-07/0.8787, allocations: 0 / 0.7593 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009143/0.8878, allocations: 3.532 MB / 0.7628 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of SimCode: time 0.004767/0.8926, allocations: 4.66 MB / 0.7673 GB, free: 141.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.07851/0.9711, allocations: 78.78 MB / 0.8442 GB, free: 63.66 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveCharacteristics/TestValveCharacteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.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.06761099799769]