Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001842/0.001842, allocations: 116.9 kB / 19.13 MB, free: 3.922 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.002224/0.002224, allocations: 214.5 kB / 22.08 MB, free: 0.9727 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.521/1.521, allocations: 227.4 MB / 252.3 MB, free: 252 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2296/0.2296, allocations: 46.17 MB / 351.8 MB, free: 14.29 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00233/0.00233, allocations: 85.72 kB / 490.9 MB, free: 28.14 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1207, allocations: 62.45 MB / 0.5403 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.4484/0.5691, allocations: 153.9 MB / 0.6906 GB, free: 3.145 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002008/0.5712, allocations: 1.456 MB / 0.692 GB, free: 1.988 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.987e-05/0.5713, allocations: 7.938 kB / 0.692 GB, free: 1.98 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003743/0.5717, allocations: 45.86 kB / 0.6921 GB, free: 1.945 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002815/0.5745, allocations: 1.075 MB / 0.6931 GB, free: 1.219 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.621e-06/0.5746, allocations: 3.938 kB / 0.6931 GB, free: 1.215 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.5747, allocations: 72.06 kB / 0.6932 GB, free: 1.176 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.328e-05/0.5747, allocations: 2.812 kB / 0.6932 GB, free: 1.176 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.083e-05/0.5748, allocations: 26.98 kB / 0.6932 GB, free: 1.164 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.065e-05/0.5749, allocations: 30.34 kB / 0.6933 GB, free: 1.148 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.868e-06/0.5749, allocations: 2.906 kB / 0.6933 GB, free: 1.148 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003053/0.5779, allocations: 1.866 MB / 0.6951 GB, free: 164 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.555e-05/0.578, allocations: 20.83 kB / 0.6951 GB, free: 148 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.298e-05/0.5781, allocations: 25.94 kB / 0.6951 GB, free: 132 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001457/0.5795, allocations: 0.9207 MB / 0.696 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.5795, allocations: 4 kB / 0.696 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.502e-06/0.5796, allocations: 0 / 0.696 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.5796, allocations: 0 / 0.696 GB, free: 15.63 MB / 0.4981 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.0007523/0.5803, allocations: 0.5048 MB / 0.6965 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.5804, allocations: 10.12 kB / 0.6965 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/0.5804, allocations: 7.609 kB / 0.6966 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.5806, allocations: 174 kB / 0.6967 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.954e-06/0.5806, allocations: 2.812 kB / 0.6967 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.5806, allocations: 9.875 kB / 0.6967 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.5808, allocations: 80.19 kB / 0.6968 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.5808, allocations: 0 / 0.6968 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.5808, allocations: 4.859 kB / 0.6968 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.622e-05/0.5808, allocations: 11.25 kB / 0.6968 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.7e-05/0.5809, allocations: 69.98 kB / 0.6969 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004742/0.5814, allocations: 314 kB / 0.6972 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.549e-05/0.5815, allocations: 37.38 kB / 0.6972 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.156e-05/0.5815, allocations: 17.23 kB / 0.6972 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002452/0.5818, allocations: 257.8 kB / 0.6975 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.5818, allocations: 33.47 kB / 0.6975 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.5818, allocations: 0 / 0.6975 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.0002061/0.582, allocations: 77.52 kB / 0.6976 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.5821, allocations: 55.41 kB / 0.6976 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.662e-05/0.5822, allocations: 101 kB / 0.6977 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.5822, allocations: 29.36 kB / 0.6978 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.096e-05/0.5823, allocations: 107 kB / 0.6979 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.369e-05/0.5823, allocations: 14.56 kB / 0.6979 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-05/0.5823, allocations: 28.5 kB / 0.6979 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.5825, allocations: 314.8 kB / 0.6982 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.685e-05/0.5825, allocations: 11.89 kB / 0.6982 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.43e-05/0.5826, allocations: 41.8 kB / 0.6983 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.78e-05/0.5827, allocations: 54.88 kB / 0.6983 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.5827, allocations: 0 / 0.6983 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001245/0.5828, allocations: 84.2 kB / 0.6984 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.5828, allocations: 11.41 kB / 0.6984 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.5828, allocations: 2.812 kB / 0.6984 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.5829, allocations: 2.312 kB / 0.6984 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.654e-05/0.583, allocations: 18.3 kB / 0.6984 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.583, allocations: 0 / 0.6984 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.993e-05/0.583, allocations: 2.5 kB / 0.6984 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.583, allocations: 5.062 kB / 0.6984 GB, free: 13.25 MB / 0.4981 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.66e-05/0.5831, allocations: 112.6 kB / 0.6985 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.102e-05/0.5832, allocations: 14.31 kB / 0.6986 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000171/0.5833, allocations: 79.73 kB / 0.6986 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.5833, allocations: 2.562 kB / 0.6986 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.5834, allocations: 0 / 0.6986 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.5834, allocations: 0 / 0.6986 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002092/0.5836, allocations: 167.7 kB / 0.6988 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.5836, allocations: 0 / 0.6988 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.881e-05/0.5836, allocations: 11.31 kB / 0.6988 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.5836, allocations: 3.938 kB / 0.6988 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.5836, allocations: 2.781 kB / 0.6988 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.5837, allocations: 3.984 kB / 0.6988 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.5837, allocations: 7.922 kB / 0.6988 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001477/0.5838, allocations: 163.3 kB / 0.699 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.455e-05/0.5839, allocations: 81.05 kB / 0.6991 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.5839, allocations: 3.938 kB / 0.6991 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.731e-05/0.584, allocations: 6.344 kB / 0.6991 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.198e-05/0.584, allocations: 6.391 kB / 0.6991 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.584, allocations: 2.125 kB / 0.6991 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.594e-05/0.584, allocations: 85.84 kB / 0.6992 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.5841, allocations: 0 / 0.6992 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004659/0.5845, allocations: 149.8 kB / 0.6993 GB, free: 12.45 MB / 0.4981 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.0008538/0.5854, allocations: 348.1 kB / 0.6996 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001333/0.5855, allocations: 34.55 kB / 0.6997 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5855, allocations: 0 / 0.6997 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.588e-05/0.5856, allocations: 14.16 kB / 0.6997 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.5859, allocations: 21.45 kB / 0.6997 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004008/0.5863, allocations: 196.6 kB / 0.6999 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.5866, allocations: 0.6861 MB / 0.7006 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.028e-05/0.5867, allocations: 19.5 kB / 0.7006 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.5867, allocations: 0 / 0.7006 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of Templates: time 0.00593/0.5926, allocations: 3.185 MB / 0.7037 GB, free: 8.141 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 9.368659866973758]