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.0009236/0.0009236, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.0009118/0.0009118, allocations: 173.9 kB / 24.92 MB, free: 9.18 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 1.012/1.012, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2743/0.2743, allocations: 34.26 MB / 296.1 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.493e-06/1.493e-06, allocations: 0 / 325.2 MB, free: 7.711 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.097e-05/2.246e-05, allocations: 9.469 kB / 325.2 MB, free: 7.703 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.3536/0.3536, allocations: 146.3 MB / 471.5 MB, free: 12.62 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.355, allocations: 1.463 MB / 472.9 MB, free: 12.51 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.111e-05/0.3551, allocations: 0 / 472.9 MB, free: 12.51 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003717/0.3554, allocations: 44.98 kB / 473 MB, free: 12.5 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002655/0.3581, allocations: 1.102 MB / 474.1 MB, free: 12.39 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.871e-06/0.3581, allocations: 0 / 474.1 MB, free: 12.39 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.3582, allocations: 75.7 kB / 474.2 MB, free: 12.38 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.609e-05/0.3583, allocations: 8.766 kB / 474.2 MB, free: 12.38 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.731e-05/0.3583, allocations: 35.05 kB / 474.2 MB, free: 12.38 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.205e-05/0.3584, allocations: 28.08 kB / 474.2 MB, free: 12.38 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.054e-05/0.3584, allocations: 0 / 474.2 MB, free: 12.38 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002283/0.3607, allocations: 1.619 MB / 475.9 MB, free: 12.31 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.439e-05/0.3608, allocations: 16.08 kB / 475.9 MB, free: 12.31 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.385e-05/0.3608, allocations: 17.42 kB / 475.9 MB, free: 12.31 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001516/0.3623, allocations: 1.031 MB / 476.9 MB, free: 12.24 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3623, allocations: 4 kB / 476.9 MB, free: 12.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3623, allocations: 0 / 476.9 MB, free: 12.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.3623, allocations: 0 / 476.9 MB, free: 12.23 MB / 410.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.0006577/0.363, allocations: 422.9 kB / 477.3 MB, free: 11.9 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.363, allocations: 11.19 kB / 477.3 MB, free: 11.9 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.802e-05/0.3631, allocations: 10.2 kB / 477.4 MB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.067e-05/0.3631, allocations: 108.4 kB / 477.5 MB, free: 11.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.3631, allocations: 3.812 kB / 477.5 MB, free: 11.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.3631, allocations: 7.344 kB / 477.5 MB, free: 11.76 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.471e-05/0.3632, allocations: 57.25 kB / 477.5 MB, free: 11.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.3632, allocations: 4 kB / 477.5 MB, free: 11.72 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.3632, allocations: 3.062 kB / 477.5 MB, free: 11.72 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.562e-05/0.3633, allocations: 14.34 kB / 477.6 MB, free: 11.72 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.074e-05/0.3633, allocations: 17.52 kB / 477.6 MB, free: 11.72 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002705/0.3636, allocations: 202.4 kB / 477.8 MB, free: 11.56 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.949e-05/0.3636, allocations: 83.47 kB / 477.8 MB, free: 11.49 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.528e-05/0.3636, allocations: 11.38 kB / 477.9 MB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001752/0.3638, allocations: 53.58 kB / 477.9 MB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.444e-05/0.3638, allocations: 32.97 kB / 477.9 MB, free: 11.44 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.673e-06/0.3638, allocations: 0 / 477.9 MB, free: 11.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.000105/0.3639, allocations: 53.73 kB / 478 MB, free: 11.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.849e-05/0.364, allocations: 55.34 kB / 478 MB, free: 11.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.549e-05/0.364, allocations: 112.3 kB / 478.2 MB, free: 11.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.372e-06/0.364, allocations: 25.7 kB / 478.2 MB, free: 11.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.889e-05/0.364, allocations: 104.2 kB / 478.3 MB, free: 11.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.215e-06/0.364, allocations: 14.42 kB / 478.3 MB, free: 11.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.467e-05/0.3641, allocations: 24.09 kB / 478.3 MB, free: 11.08 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.35e-05/0.3641, allocations: 320.7 kB / 478.6 MB, free: 10.76 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.313e-05/0.3641, allocations: 8.734 kB / 478.6 MB, free: 10.76 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.248e-05/0.3641, allocations: 35.19 kB / 478.7 MB, free: 10.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.056e-05/0.3642, allocations: 54.94 kB / 478.7 MB, free: 10.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3642, allocations: 3.312 kB / 478.7 MB, free: 10.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.072e-05/0.3642, allocations: 65.48 kB / 478.8 MB, free: 10.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.3642, allocations: 5.031 kB / 478.8 MB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3643, allocations: 0 / 478.8 MB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.3643, allocations: 4.406 kB / 478.8 MB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.639e-05/0.3643, allocations: 14.09 kB / 478.8 MB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.3643, allocations: 2.469 kB / 478.8 MB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.547e-05/0.3644, allocations: 20.81 kB / 478.8 MB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.3644, allocations: 2.812 kB / 478.8 MB, free: 10.62 MB / 410.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 4.128e-05/0.3644, allocations: 111.6 kB / 479 MB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.414e-05/0.3644, allocations: 5.781 kB / 479 MB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/0.3645, allocations: 57.89 kB / 479 MB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.3645, allocations: 2.938 kB / 479 MB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.3645, allocations: 4 kB / 479 MB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.3645, allocations: 3.062 kB / 479 MB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.369e-05/0.3646, allocations: 85.42 kB / 479.1 MB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3646, allocations: 0 / 479.1 MB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.811e-05/0.3646, allocations: 5.562 kB / 479.1 MB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.3646, allocations: 0 / 479.1 MB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.7e-06/0.3646, allocations: 4.25 kB / 479.1 MB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.3646, allocations: 0 / 479.1 MB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3646, allocations: 0 / 479.1 MB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.483e-05/0.3647, allocations: 197 kB / 479.3 MB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.312e-06/0.3647, allocations: 2.844 kB / 479.3 MB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.446e-06/0.3647, allocations: 5.203 kB / 479.3 MB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.44e-05/0.3648, allocations: 3.938 kB / 479.3 MB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.339e-05/0.3648, allocations: 4.984 kB / 479.3 MB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.3648, allocations: 2.719 kB / 479.3 MB, free: 10.19 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.288e-05/0.3648, allocations: 18.47 kB / 479.4 MB, free: 10.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3648, allocations: 0 / 479.4 MB, free: 10.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003399/0.3651, allocations: 155.2 kB / 479.5 MB, free: 10.15 MB / 410.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.0004701/0.3656, allocations: 330.3 kB / 479.8 MB, free: 10.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.696e-05/0.3657, allocations: 36.97 kB / 479.9 MB, free: 10.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3657, allocations: 0 / 479.9 MB, free: 10.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.478e-05/0.3657, allocations: 18.17 kB / 479.9 MB, free: 10.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001625/0.3659, allocations: 12.66 kB / 479.9 MB, free: 10.01 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005144/0.3664, allocations: 188 kB / 480.1 MB, free: 9.871 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.586e-05/0.3664, allocations: 58.73 kB / 480.1 MB, free: 9.801 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.548e-05/0.3664, allocations: 21.58 kB / 480.2 MB, free: 9.793 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.354e-05/0.3665, allocations: 60.59 kB / 480.2 MB, free: 9.746 MB / 410.7 MB Notification: Performance of SimCode: time 8.32e-07/0.3665, allocations: 0 / 480.2 MB, free: 9.746 MB / 410.7 MB Notification: Performance of Templates: time 0.00575/0.3722, allocations: 4.448 MB / 484.7 MB, free: 9.055 MB / 410.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4901501177810133]