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.001726/0.001726, allocations: 111 kB / 21.18 MB, free: 0.6758 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.00211/0.00211, allocations: 208.2 kB / 24.48 MB, free: 3.977 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.594/1.594, allocations: 230.6 MB / 258.2 MB, free: 7.777 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.2619/0.2619, allocations: 46.96 MB / 361.6 MB, free: 4.039 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.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 0.001978/0.001978, allocations: 59.91 kB / 0.4973 GB, free: 7.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2895, allocations: 66.05 MB / 0.5618 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1707/0.4602, allocations: 132.8 MB / 0.6915 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002145/0.4624, allocations: 1.312 MB / 0.6928 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.369e-05/0.4624, allocations: 0 / 0.6928 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003174/0.4627, allocations: 35.81 kB / 0.6928 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002889/0.4656, allocations: 1.088 MB / 0.6939 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 5.57e-06/0.4656, allocations: 0 / 0.6939 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.4657, allocations: 71.64 kB / 0.6939 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.522e-05/0.4658, allocations: 4 kB / 0.6939 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.178e-05/0.4658, allocations: 27.86 kB / 0.6939 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.067e-05/0.4659, allocations: 35.89 kB / 0.694 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.809e-06/0.4659, allocations: 0 / 0.694 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002855/0.4688, allocations: 1.653 MB / 0.6956 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.344e-05/0.4688, allocations: 15.92 kB / 0.6956 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.266e-05/0.4689, allocations: 15.94 kB / 0.6956 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001405/0.4703, allocations: 0.8845 MB / 0.6965 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.4703, allocations: 0 / 0.6965 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4703, allocations: 7.938 kB / 0.6965 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.4703, allocations: 0 / 0.6965 GB, free: 9.727 MB / 0.5294 GB 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.0007495/0.471, allocations: 440.5 kB / 0.6969 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.4711, allocations: 12.03 kB / 0.6969 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.536e-05/0.4711, allocations: 8.828 kB / 0.6969 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.4712, allocations: 117.7 kB / 0.6971 GB, free: 9.105 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.4712, allocations: 4 kB / 0.6971 GB, free: 9.102 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.829e-06/0.4712, allocations: 0 / 0.6971 GB, free: 9.102 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.4714, allocations: 89.61 kB / 0.6971 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.4714, allocations: 0 / 0.6971 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.4714, allocations: 11.97 kB / 0.6972 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.61e-05/0.4714, allocations: 4 kB / 0.6972 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/0.4716, allocations: 75.88 kB / 0.6972 GB, free: 8.918 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004378/0.472, allocations: 256.4 kB / 0.6975 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.756e-05/0.4721, allocations: 42.5 kB / 0.6975 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.437e-05/0.4721, allocations: 12.98 kB / 0.6975 GB, free: 8.57 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001322/0.4722, allocations: 31.98 kB / 0.6976 GB, free: 8.539 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.4723, allocations: 30.56 kB / 0.6976 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.4723, allocations: 0 / 0.6976 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0002026/0.4725, allocations: 73.61 kB / 0.6977 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.4725, allocations: 55.41 kB / 0.6977 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.4726, allocations: 113.7 kB / 0.6978 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.4726, allocations: 25.7 kB / 0.6978 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.798e-05/0.4727, allocations: 96.05 kB / 0.6979 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.4727, allocations: 23.77 kB / 0.698 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.302e-05/0.4728, allocations: 21.72 kB / 0.698 GB, free: 8.055 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.4729, allocations: 314.8 kB / 0.6983 GB, free: 7.738 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.923e-05/0.4729, allocations: 11.98 kB / 0.6983 GB, free: 7.727 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.531e-05/0.473, allocations: 43.41 kB / 0.6983 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.4731, allocations: 63.36 kB / 0.6984 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4731, allocations: 0 / 0.6984 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001351/0.4732, allocations: 73.62 kB / 0.6985 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.4733, allocations: 7.938 kB / 0.6985 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.4733, allocations: 0 / 0.6985 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.4733, allocations: 4 kB / 0.6985 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.075e-05/0.4734, allocations: 23.92 kB / 0.6985 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.4734, allocations: 0 / 0.6985 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.367e-05/0.4734, allocations: 4.516 kB / 0.6985 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.4734, allocations: 8.203 kB / 0.6985 GB, free: 7.473 MB / 0.5294 GB 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 9.388e-05/0.4735, allocations: 117.8 kB / 0.6986 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.4736, allocations: 11.92 kB / 0.6986 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001745/0.4737, allocations: 81.31 kB / 0.6987 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.4737, allocations: 7.922 kB / 0.6987 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.4737, allocations: 0 / 0.6987 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.4737, allocations: 0 / 0.6987 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001575/0.4739, allocations: 117.3 kB / 0.6988 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.4739, allocations: 4 kB / 0.6988 GB, free: 7.094 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.175e-05/0.4739, allocations: 4 kB / 0.6988 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.4739, allocations: 0 / 0.6988 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.4739, allocations: 7.938 kB / 0.6988 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4739, allocations: 0 / 0.6988 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.474, allocations: 0 / 0.6988 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001613/0.4741, allocations: 151.5 kB / 0.699 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.337e-05/0.4741, allocations: 11.98 kB / 0.699 GB, free: 6.906 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.4741, allocations: 3.938 kB / 0.699 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.076e-05/0.4742, allocations: 0 / 0.699 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.697e-05/0.4742, allocations: 8 kB / 0.699 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.4742, allocations: 0 / 0.699 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.639e-05/0.4743, allocations: 95.2 kB / 0.6991 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.4743, allocations: 0 / 0.6991 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004945/0.4748, allocations: 151.5 kB / 0.6992 GB, free: 6.652 MB / 0.5294 GB 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.0007288/0.4755, allocations: 318.5 kB / 0.6995 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000132/0.4756, allocations: 47.91 kB / 0.6996 GB, free: 6.285 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.4756, allocations: 0 / 0.6996 GB, free: 6.285 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.884e-05/0.4757, allocations: 12.44 kB / 0.6996 GB, free: 6.273 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.4759, allocations: 16.11 kB / 0.6996 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003888/0.4763, allocations: 168.6 kB / 0.6998 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.29e-05/0.4764, allocations: 71.23 kB / 0.6999 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.044e-05/0.4765, allocations: 24.25 kB / 0.6999 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.668e-05/0.4765, allocations: 19.42 kB / 0.6999 GB, free: 5.934 MB / 0.5294 GB Notification: Performance of SimCode: time 3.1e-07/0.4765, allocations: 4 kB / 0.6999 GB, free: 5.93 MB / 0.5294 GB Notification: Performance of Templates: time 0.00764/0.4842, allocations: 3.759 MB / 0.7036 GB, free: 2.191 MB / 0.5294 GB " [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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins1/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.3386913430003915]