Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001788/0.001788, allocations: 114 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002191/0.002191, allocations: 214.8 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 230.2 MB / 257.8 MB, free: 8.48 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2259/0.2259, allocations: 46.89 MB / 361.1 MB, free: 4.641 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002318/0.002318, allocations: 83.86 kB / 0.4968 GB, free: 7.816 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3424, allocations: 65.99 MB / 0.5612 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients): time 0.09346/0.4359, allocations: 83.72 MB / 0.643 GB, free: 1.023 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.06669/0.5026, allocations: 28.6 MB / 0.6709 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002583/0.5052, allocations: 47.62 kB / 0.6709 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004816/0.51, allocations: 0.9742 MB / 0.6719 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.02059/0.5306, allocations: 5.13 MB / 0.6769 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.01636/0.5469, allocations: 5.733 MB / 0.6825 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00588/0.5528, allocations: 3.71 MB / 0.6861 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00162/0.5544, allocations: 0.8405 MB / 0.6869 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003026/0.5574, allocations: 1.432 MB / 0.6883 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001952/0.5594, allocations: 1.109 MB / 0.6894 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002795/0.5597, allocations: 136 kB / 0.6896 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0182/0.5779, allocations: 8.597 MB / 0.6979 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0006753/0.5786, allocations: 418.5 kB / 0.6983 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001257/0.5798, allocations: 0.8594 MB / 0.6992 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01589/0.5957, allocations: 6.927 MB / 0.706 GB, free: 352 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.5957, allocations: 0 / 0.706 GB, free: 352 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5957, allocations: 0 / 0.706 GB, free: 352 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.168e-05/0.5957, allocations: 0 / 0.706 GB, free: 352 kB / 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.007105/0.6028, allocations: 2.815 MB / 0.7087 GB, free: 13.46 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.6029, allocations: 8.031 kB / 0.7087 GB, free: 13.46 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007174/0.6101, allocations: 0.8584 MB / 0.7095 GB, free: 12.6 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001959/0.612, allocations: 0.9836 MB / 0.7105 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000137/0.6122, allocations: 106.3 kB / 0.7106 GB, free: 11.46 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001813/0.6123, allocations: 116 kB / 0.7107 GB, free: 11.35 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005934/0.6183, allocations: 2.22 MB / 0.7129 GB, free: 8.973 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.958e-05/0.6183, allocations: 3.938 kB / 0.7129 GB, free: 8.969 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001574/0.6185, allocations: 56 kB / 0.7129 GB, free: 8.914 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.792e-05/0.6185, allocations: 32 kB / 0.713 GB, free: 8.883 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006127/0.6246, allocations: 2.072 MB / 0.715 GB, free: 6.801 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01437/0.639, allocations: 10.3 MB / 0.7251 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005323/0.6443, allocations: 1.514 MB / 0.7265 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001178/0.6455, allocations: 493 kB / 0.727 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3065/0.952, allocations: 26.73 MB / 0.7531 GB, free: 151 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.9521, allocations: 46.44 kB / 0.7532 GB, free: 151 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=80): time 2.976e-06/0.9521, allocations: 0 / 0.7532 GB, free: 151 MB / 0.5606 GB Notification: Performance of matching and sorting (n=80): time 0.008608/0.9607, allocations: 2.587 MB / 0.7557 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.101e-05/0.9608, allocations: 265.6 kB / 0.7559 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/0.962, allocations: 1.173 MB / 0.7571 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.377e-05/0.9621, allocations: 41.39 kB / 0.7571 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003195/0.9624, allocations: 0.6276 MB / 0.7577 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001677/0.9626, allocations: 287.2 kB / 0.758 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002947/0.9629, allocations: 268.4 kB / 0.7583 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.279e-05/0.963, allocations: 350.4 kB / 0.7586 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001106/0.9641, allocations: 473.9 kB / 0.7591 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001278/0.9653, allocations: 0.8998 MB / 0.7599 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00227/0.9676, allocations: 1.296 MB / 0.7612 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.9676, allocations: 4 kB / 0.7612 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003071/0.9707, allocations: 1.48 MB / 0.7626 GB, free: 144.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.9707, allocations: 12 kB / 0.7627 GB, free: 144.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.9707, allocations: 12 kB / 0.7627 GB, free: 144.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.867e-05/0.9708, allocations: 20 kB / 0.7627 GB, free: 144.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/0.9719, allocations: 338.1 kB / 0.763 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.546e-05/0.9719, allocations: 31.69 kB / 0.763 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/0.9731, allocations: 219.5 kB / 0.7633 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-05/0.9732, allocations: 71.97 kB / 0.7633 GB, free: 143.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001343/0.9745, allocations: 0.6585 MB / 0.764 GB, free: 142.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001223/0.9757, allocations: 0.8949 MB / 0.7648 GB, free: 141.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002121/0.9779, allocations: 1.283 MB / 0.7661 GB, free: 140.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.412e-06/0.9779, allocations: 4 kB / 0.7661 GB, free: 140.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=143) (initialization_lambda0): time 0.003017/0.9809, allocations: 1.461 MB / 0.7675 GB, free: 138.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.9809, allocations: 12 kB / 0.7675 GB, free: 138.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.9809, allocations: 12.09 kB / 0.7675 GB, free: 138.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.9809, allocations: 24.94 kB / 0.7676 GB, free: 138.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/0.982, allocations: 331.5 kB / 0.7679 GB, free: 138.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.822e-05/0.982, allocations: 31.86 kB / 0.7679 GB, free: 138.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/0.9832, allocations: 158.7 kB / 0.7681 GB, free: 138.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.389e-05/0.9833, allocations: 71.97 kB / 0.7681 GB, free: 138.2 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.0003237/0.9836, allocations: 268.3 kB / 0.7684 GB, free: 138 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002357/0.9839, allocations: 147.1 kB / 0.7685 GB, free: 137.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005473/0.9893, allocations: 6.491 MB / 0.7749 GB, free: 131.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.382e-05/0.9893, allocations: 11.97 kB / 0.7749 GB, free: 131.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.353e-06/0.9894, allocations: 0 / 0.7749 GB, free: 131.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007331/0.9901, allocations: 474 kB / 0.7753 GB, free: 131 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003459/0.9904, allocations: 154.6 kB / 0.7755 GB, free: 130.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/0.9914, allocations: 131.8 kB / 0.7756 GB, free: 130.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001796/0.9916, allocations: 104.8 kB / 0.7757 GB, free: 130.6 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00311/0.9947, allocations: 2.856 MB / 0.7785 GB, free: 127.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003365/0.9981, allocations: 3.007 MB / 0.7814 GB, free: 124.8 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001227/0.9993, allocations: 1.037 MB / 0.7824 GB, free: 123.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00187/1.001, allocations: 1.633 MB / 0.784 GB, free: 122.1 MB / 0.5606 GB Notification: Performance of Backend: time 5.92e-07/1.001, allocations: 0 / 0.784 GB, free: 122.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01016/1.011, allocations: 3.536 MB / 0.7875 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of SimCode: time 0.00617/1.018, allocations: 4.883 MB / 0.7923 GB, free: 113.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.09044/1.108, allocations: 80.07 MB / 0.8705 GB, free: 34.1 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveCoefficients/TestValveCoefficients.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.272598159965128]