Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.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.001691/0.001691, 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.002199/0.002199, allocations: 214.1 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.416/1.416, allocations: 230.2 MB / 257.8 MB, free: 8.465 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.2223/0.2223, allocations: 46.89 MB / 361.1 MB, free: 4.586 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.TestCheckValve,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|downstreamPressure.y|const.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve,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|downstreamPressure.y|const.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") [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.002347/0.002347, allocations: 83.81 kB / 0.4968 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3202, allocations: 65.98 MB / 0.5612 GB, free: 4.98 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve): time 0.03322/0.3534, allocations: 29.06 MB / 0.5896 GB, free: 7.816 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02281/0.3762, allocations: 17.08 MB / 0.6063 GB, free: 6.676 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000594/0.3768, allocations: 11.94 kB / 0.6063 GB, free: 6.664 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008281/0.3776, allocations: 254.3 kB / 0.6065 GB, free: 6.414 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01198/0.3896, allocations: 4.579 MB / 0.611 GB, free: 1.836 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004836/0.3944, allocations: 1.893 MB / 0.6128 GB, free: 15.95 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001331/0.3958, allocations: 0.9747 MB / 0.6138 GB, free: 14.97 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004136/0.3962, allocations: 240.9 kB / 0.614 GB, free: 14.73 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009106/0.3971, allocations: 0.4979 MB / 0.6145 GB, free: 14.23 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003569/0.4007, allocations: 1.874 MB / 0.6163 GB, free: 12.33 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.434e-05/0.4007, allocations: 39.98 kB / 0.6164 GB, free: 12.29 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01411/0.4148, allocations: 7.528 MB / 0.6237 GB, free: 4.754 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002211/0.4151, allocations: 111.6 kB / 0.6238 GB, free: 4.645 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003705/0.4154, allocations: 250.8 kB / 0.6241 GB, free: 4.398 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01084/0.4263, allocations: 4.669 MB / 0.6286 GB, free: 15.72 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.4263, allocations: 0 / 0.6286 GB, free: 15.72 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4263, allocations: 0 / 0.6286 GB, free: 15.72 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.4263, allocations: 4 kB / 0.6286 GB, free: 15.71 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.003649/0.4299, allocations: 1.364 MB / 0.63 GB, free: 14.3 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.43, allocations: 11.97 kB / 0.63 GB, free: 14.29 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001949/0.4319, allocations: 248.4 kB / 0.6302 GB, free: 14.04 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007247/0.4326, allocations: 419.8 kB / 0.6306 GB, free: 13.6 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.623e-05/0.4327, allocations: 28.66 kB / 0.6306 GB, free: 13.57 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.693e-05/0.4327, allocations: 28 kB / 0.6307 GB, free: 13.54 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001641/0.4344, allocations: 0.604 MB / 0.6313 GB, free: 12.9 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.4344, allocations: 0 / 0.6313 GB, free: 12.9 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.72e-05/0.4344, allocations: 16 kB / 0.6313 GB, free: 12.89 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.4345, allocations: 15.88 kB / 0.6313 GB, free: 12.87 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001713/0.4362, allocations: 0.5641 MB / 0.6318 GB, free: 12.3 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.003564/0.4397, allocations: 2.633 MB / 0.6344 GB, free: 9.426 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001578/0.4413, allocations: 442.1 kB / 0.6348 GB, free: 8.984 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004422/0.4418, allocations: 181.2 kB / 0.635 GB, free: 8.805 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05598/0.4977, allocations: 26.88 MB / 0.6613 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.001e-05/0.4978, allocations: 42.5 kB / 0.6613 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=25): time 3.065e-06/0.4978, allocations: 0 / 0.6613 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of matching and sorting (n=25): time 0.003162/0.501, allocations: 0.8209 MB / 0.6621 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.406e-05/0.501, allocations: 102.8 kB / 0.6622 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004958/0.5015, allocations: 381.6 kB / 0.6626 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.064e-05/0.5016, allocations: 29.7 kB / 0.6626 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/0.5018, allocations: 224.5 kB / 0.6628 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.519e-05/0.5019, allocations: 91.23 kB / 0.6629 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000142/0.502, allocations: 81.42 kB / 0.663 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.5022, allocations: 350.8 kB / 0.6633 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004519/0.5026, allocations: 164.7 kB / 0.6635 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005492/0.5032, allocations: 267.6 kB / 0.6637 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000967/0.5041, allocations: 398 kB / 0.6641 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.5042, allocations: 7.938 kB / 0.6641 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001219/0.5054, allocations: 493.6 kB / 0.6646 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.5054, allocations: 4.344 kB / 0.6646 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.5054, allocations: 15.88 kB / 0.6646 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/0.5054, allocations: 4 kB / 0.6646 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004547/0.5059, allocations: 95.86 kB / 0.6647 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/0.5059, allocations: 8 kB / 0.6647 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003742/0.5063, allocations: 51.73 kB / 0.6647 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.152e-05/0.5063, allocations: 16 kB / 0.6648 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005568/0.5069, allocations: 276 kB / 0.665 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005312/0.5074, allocations: 263.6 kB / 0.6653 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008987/0.5083, allocations: 394 kB / 0.6656 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.873e-06/0.5083, allocations: 0 / 0.6656 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.001158/0.5095, allocations: 480.8 kB / 0.6661 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.5095, allocations: 8 kB / 0.6661 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.986e-06/0.5095, allocations: 0 / 0.6661 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.454e-06/0.5095, allocations: 4.344 kB / 0.6661 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004269/0.5099, allocations: 107.8 kB / 0.6662 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.5099, allocations: 4 kB / 0.6662 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003485/0.5103, allocations: 43.8 kB / 0.6663 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.716e-05/0.5103, allocations: 19.98 kB / 0.6663 GB, free: 5.102 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (V1.state_b.phase,V1.state_a.phase,SinkP1.medium.phase,SourceP1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * 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.0002034/0.5105, allocations: 204.1 kB / 0.6665 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.923e-05/0.5106, allocations: 47.72 kB / 0.6665 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002775/0.5134, allocations: 1.958 MB / 0.6684 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.964e-06/0.5134, allocations: 0 / 0.6684 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/0.5134, allocations: 3.984 kB / 0.6684 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003544/0.5137, allocations: 212.1 kB / 0.6686 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.5139, allocations: 31.72 kB / 0.6687 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003756/0.5142, allocations: 51.94 kB / 0.6687 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.5143, allocations: 35.89 kB / 0.6688 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00179/0.5161, allocations: 1.114 MB / 0.6698 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001727/0.5179, allocations: 1.199 MB / 0.671 GB, free: 200 kB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006694/0.5185, allocations: 390.6 kB / 0.6714 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005571/0.5191, allocations: 378.8 kB / 0.6717 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of Backend: time 5.01e-07/0.5191, allocations: 0 / 0.6717 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007852/0.5269, allocations: 2.014 MB / 0.6737 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of SimCode: time 0.002497/0.5294, allocations: 1.723 MB / 0.6754 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of Templates: time 0.06852/0.5979, allocations: 47.8 MB / 0.7221 GB, free: 11.88 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Valves/TestCheckValve/TestCheckValve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.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.169778944924474]