Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.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.001402/0.001402, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001669/0.001669, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.49/1.49, allocations: 230.3 MB / 258 MB, free: 8.195 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.2248/0.2248, allocations: 46.94 MB / 361.4 MB, free: 4.398 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.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_4.1.0-beta.om_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-beta.om_ModelicaTest.Media.TestOnly.MoistAir") [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.002355/0.002355, allocations: 79.86 kB / 0.4972 GB, free: 7.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3272, allocations: 66.04 MB / 0.5616 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1858/0.513, allocations: 154.4 MB / 0.7124 GB, free: 9.516 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002035/0.5151, allocations: 1.472 MB / 0.7139 GB, free: 8.039 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.54e-05/0.5151, allocations: 4 kB / 0.7139 GB, free: 8.035 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000405/0.5155, allocations: 51.78 kB / 0.7139 GB, free: 7.984 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002807/0.5183, allocations: 1.084 MB / 0.715 GB, free: 6.902 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 4.519e-06/0.5183, allocations: 0 / 0.715 GB, free: 6.902 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.5185, allocations: 71.62 kB / 0.715 GB, free: 6.832 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.375e-05/0.5185, allocations: 0 / 0.715 GB, free: 6.832 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.699e-05/0.5185, allocations: 27.86 kB / 0.7151 GB, free: 6.805 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.931e-05/0.5186, allocations: 35.83 kB / 0.7151 GB, free: 6.77 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.709e-06/0.5186, allocations: 0 / 0.7151 GB, free: 6.77 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003163/0.5218, allocations: 1.953 MB / 0.717 GB, free: 4.816 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.525e-05/0.5219, allocations: 15.92 kB / 0.717 GB, free: 4.801 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.711e-05/0.5219, allocations: 19.94 kB / 0.7171 GB, free: 4.781 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001351/0.5232, allocations: 0.9235 MB / 0.718 GB, free: 3.855 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.5232, allocations: 0 / 0.718 GB, free: 3.855 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.072e-06/0.5232, allocations: 3.938 kB / 0.718 GB, free: 3.852 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.5233, allocations: 0 / 0.718 GB, free: 3.852 MB / 0.545 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.0007419/0.524, allocations: 444.5 kB / 0.7184 GB, free: 3.387 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.524, allocations: 11.97 kB / 0.7184 GB, free: 3.375 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.83e-05/0.5241, allocations: 8.891 kB / 0.7184 GB, free: 3.367 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.5242, allocations: 109.7 kB / 0.7185 GB, free: 3.234 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.5242, allocations: 8 kB / 0.7185 GB, free: 3.227 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.5242, allocations: 4 kB / 0.7185 GB, free: 3.223 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.5244, allocations: 93.58 kB / 0.7186 GB, free: 3.125 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.5244, allocations: 0 / 0.7186 GB, free: 3.125 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.5244, allocations: 0 / 0.7186 GB, free: 3.125 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.769e-05/0.5244, allocations: 11.94 kB / 0.7186 GB, free: 3.113 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.5245, allocations: 67.95 kB / 0.7187 GB, free: 3.047 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004522/0.525, allocations: 283.8 kB / 0.719 GB, free: 2.727 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.485e-05/0.525, allocations: 38.5 kB / 0.719 GB, free: 2.68 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.184e-05/0.5251, allocations: 20.98 kB / 0.719 GB, free: 2.656 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000122/0.5252, allocations: 31.97 kB / 0.719 GB, free: 2.625 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.5252, allocations: 38.5 kB / 0.7191 GB, free: 2.578 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.5252, allocations: 0 / 0.7191 GB, free: 2.578 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.0001942/0.5254, allocations: 69.61 kB / 0.7191 GB, free: 2.504 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.5255, allocations: 55.41 kB / 0.7192 GB, free: 2.438 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.247e-05/0.5256, allocations: 109.8 kB / 0.7193 GB, free: 2.32 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.5256, allocations: 25.7 kB / 0.7193 GB, free: 2.289 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.709e-05/0.5256, allocations: 96.16 kB / 0.7194 GB, free: 2.191 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.706e-05/0.5257, allocations: 19.77 kB / 0.7194 GB, free: 2.172 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.976e-05/0.5257, allocations: 25.67 kB / 0.7195 GB, free: 2.141 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.5258, allocations: 318.8 kB / 0.7198 GB, free: 1.82 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.513e-05/0.5258, allocations: 11.98 kB / 0.7198 GB, free: 1.809 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.144e-05/0.5259, allocations: 43.42 kB / 0.7198 GB, free: 1.754 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.696e-05/0.526, allocations: 59.36 kB / 0.7199 GB, free: 1.684 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.526, allocations: 0 / 0.7199 GB, free: 1.684 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001305/0.5261, allocations: 81.62 kB / 0.72 GB, free: 1.598 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.5261, allocations: 6.344 kB / 0.72 GB, free: 1.594 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.5261, allocations: 0 / 0.72 GB, free: 1.594 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.5261, allocations: 4 kB / 0.72 GB, free: 1.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.441e-05/0.5262, allocations: 15.98 kB / 0.72 GB, free: 1.574 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.5262, allocations: 7.938 kB / 0.72 GB, free: 1.566 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.947e-05/0.5263, allocations: 0 / 0.72 GB, free: 1.566 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.5263, allocations: 4 kB / 0.72 GB, free: 1.562 MB / 0.545 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 8.685e-05/0.5264, allocations: 117.8 kB / 0.7201 GB, free: 1.438 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.307e-05/0.5264, allocations: 15.91 kB / 0.7201 GB, free: 1.422 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001565/0.5265, allocations: 70 kB / 0.7202 GB, free: 1.348 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/0.5266, allocations: 11.97 kB / 0.7202 GB, free: 1.336 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.5266, allocations: 0 / 0.7202 GB, free: 1.336 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.5266, allocations: 64 / 0.7202 GB, free: 1.336 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.5267, allocations: 140.7 kB / 0.7203 GB, free: 1.156 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.5267, allocations: 0 / 0.7203 GB, free: 1.156 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.258e-05/0.5268, allocations: 15.86 kB / 0.7203 GB, free: 1.141 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.5268, allocations: 4 kB / 0.7203 GB, free: 1.137 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.5268, allocations: 4 kB / 0.7204 GB, free: 1.133 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.5268, allocations: 0 / 0.7204 GB, free: 1.133 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.5268, allocations: 3.938 kB / 0.7204 GB, free: 1.129 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001471/0.5269, allocations: 155.5 kB / 0.7205 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.183e-05/0.527, allocations: 7.938 kB / 0.7205 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.527, allocations: 0 / 0.7205 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.845e-05/0.527, allocations: 0 / 0.7205 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.602e-05/0.527, allocations: 11.98 kB / 0.7205 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-06/0.527, allocations: 0 / 0.7205 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.679e-05/0.5271, allocations: 87.27 kB / 0.7206 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.1e-08/0.5271, allocations: 0 / 0.7206 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004414/0.5275, allocations: 155.4 kB / 0.7208 GB, free: 0.7031 MB / 0.545 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.0006545/0.5282, allocations: 326.6 kB / 0.7211 GB, free: 384 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001191/0.5283, allocations: 31.98 kB / 0.7211 GB, free: 352 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5283, allocations: 0 / 0.7211 GB, free: 352 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.847e-05/0.5283, allocations: 23.92 kB / 0.7211 GB, free: 328 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/0.5286, allocations: 12.48 kB / 0.7211 GB, free: 316 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000365/0.529, allocations: 168.9 kB / 0.7213 GB, free: 120 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.5293, allocations: 0.6885 MB / 0.722 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.861e-05/0.5293, allocations: 19.92 kB / 0.722 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.868e-05/0.5294, allocations: 11.44 kB / 0.722 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.5294, allocations: 0 / 0.722 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of Templates: time 0.007338/0.5367, allocations: 3.714 MB / 0.7256 GB, free: 11.66 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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.564204246737063]