Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.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.0008297/0.0008297, allocations: 83.69 kB / 21.43 MB, free: 3.121 MB / 18.57 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.006518/0.006518, allocations: 162.6 kB / 24.7 MB, free: 9.406 MB / 18.57 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 0.8309/0.8309, allocations: 177.1 MB / 205 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.2282/0.2282, allocations: 34.25 MB / 295.7 MB, free: 0.7109 MB / 266.7 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.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 443.4 MB, free: 1.199 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.167e-05/2.31e-05, allocations: 4.391 kB / 443.4 MB, free: 1.195 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.2675/0.2675, allocations: 132.8 MB / 0.5627 GB, free: 11.49 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.2687, allocations: 1.304 MB / 0.564 GB, free: 10.18 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.476e-05/0.2687, allocations: 0 / 0.564 GB, free: 10.18 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003088/0.269, allocations: 39.81 kB / 0.564 GB, free: 10.14 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001906/0.2709, allocations: 1.107 MB / 0.5651 GB, free: 9.035 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.31e-06/0.2709, allocations: 4 kB / 0.5651 GB, free: 9.031 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.271, allocations: 67.59 kB / 0.5652 GB, free: 8.965 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.928e-05/0.2711, allocations: 7.984 kB / 0.5652 GB, free: 8.957 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.875e-05/0.2711, allocations: 31.91 kB / 0.5652 GB, free: 8.926 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.648e-05/0.2712, allocations: 31.89 kB / 0.5653 GB, free: 8.895 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 9.778e-06/0.2712, allocations: 0 / 0.5653 GB, free: 8.895 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001723/0.2729, allocations: 1.618 MB / 0.5668 GB, free: 7.273 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 4.726e-05/0.273, allocations: 11.94 kB / 0.5669 GB, free: 7.262 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 2.651e-05/0.273, allocations: 15.98 kB / 0.5669 GB, free: 7.246 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001051/0.274, allocations: 1.04 MB / 0.5679 GB, free: 6.203 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.274, allocations: 0 / 0.5679 GB, free: 6.203 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.274, allocations: 7.406 kB / 0.5679 GB, free: 6.199 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.88e-06/0.2741, allocations: 0 / 0.5679 GB, free: 6.199 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005862/0.2746, allocations: 439.9 kB / 0.5683 GB, free: 5.742 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.2747, allocations: 12.03 kB / 0.5683 GB, free: 5.73 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.341e-05/0.2747, allocations: 6.266 kB / 0.5683 GB, free: 5.727 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.121e-05/0.2748, allocations: 113.7 kB / 0.5684 GB, free: 5.59 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.2748, allocations: 7.938 kB / 0.5684 GB, free: 5.582 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-06/0.2748, allocations: 4 kB / 0.5684 GB, free: 5.578 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.2749, allocations: 81.67 kB / 0.5685 GB, free: 5.492 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.2749, allocations: 0 / 0.5685 GB, free: 5.492 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.2749, allocations: 8 kB / 0.5685 GB, free: 5.484 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.984e-05/0.275, allocations: 7.984 kB / 0.5685 GB, free: 5.477 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.063e-05/0.275, allocations: 63.97 kB / 0.5686 GB, free: 5.414 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003396/0.2754, allocations: 260.3 kB / 0.5688 GB, free: 5.129 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.161e-05/0.2754, allocations: 38.56 kB / 0.5689 GB, free: 5.082 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.263e-05/0.2754, allocations: 12.84 kB / 0.5689 GB, free: 5.066 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.957e-05/0.2755, allocations: 28.11 kB / 0.5689 GB, free: 5.039 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.2756, allocations: 34.56 kB / 0.569 GB, free: 4.996 MB / 474.7 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.2756, allocations: 4 kB / 0.569 GB, free: 4.992 MB / 474.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001521/0.2757, allocations: 73.58 kB / 0.569 GB, free: 4.914 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.2757, allocations: 59.33 kB / 0.5691 GB, free: 4.844 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.721e-05/0.2758, allocations: 102.7 kB / 0.5692 GB, free: 4.734 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 9.348e-06/0.2758, allocations: 25.81 kB / 0.5692 GB, free: 4.703 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.729e-05/0.2759, allocations: 103.9 kB / 0.5693 GB, free: 4.598 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.358e-06/0.2759, allocations: 11.91 kB / 0.5693 GB, free: 4.586 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.129e-05/0.2759, allocations: 29.69 kB / 0.5693 GB, free: 4.551 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.816e-05/0.276, allocations: 314.8 kB / 0.5696 GB, free: 4.234 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.808e-05/0.276, allocations: 8 kB / 0.5697 GB, free: 4.227 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.047e-05/0.276, allocations: 39.42 kB / 0.5697 GB, free: 4.176 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.921e-05/0.2761, allocations: 62.92 kB / 0.5698 GB, free: 4.105 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2761, allocations: 0 / 0.5698 GB, free: 4.105 MB / 474.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.943e-05/0.2761, allocations: 89.5 kB / 0.5698 GB, free: 4.012 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/0.2761, allocations: 4 kB / 0.5698 GB, free: 4.008 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2762, allocations: 0 / 0.5698 GB, free: 4.008 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.2762, allocations: 4 kB / 0.5698 GB, free: 4.004 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.066e-05/0.2762, allocations: 13.06 kB / 0.5699 GB, free: 3.992 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.2762, allocations: 11.98 kB / 0.5699 GB, free: 3.98 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.918e-05/0.2762, allocations: 7.938 kB / 0.5699 GB, free: 3.973 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.2763, allocations: 4 kB / 0.5699 GB, free: 3.969 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 1 * 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 5.482e-05/0.2763, allocations: 113.8 kB / 0.57 GB, free: 3.848 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.387e-05/0.2763, allocations: 7.953 kB / 0.57 GB, free: 3.84 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001157/0.2764, allocations: 75.64 kB / 0.5701 GB, free: 3.762 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.2764, allocations: 7.984 kB / 0.5701 GB, free: 3.754 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.2765, allocations: 3.938 kB / 0.5701 GB, free: 3.75 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.2765, allocations: 0 / 0.5701 GB, free: 3.75 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.343e-05/0.2765, allocations: 109.3 kB / 0.5702 GB, free: 3.613 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2766, allocations: 4 kB / 0.5702 GB, free: 3.609 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.645e-05/0.2766, allocations: 8 kB / 0.5702 GB, free: 3.602 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.2766, allocations: 0 / 0.5702 GB, free: 3.602 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.2766, allocations: 11.11 kB / 0.5702 GB, free: 3.594 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.2766, allocations: 0 / 0.5702 GB, free: 3.594 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.2766, allocations: 0 / 0.5702 GB, free: 3.594 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.281e-05/0.2767, allocations: 159.4 kB / 0.5704 GB, free: 3.422 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.21e-06/0.2767, allocations: 8 kB / 0.5704 GB, free: 3.414 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.918e-06/0.2767, allocations: 3.984 kB / 0.5704 GB, free: 3.41 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.523e-05/0.2767, allocations: 0 / 0.5704 GB, free: 3.41 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.5e-05/0.2767, allocations: 11.92 kB / 0.5704 GB, free: 3.398 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.2767, allocations: 8 kB / 0.5704 GB, free: 3.391 MB / 474.7 MB Notification: Performance of sorting global known variables: time 2.301e-05/0.2767, allocations: 79.28 kB / 0.5705 GB, free: 3.312 MB / 474.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2767, allocations: 7.875 kB / 0.5705 GB, free: 3.305 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003028/0.277, allocations: 155.5 kB / 0.5706 GB, free: 3.152 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.000484/0.2775, allocations: 342.5 kB / 0.5709 GB, free: 2.809 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 8.86e-05/0.2776, allocations: 35.92 kB / 0.571 GB, free: 2.773 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.2776, allocations: 0 / 0.571 GB, free: 2.773 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.44e-05/0.2776, allocations: 15.98 kB / 0.571 GB, free: 2.758 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001899/0.2778, allocations: 17.61 kB / 0.571 GB, free: 2.742 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002911/0.2781, allocations: 185.9 kB / 0.5712 GB, free: 2.535 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.427e-05/0.2782, allocations: 71.34 kB / 0.5713 GB, free: 2.445 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.879e-05/0.2782, allocations: 20.48 kB / 0.5713 GB, free: 2.43 MB / 474.7 MB Notification: Performance of SimCode: time 3.71e-07/0.2782, allocations: 0 / 0.5713 GB, free: 2.43 MB / 474.7 MB Notification: Performance of Templates: time 0.003345/0.2815, allocations: 3.252 MB / 0.5745 GB, free: 15.2 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.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: 5.127827721647918]