Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001898/0.002981, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00166/0.002698, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9519/0.9519, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1712/1.123, allocations: 52.49 MB / 238.5 MB, free: 7.625 MB / 234.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.1369/0.1369, allocations: 32.79 MB / 272 MB, free: 6.305 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02155/0.1584, allocations: 12.54 MB / 284.5 MB, free: 9.723 MB / 282.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 285.9 MB, free: 8.387 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.056e-05/2.191e-05, allocations: 2.312 kB / 285.9 MB, free: 8.383 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.04433/0.04435, allocations: 24.14 MB / 310 MB, free: 148 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007903/0.05225, allocations: 9.287 MB / 319.3 MB, free: 6.828 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.875e-05/0.05233, allocations: 8 kB / 319.3 MB, free: 6.82 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002451/0.05258, allocations: 83.45 kB / 319.4 MB, free: 6.738 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1811/0.2337, allocations: 7.933 MB / 327.3 MB, free: 4.641 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007589/0.2345, allocations: 352.5 kB / 327.7 MB, free: 4.641 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006705/0.2351, allocations: 0.5146 MB / 328.2 MB, free: 4.555 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.054e-05/0.2352, allocations: 16.66 kB / 328.2 MB, free: 4.551 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003555/0.2356, allocations: 265.9 kB / 328.5 MB, free: 4.527 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006668/0.2422, allocations: 5.421 MB / 333.9 MB, free: 3.871 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.544e-05/0.2423, allocations: 14 kB / 333.9 MB, free: 3.871 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01782/0.2601, allocations: 11.83 MB / 345.7 MB, free: 3.617 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000212/0.2604, allocations: 74.41 kB / 345.8 MB, free: 3.602 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002175/0.2606, allocations: 96.86 kB / 345.9 MB, free: 3.586 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01634/0.2769, allocations: 5.846 MB / 351.7 MB, free: 14.9 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.105e-05/0.2769, allocations: 0 / 351.7 MB, free: 14.9 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2769, allocations: 4 kB / 351.7 MB, free: 14.9 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.2769, allocations: 0 / 351.7 MB, free: 14.9 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.004131/0.2811, allocations: 2.029 MB / 353.8 MB, free: 12.91 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.2811, allocations: 12.03 kB / 353.8 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001683/0.2813, allocations: 63.14 kB / 353.8 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.2815, allocations: 170.2 kB / 354 MB, free: 12.67 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.2815, allocations: 25.78 kB / 354 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.571e-05/0.2816, allocations: 33.84 kB / 354.1 MB, free: 12.63 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000492/0.2821, allocations: 418.5 kB / 354.5 MB, free: 12.21 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.2821, allocations: 0 / 354.5 MB, free: 12.21 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.83e-05/0.2821, allocations: 14.38 kB / 354.5 MB, free: 12.21 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-05/0.2822, allocations: 20.09 kB / 354.5 MB, free: 12.19 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004838/0.2826, allocations: 399.2 kB / 354.9 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001267/0.2839, allocations: 1.331 MB / 356.2 MB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004299/0.2843, allocations: 215.1 kB / 356.4 MB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.203e-05/0.2844, allocations: 60.05 kB / 356.5 MB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007137/0.2916, allocations: 3.407 MB / 359.9 MB, free: 7.309 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003429/0.2919, allocations: 243.6 kB / 360.2 MB, free: 7.059 MB / 330.7 MB Notification: Performance of pre-optimization done (n=34): time 1.533e-06/0.2919, allocations: 0 / 360.2 MB, free: 7.059 MB / 330.7 MB Notification: Performance of matching and sorting (n=34): time 0.001342/0.2932, allocations: 465 kB / 360.6 MB, free: 6.66 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.873e-05/0.2933, allocations: 279.2 kB / 360.9 MB, free: 6.332 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.2935, allocations: 200.7 kB / 361.1 MB, free: 6.145 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.683e-05/0.2935, allocations: 30.64 kB / 361.1 MB, free: 6.113 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.909e-05/0.2936, allocations: 206.2 kB / 361.3 MB, free: 5.926 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.848e-05/0.2937, allocations: 122.9 kB / 361.4 MB, free: 5.824 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.2938, allocations: 116.8 kB / 361.5 MB, free: 5.742 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.333e-05/0.2939, allocations: 332.4 kB / 361.9 MB, free: 5.422 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.759e-05/0.2939, allocations: 53.27 kB / 361.9 MB, free: 5.367 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003049/0.2942, allocations: 331.3 kB / 362.2 MB, free: 4.945 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005683/0.2948, allocations: 471 kB / 362.7 MB, free: 4.414 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.2948, allocations: 4 kB / 362.7 MB, free: 4.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0007542/0.2956, allocations: 375.2 kB / 363.1 MB, free: 4.121 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.2956, allocations: 8 kB / 363.1 MB, free: 4.113 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.2956, allocations: 12 kB / 363.1 MB, free: 4.102 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.2956, allocations: 12 kB / 363.1 MB, free: 4.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004578/0.2961, allocations: 198 kB / 363.3 MB, free: 3.918 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002478/0.2963, allocations: 0.5986 MB / 363.9 MB, free: 3.309 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002274/0.2966, allocations: 56.88 kB / 363.9 MB, free: 3.262 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.067e-05/0.2966, allocations: 40.17 kB / 364 MB, free: 3.227 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001127/0.2967, allocations: 162 kB / 364.1 MB, free: 3.086 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/0.2969, allocations: 47.34 kB / 364.2 MB, free: 3.043 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006/0.2975, allocations: 390.1 kB / 364.6 MB, free: 2.711 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.2975, allocations: 4 kB / 364.6 MB, free: 2.707 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.2975, allocations: 3.938 kB / 364.6 MB, free: 2.703 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.2975, allocations: 4 kB / 364.6 MB, free: 2.699 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005124/0.298, allocations: 395.5 kB / 365 MB, free: 2.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.298, allocations: 0 / 365 MB, free: 2.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002609/0.2983, allocations: 86.34 kB / 365.1 MB, free: 2.242 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.541e-05/0.2983, allocations: 35.02 kB / 365.1 MB, free: 2.215 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.2983, allocations: 0 / 365.1 MB, free: 2.215 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.2983, allocations: 7.25 kB / 365.1 MB, free: 2.211 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002248/0.2985, allocations: 0.5852 MB / 365.7 MB, free: 1.605 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2985, allocations: 0 / 365.7 MB, free: 1.605 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003855/0.2989, allocations: 268.2 kB / 365.9 MB, free: 1.328 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.935e-05/0.299, allocations: 15.67 kB / 366 MB, free: 1.316 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.2991, allocations: 12.38 kB / 366 MB, free: 1.309 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.45e-05/0.2992, allocations: 28.77 kB / 366 MB, free: 1.281 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.2992, allocations: 12.03 kB / 366 MB, free: 1.273 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.279e-05/0.2993, allocations: 74.48 kB / 366.1 MB, free: 1.211 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2993, allocations: 0 / 366.1 MB, free: 1.211 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003691/0.3029, allocations: 1.436 MB / 367.5 MB, free: 15.86 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005287/0.3082, allocations: 2.284 MB / 369.8 MB, free: 13.79 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005039/0.3087, allocations: 237.8 kB / 370 MB, free: 13.59 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.336e-05/0.3088, allocations: 12.5 kB / 370 MB, free: 13.58 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.3089, allocations: 78.28 kB / 370.1 MB, free: 13.51 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000659/0.3096, allocations: 0.498 MB / 370.6 MB, free: 12.97 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2738/0.5833, allocations: 136.1 MB / 0.4948 GB, free: 142.2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.26e-05/0.5834, allocations: 94.45 kB / 0.4949 GB, free: 142.1 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003728/0.5838, allocations: 114.8 kB / 0.495 GB, free: 142.1 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002262/0.584, allocations: 145.6 kB / 0.4952 GB, free: 142 MB / 458.7 MB Notification: Performance of SimCode: time 1.753e-06/0.584, allocations: 0 / 0.4952 GB, free: 142 MB / 458.7 MB Notification: Performance of Templates: time 0.03806/0.6221, allocations: 44.74 MB / 0.5389 GB, free: 114.1 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceMoistAir/ReferenceMoistAir.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.76817693375051]