Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.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.001737/0.001737, allocations: 112.2 kB / 21.18 MB, free: 0.6289 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.002182/0.002182, allocations: 207 kB / 24.48 MB, free: 4.035 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.443/1.443, allocations: 230.2 MB / 257.8 MB, free: 8.504 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.2298/0.2298, allocations: 46.89 MB / 361.1 MB, free: 4.648 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.TestValveCompressible,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|downstreamPressure.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible,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|downstreamPressure.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible") [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.002274/0.002274, allocations: 75.88 kB / 0.4968 GB, free: 7.848 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.347, allocations: 65.98 MB / 0.5612 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible): time 0.0347/0.3817, allocations: 29.18 MB / 0.5897 GB, free: 7.75 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02436/0.4061, allocations: 17.07 MB / 0.6064 GB, free: 6.625 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009209/0.407, allocations: 15.88 kB / 0.6064 GB, free: 6.609 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001142/0.4081, allocations: 266.2 kB / 0.6066 GB, free: 6.348 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01183/0.42, allocations: 3.821 MB / 0.6104 GB, free: 2.527 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007522/0.4275, allocations: 2.585 MB / 0.6129 GB, free: 15.95 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001605/0.4291, allocations: 1.006 MB / 0.6139 GB, free: 14.93 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004219/0.4295, allocations: 249.5 kB / 0.6141 GB, free: 14.68 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009207/0.4304, allocations: 0.4902 MB / 0.6146 GB, free: 14.19 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004521/0.4309, allocations: 318.6 kB / 0.6149 GB, free: 13.88 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.949e-05/0.4309, allocations: 36 kB / 0.6149 GB, free: 13.84 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01511/0.4461, allocations: 7.43 MB / 0.6222 GB, free: 6.406 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002355/0.4463, allocations: 111.6 kB / 0.6223 GB, free: 6.297 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003809/0.4467, allocations: 262.7 kB / 0.6225 GB, free: 6.039 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01091/0.4576, allocations: 4.603 MB / 0.627 GB, free: 1.426 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.4576, allocations: 0 / 0.627 GB, free: 1.426 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.4576, allocations: 0 / 0.627 GB, free: 1.426 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.4576, allocations: 0 / 0.627 GB, free: 1.426 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.003762/0.4614, allocations: 1.379 MB / 0.6284 GB, free: 15.99 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.4614, allocations: 12.03 kB / 0.6284 GB, free: 15.98 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001881/0.4633, allocations: 232.3 kB / 0.6286 GB, free: 15.75 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007929/0.4641, allocations: 431.6 kB / 0.629 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.502e-05/0.4641, allocations: 32.66 kB / 0.6291 GB, free: 15.26 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.566e-05/0.4642, allocations: 28 kB / 0.6291 GB, free: 15.23 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001629/0.4658, allocations: 0.6215 MB / 0.6297 GB, free: 14.57 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.4658, allocations: 0 / 0.6297 GB, free: 14.57 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.248e-05/0.4659, allocations: 12 kB / 0.6297 GB, free: 14.56 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.4659, allocations: 12 kB / 0.6297 GB, free: 14.55 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001676/0.4676, allocations: 0.5644 MB / 0.6303 GB, free: 13.98 MB / 478.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.003781/0.4713, allocations: 2.739 MB / 0.6329 GB, free: 11.01 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001989/0.4733, allocations: 0.5141 MB / 0.6334 GB, free: 10.49 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004297/0.4738, allocations: 192.6 kB / 0.6336 GB, free: 10.3 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05669/0.5304, allocations: 26.88 MB / 0.6599 GB, free: 12 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.26e-05/0.5305, allocations: 34.5 kB / 0.6599 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=28): time 2.535e-06/0.5305, allocations: 4 kB / 0.6599 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=28): time 0.002973/0.5335, allocations: 0.8132 MB / 0.6607 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.854e-05/0.5335, allocations: 106.8 kB / 0.6608 GB, free: 11 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005406/0.5341, allocations: 393.9 kB / 0.6612 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.483e-05/0.5341, allocations: 29.7 kB / 0.6612 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/0.5343, allocations: 224.5 kB / 0.6614 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.955e-05/0.5344, allocations: 111.1 kB / 0.6615 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001499/0.5346, allocations: 85.62 kB / 0.6616 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001842/0.5347, allocations: 358.8 kB / 0.662 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004231/0.5352, allocations: 152.8 kB / 0.6621 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005674/0.5357, allocations: 283.2 kB / 0.6624 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009147/0.5367, allocations: 429.4 kB / 0.6628 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.5367, allocations: 0 / 0.6628 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001167/0.5378, allocations: 0.4892 MB / 0.6633 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.5378, allocations: 11.98 kB / 0.6633 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.5379, allocations: 4 kB / 0.6633 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.5379, allocations: 4 kB / 0.6633 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004116/0.5383, allocations: 100.2 kB / 0.6634 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/0.5383, allocations: 7.938 kB / 0.6634 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003451/0.5386, allocations: 67.64 kB / 0.6634 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.81e-05/0.5387, allocations: 19.98 kB / 0.6635 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005331/0.5392, allocations: 264 kB / 0.6637 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005083/0.5397, allocations: 276.4 kB / 0.664 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008419/0.5406, allocations: 405.4 kB / 0.6644 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.024e-06/0.5406, allocations: 4 kB / 0.6644 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001092/0.5417, allocations: 485.1 kB / 0.6648 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.5417, allocations: 11.98 kB / 0.6648 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.5417, allocations: 4.469 kB / 0.6648 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.693e-06/0.5417, allocations: 8 kB / 0.6649 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003818/0.5421, allocations: 99.81 kB / 0.6649 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.5421, allocations: 4 kB / 0.665 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003181/0.5424, allocations: 51.75 kB / 0.665 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.653e-05/0.5424, allocations: 23.98 kB / 0.665 GB, free: 6.414 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (44): * Single equations (assignments): 44 * 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.000204/0.5426, allocations: 212.1 kB / 0.6652 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.972e-05/0.5427, allocations: 43.72 kB / 0.6653 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002741/0.5455, allocations: 1.944 MB / 0.6672 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.014e-06/0.5455, allocations: 0 / 0.6672 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.5455, allocations: 0 / 0.6672 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000287/0.5458, allocations: 216.1 kB / 0.6674 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.815e-05/0.5459, allocations: 23.84 kB / 0.6674 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003377/0.5462, allocations: 35.95 kB / 0.6674 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.821e-05/0.5463, allocations: 40.22 kB / 0.6675 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001597/0.5479, allocations: 1.107 MB / 0.6685 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001574/0.5495, allocations: 1.184 MB / 0.6697 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005897/0.5501, allocations: 390.7 kB / 0.6701 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005061/0.5506, allocations: 382.8 kB / 0.6704 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of Backend: time 4.51e-07/0.5506, allocations: 4 kB / 0.6704 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007885/0.5585, allocations: 1.957 MB / 0.6724 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of SimCode: time 0.002653/0.5611, allocations: 1.786 MB / 0.6741 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of Templates: time 0.06849/0.6296, allocations: 47.08 MB / 0.7201 GB, free: 13.96 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveCompressible/TestValveCompressible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.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: 8.289856281131506]