Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0008557/0.0008557, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.00363/0.00363, allocations: 160.2 kB / 24.7 MB, free: 9.418 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.8511/0.8511, allocations: 177.1 MB / 205 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2361/0.2361, allocations: 32.79 MB / 294.2 MB, free: 1.195 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Media.TestOnly.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 440.8 MB, free: 3.758 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.763e-05/1.897e-05, allocations: 2.281 kB / 440.8 MB, free: 3.754 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.2711/0.2711, allocations: 132.8 MB / 0.5602 GB, free: 15.59 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001105/0.2722, allocations: 1.207 MB / 0.5613 GB, free: 14.38 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.171e-05/0.2723, allocations: 0 / 0.5613 GB, free: 14.38 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002929/0.2726, allocations: 31.77 kB / 0.5614 GB, free: 14.35 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001873/0.2744, allocations: 1.066 MB / 0.5624 GB, free: 13.29 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.298e-06/0.2744, allocations: 0 / 0.5624 GB, free: 13.29 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.2745, allocations: 55.66 kB / 0.5625 GB, free: 13.23 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.037e-05/0.2746, allocations: 0 / 0.5625 GB, free: 13.23 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.474e-05/0.2746, allocations: 27.91 kB / 0.5625 GB, free: 13.2 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.85e-05/0.2747, allocations: 23.97 kB / 0.5625 GB, free: 13.18 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 8.956e-06/0.2747, allocations: 0 / 0.5625 GB, free: 13.18 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001556/0.2762, allocations: 1.59 MB / 0.5641 GB, free: 11.59 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 4.681e-05/0.2763, allocations: 15.92 kB / 0.5641 GB, free: 11.57 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 2.285e-05/0.2763, allocations: 8 kB / 0.5641 GB, free: 11.56 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001184/0.2775, allocations: 1.017 MB / 0.5651 GB, free: 10.54 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2775, allocations: 0 / 0.5651 GB, free: 10.54 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2775, allocations: 0 / 0.5651 GB, free: 10.54 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.2775, allocations: 0 / 0.5651 GB, free: 10.54 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005174/0.278, allocations: 439.9 kB / 0.5655 GB, free: 10.09 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.2781, allocations: 8.031 kB / 0.5655 GB, free: 10.08 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.604e-05/0.2781, allocations: 10.25 kB / 0.5655 GB, free: 10.07 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.272e-05/0.2782, allocations: 102 kB / 0.5656 GB, free: 9.945 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.2782, allocations: 11.94 kB / 0.5656 GB, free: 9.934 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.2782, allocations: 0 / 0.5656 GB, free: 9.934 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.2783, allocations: 81.84 kB / 0.5657 GB, free: 9.852 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.2783, allocations: 0 / 0.5657 GB, free: 9.852 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.2783, allocations: 3.984 kB / 0.5657 GB, free: 9.848 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.033e-05/0.2784, allocations: 4 kB / 0.5657 GB, free: 9.844 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.049e-05/0.2784, allocations: 51.97 kB / 0.5658 GB, free: 9.793 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003229/0.2788, allocations: 260.3 kB / 0.566 GB, free: 9.508 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.339e-05/0.2788, allocations: 30.52 kB / 0.566 GB, free: 9.469 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.981e-05/0.2788, allocations: 16.94 kB / 0.5661 GB, free: 9.449 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.627e-05/0.2789, allocations: 23.98 kB / 0.5661 GB, free: 9.426 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.2789, allocations: 30.56 kB / 0.5661 GB, free: 9.387 MB / 474.7 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.2789, allocations: 0 / 0.5661 GB, free: 9.387 MB / 474.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001462/0.2791, allocations: 57.88 kB / 0.5662 GB, free: 9.324 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.2791, allocations: 59.28 kB / 0.5662 GB, free: 9.254 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.532e-05/0.2792, allocations: 101.8 kB / 0.5663 GB, free: 9.145 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.2792, allocations: 33.7 kB / 0.5663 GB, free: 9.105 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.324e-05/0.2792, allocations: 95.98 kB / 0.5664 GB, free: 9.008 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.866e-06/0.2792, allocations: 15.89 kB / 0.5665 GB, free: 8.992 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.648e-05/0.2793, allocations: 17.72 kB / 0.5665 GB, free: 8.969 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.679e-05/0.2793, allocations: 318.8 kB / 0.5668 GB, free: 8.648 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.896e-05/0.2793, allocations: 7.984 kB / 0.5668 GB, free: 8.641 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.584e-05/0.2794, allocations: 31.55 kB / 0.5668 GB, free: 8.598 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.355e-05/0.2794, allocations: 55.3 kB / 0.5669 GB, free: 8.531 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2794, allocations: 0 / 0.5669 GB, free: 8.531 MB / 474.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.946e-05/0.2795, allocations: 73.61 kB / 0.5669 GB, free: 8.453 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.2795, allocations: 8 kB / 0.5669 GB, free: 8.445 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.2795, allocations: 0 / 0.5669 GB, free: 8.445 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.2795, allocations: 4 kB / 0.5669 GB, free: 8.441 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.597e-05/0.2796, allocations: 14.88 kB / 0.567 GB, free: 8.43 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.2796, allocations: 7.938 kB / 0.567 GB, free: 8.422 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.718e-05/0.2796, allocations: 3.953 kB / 0.567 GB, free: 8.418 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.2796, allocations: 8 kB / 0.567 GB, free: 8.41 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 (7): * Single equations (assignments): 7 * 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 5.185e-05/0.2797, allocations: 117.8 kB / 0.5671 GB, free: 8.285 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.108e-05/0.2797, allocations: 4.094 kB / 0.5671 GB, free: 8.281 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/0.2798, allocations: 73.91 kB / 0.5672 GB, free: 8.207 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.2798, allocations: 3.938 kB / 0.5672 GB, free: 8.203 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2798, allocations: 3.938 kB / 0.5672 GB, free: 8.199 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2798, allocations: 0 / 0.5672 GB, free: 8.199 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.663e-05/0.2799, allocations: 109.3 kB / 0.5673 GB, free: 8.062 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.2799, allocations: 3.984 kB / 0.5673 GB, free: 8.059 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.508e-05/0.2799, allocations: 8 kB / 0.5673 GB, free: 8.051 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2799, allocations: 4 kB / 0.5673 GB, free: 8.047 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.2799, allocations: 1.688 kB / 0.5673 GB, free: 8.047 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.2799, allocations: 0 / 0.5673 GB, free: 8.047 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2799, allocations: 0 / 0.5673 GB, free: 8.047 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.058e-05/0.28, allocations: 147.4 kB / 0.5674 GB, free: 7.887 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.013e-06/0.28, allocations: 8 kB / 0.5674 GB, free: 7.879 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.067e-06/0.28, allocations: 3.984 kB / 0.5674 GB, free: 7.875 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.434e-05/0.28, allocations: 0 / 0.5674 GB, free: 7.875 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.148e-05/0.28, allocations: 0 / 0.5674 GB, free: 7.875 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.28, allocations: 7.938 kB / 0.5675 GB, free: 7.867 MB / 474.7 MB Notification: Performance of sorting global known variables: time 2.228e-05/0.28, allocations: 87.55 kB / 0.5675 GB, free: 7.781 MB / 474.7 MB Notification: Performance of sort global known variables: time 5e-08/0.28, allocations: 0 / 0.5675 GB, free: 7.781 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002834/0.2803, allocations: 151.5 kB / 0.5677 GB, free: 7.633 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 (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0004955/0.2808, allocations: 332.5 kB / 0.568 GB, free: 7.301 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 8.18e-05/0.2809, allocations: 35.91 kB / 0.568 GB, free: 7.266 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.2809, allocations: 0 / 0.568 GB, free: 7.266 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.111e-05/0.2809, allocations: 12 kB / 0.568 GB, free: 7.254 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001793/0.2811, allocations: 9.781 kB / 0.5681 GB, free: 7.246 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002445/0.2813, allocations: 165.8 kB / 0.5682 GB, free: 7.059 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.456e-05/0.2814, allocations: 67.28 kB / 0.5683 GB, free: 6.973 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.681e-05/0.2814, allocations: 20.5 kB / 0.5683 GB, free: 6.957 MB / 474.7 MB Notification: Performance of SimCode: time 6.82e-07/0.2814, allocations: 0 / 0.5683 GB, free: 6.957 MB / 474.7 MB Notification: Performance of Templates: time 0.003415/0.2848, allocations: 3.007 MB / 0.5712 GB, free: 3.957 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 4.915998584590852]