Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.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.001732/0.001732, allocations: 106.8 kB / 21.19 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.002131/0.002131, allocations: 213.3 kB / 24.49 MB, free: 3.934 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.472/1.472, allocations: 230.6 MB / 258.3 MB, free: 7.773 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.2335/0.2335, allocations: 46.96 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.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_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_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 67.89 kB / 0.4973 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3474, allocations: 66.03 MB / 0.5618 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible): time 0.03335/0.3808, allocations: 26.36 MB / 0.5876 GB, free: 9.676 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02425/0.405, allocations: 15.13 MB / 0.6023 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007686/0.4058, allocations: 23.75 kB / 0.6024 GB, free: 10.47 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009718/0.4068, allocations: 242.4 kB / 0.6026 GB, free: 10.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01188/0.4186, allocations: 3.805 MB / 0.6063 GB, free: 6.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007616/0.4263, allocations: 2.563 MB / 0.6088 GB, free: 3.871 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001636/0.4279, allocations: 1.014 MB / 0.6098 GB, free: 2.852 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004723/0.4284, allocations: 245.7 kB / 0.61 GB, free: 2.602 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009564/0.4293, allocations: 490 kB / 0.6105 GB, free: 2.121 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004263/0.4297, allocations: 314.7 kB / 0.6108 GB, free: 1.812 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.28e-05/0.4298, allocations: 40 kB / 0.6108 GB, free: 1.773 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01487/0.4447, allocations: 7.352 MB / 0.618 GB, free: 10.41 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001974/0.4449, allocations: 115.6 kB / 0.6181 GB, free: 10.3 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000323/0.4452, allocations: 215.1 kB / 0.6183 GB, free: 10.09 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01034/0.4556, allocations: 4.599 MB / 0.6228 GB, free: 5.477 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.4556, allocations: 0 / 0.6228 GB, free: 5.477 MB / 462.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.4556, allocations: 3.938 kB / 0.6228 GB, free: 5.473 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.4556, allocations: 0 / 0.6228 GB, free: 5.473 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.003469/0.459, allocations: 1.3 MB / 0.6241 GB, free: 4.137 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.4591, allocations: 8.031 kB / 0.6241 GB, free: 4.129 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002074/0.4612, allocations: 240.4 kB / 0.6243 GB, free: 3.895 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000931/0.4621, allocations: 360.5 kB / 0.6247 GB, free: 3.52 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.309e-05/0.4621, allocations: 24.66 kB / 0.6247 GB, free: 3.496 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.576e-05/0.4622, allocations: 36 kB / 0.6247 GB, free: 3.461 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001898/0.4641, allocations: 0.7682 MB / 0.6255 GB, free: 2.613 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.4641, allocations: 0 / 0.6255 GB, free: 2.613 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.301e-05/0.4642, allocations: 16 kB / 0.6255 GB, free: 2.598 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/0.4642, allocations: 11.94 kB / 0.6255 GB, free: 2.586 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001677/0.4659, allocations: 0.5566 MB / 0.6261 GB, free: 2.027 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.003252/0.4691, allocations: 1.95 MB / 0.628 GB, free: 8 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002007/0.4711, allocations: 0.5218 MB / 0.6285 GB, free: 15.48 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004108/0.4715, allocations: 172.8 kB / 0.6286 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04852/0.52, allocations: 13.21 MB / 0.6415 GB, free: 2.082 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.921e-05/0.5201, allocations: 34.56 kB / 0.6416 GB, free: 2.039 MB / 478.1 MB Notification: Performance of pre-optimization done (n=28): time 2.484e-06/0.5201, allocations: 0 / 0.6416 GB, free: 2.039 MB / 478.1 MB Notification: Performance of matching and sorting (n=28): time 0.002885/0.523, allocations: 0.8093 MB / 0.6424 GB, free: 1.223 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.668e-05/0.5231, allocations: 106.8 kB / 0.6425 GB, free: 1.094 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004355/0.5235, allocations: 341.6 kB / 0.6428 GB, free: 0.7539 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.28e-05/0.5235, allocations: 33.7 kB / 0.6428 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001888/0.5237, allocations: 248.2 kB / 0.6431 GB, free: 480 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.677e-05/0.5238, allocations: 99.16 kB / 0.6432 GB, free: 380 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000147/0.524, allocations: 85.62 kB / 0.6432 GB, free: 288 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.5242, allocations: 350.8 kB / 0.6436 GB, free: 15.93 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004074/0.5246, allocations: 152.8 kB / 0.6437 GB, free: 15.78 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005438/0.5251, allocations: 338.6 kB / 0.644 GB, free: 15.38 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008837/0.526, allocations: 417.4 kB / 0.6444 GB, free: 14.92 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.526, allocations: 4 kB / 0.6444 GB, free: 14.92 MB / 494.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001111/0.5271, allocations: 0.4895 MB / 0.6449 GB, free: 14.42 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.5271, allocations: 11.98 kB / 0.6449 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.5271, allocations: 0 / 0.6449 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.5272, allocations: 8 kB / 0.6449 GB, free: 14.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004253/0.5276, allocations: 99.81 kB / 0.645 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.527e-05/0.5276, allocations: 4 kB / 0.645 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003247/0.5279, allocations: 47.75 kB / 0.6451 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-05/0.528, allocations: 28.08 kB / 0.6451 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005122/0.5285, allocations: 272 kB / 0.6454 GB, free: 13.96 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000526/0.529, allocations: 327.1 kB / 0.6457 GB, free: 13.57 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008482/0.5298, allocations: 409.4 kB / 0.6461 GB, free: 13.12 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.863e-06/0.5299, allocations: 3.938 kB / 0.6461 GB, free: 13.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001077/0.5309, allocations: 485.1 kB / 0.6465 GB, free: 12.64 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.5309, allocations: 8 kB / 0.6465 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.5309, allocations: 480 / 0.6465 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.592e-06/0.531, allocations: 8 kB / 0.6466 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000393/0.5313, allocations: 103.8 kB / 0.6467 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.5314, allocations: 4 kB / 0.6467 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003093/0.5317, allocations: 47.81 kB / 0.6467 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.775e-05/0.5317, allocations: 23.98 kB / 0.6467 GB, free: 12.45 MB / 494.1 MB 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.0001781/0.5319, allocations: 208 kB / 0.6469 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.159e-05/0.532, allocations: 35.77 kB / 0.647 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002713/0.5347, allocations: 2.014 MB / 0.6489 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.5347, allocations: 11.86 kB / 0.6489 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.5347, allocations: 0 / 0.6489 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002338/0.5349, allocations: 131.1 kB / 0.6491 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.621e-05/0.535, allocations: 27.83 kB / 0.6491 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003402/0.5354, allocations: 35.95 kB / 0.6491 GB, free: 9.977 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.66e-05/0.5355, allocations: 36.2 kB / 0.6492 GB, free: 9.941 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001627/0.5371, allocations: 1.119 MB / 0.6502 GB, free: 8.816 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001623/0.5387, allocations: 1.223 MB / 0.6514 GB, free: 7.574 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005955/0.5393, allocations: 397.8 kB / 0.6518 GB, free: 7.184 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004351/0.5397, allocations: 346.9 kB / 0.6522 GB, free: 6.844 MB / 494.1 MB Notification: Performance of Backend: time 4.51e-07/0.5397, allocations: 0 / 0.6522 GB, free: 6.844 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00701/0.5467, allocations: 1.951 MB / 0.6541 GB, free: 4.895 MB / 494.1 MB Notification: Performance of SimCode: time 0.002466/0.5492, allocations: 1.739 MB / 0.6558 GB, free: 3.105 MB / 494.1 MB Notification: Performance of Templates: time 0.06825/0.6175, allocations: 47.5 MB / 0.7021 GB, free: 3.75 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveCompressible/TestValveCompressible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.037417273997562]