Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.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.0009653/0.0009653, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001021/0.001021, allocations: 165 kB / 24.56 MB, free: 12 kB / 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 0.9611/0.9611, allocations: 177.2 MB / 205 MB, free: 5.23 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.256/0.256, allocations: 34.26 MB / 295.7 MB, free: 0.7188 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.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.1.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.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 378.1 MB, free: 2.613 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.021e-05/2.175e-05, allocations: 5.406 kB / 378.1 MB, free: 2.609 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.02266/0.02268, allocations: 24.14 MB / 402.2 MB, free: 10.39 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.008263/0.03095, allocations: 9.257 MB / 411.5 MB, free: 1.098 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.03106, allocations: 7.938 kB / 411.5 MB, free: 1.09 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003624/0.03143, allocations: 75.56 kB / 411.6 MB, free: 1.016 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01788/0.04931, allocations: 8.709 MB / 420.3 MB, free: 8.273 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000582/0.04989, allocations: 358.9 kB / 420.6 MB, free: 7.922 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004634/0.05036, allocations: 0.51 MB / 421.1 MB, free: 7.41 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.563e-05/0.0504, allocations: 12.59 kB / 421.1 MB, free: 7.398 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00023/0.05063, allocations: 267.3 kB / 421.4 MB, free: 7.137 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006085/0.05672, allocations: 6.038 MB / 427.4 MB, free: 1.094 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.052e-05/0.05675, allocations: 12 kB / 427.4 MB, free: 1.082 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01481/0.07155, allocations: 11.17 MB / 438.6 MB, free: 5.895 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.7e-05/0.07165, allocations: 91.7 kB / 438.7 MB, free: 5.805 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.07176, allocations: 111.8 kB / 438.8 MB, free: 5.695 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2017/0.2734, allocations: 7.517 MB / 446.3 MB, free: 65.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.2734, allocations: 0 / 446.3 MB, free: 65.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2734, allocations: 0 / 446.3 MB, free: 65.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.173e-05/0.2734, allocations: 0 / 446.3 MB, free: 65.02 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.003959/0.2774, allocations: 1.528 MB / 447.9 MB, free: 64.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.2775, allocations: 10.62 kB / 447.9 MB, free: 64.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002286/0.2777, allocations: 70.91 kB / 447.9 MB, free: 64.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.2779, allocations: 187.6 kB / 448.1 MB, free: 64.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.278, allocations: 19.12 kB / 448.1 MB, free: 64.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.76e-05/0.278, allocations: 37.44 kB / 448.2 MB, free: 64.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005366/0.2785, allocations: 463.9 kB / 448.6 MB, free: 63.83 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.2785, allocations: 0 / 448.6 MB, free: 63.83 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.031e-05/0.2786, allocations: 10.81 kB / 448.6 MB, free: 63.83 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.515e-05/0.2786, allocations: 27.75 kB / 448.7 MB, free: 63.83 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004786/0.2791, allocations: 0.4913 MB / 449.2 MB, free: 63.83 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001268/0.2804, allocations: 1.815 MB / 451 MB, free: 62.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005101/0.2809, allocations: 256.5 kB / 451.2 MB, free: 62.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.08e-05/0.281, allocations: 79.86 kB / 451.3 MB, free: 62.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006147/0.2871, allocations: 3.677 MB / 455 MB, free: 62.13 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002993/0.2874, allocations: 280.2 kB / 455.3 MB, free: 61.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 2.374e-06/0.2874, allocations: 0 / 455.3 MB, free: 61.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.001393/0.2888, allocations: 0.7785 MB / 456 MB, free: 61.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.698e-05/0.2889, allocations: 267.2 kB / 456.3 MB, free: 61.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.289, allocations: 281.6 kB / 456.6 MB, free: 61.11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.289, allocations: 35.8 kB / 456.6 MB, free: 61.08 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.688e-05/0.2891, allocations: 250.6 kB / 456.8 MB, free: 60.87 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.617e-05/0.2892, allocations: 133.5 kB / 457 MB, free: 60.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.2893, allocations: 137.2 kB / 457.1 MB, free: 60.76 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.333e-05/0.2893, allocations: 0.5041 MB / 457.6 MB, free: 60.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.668e-05/0.2894, allocations: 66.33 kB / 457.7 MB, free: 60.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002461/0.2897, allocations: 462.6 kB / 458.1 MB, free: 59.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004281/0.2901, allocations: 0.5748 MB / 458.7 MB, free: 59.26 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.2901, allocations: 3.125 kB / 458.7 MB, free: 59.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007047/0.2908, allocations: 0.4981 MB / 459.2 MB, free: 59.19 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.2908, allocations: 9.5 kB / 459.2 MB, free: 59.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.2908, allocations: 9.438 kB / 459.2 MB, free: 59.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.2909, allocations: 12.41 kB / 459.2 MB, free: 59.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003489/0.2912, allocations: 179 kB / 459.4 MB, free: 59.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003883/0.2916, allocations: 1.81 MB / 461.2 MB, free: 57.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/0.2917, allocations: 26.8 kB / 461.3 MB, free: 57.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.477e-05/0.2918, allocations: 51.05 kB / 461.3 MB, free: 57.38 MB / 410.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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.934e-05/0.2919, allocations: 193.5 kB / 461.5 MB, free: 57.22 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.292, allocations: 57.38 kB / 461.5 MB, free: 57.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005634/0.2926, allocations: 499.1 kB / 462 MB, free: 56.97 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.2926, allocations: 9.047 kB / 462 MB, free: 56.97 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.2926, allocations: 4.031 kB / 462 MB, free: 56.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.2926, allocations: 3.031 kB / 462 MB, free: 56.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005273/0.2931, allocations: 0.5722 MB / 462.6 MB, free: 56.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.2931, allocations: 3.938 kB / 462.6 MB, free: 56.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002171/0.2933, allocations: 91.23 kB / 462.7 MB, free: 56.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.2933, allocations: 3.406 kB / 462.7 MB, free: 56.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.2934, allocations: 10.25 kB / 462.7 MB, free: 56.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002496/0.2936, allocations: 1.795 MB / 464.5 MB, free: 54.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2936, allocations: 3.469 kB / 464.5 MB, free: 54.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003348/0.2939, allocations: 381.7 kB / 464.9 MB, free: 54.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.145e-05/0.294, allocations: 24.72 kB / 464.9 MB, free: 54.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.287e-05/0.294, allocations: 15 kB / 464.9 MB, free: 54.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.2941, allocations: 16.95 kB / 465 MB, free: 54.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.165e-05/0.2941, allocations: 23.08 kB / 465 MB, free: 54.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.2942, allocations: 13.53 kB / 465 MB, free: 54.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.708e-05/0.2943, allocations: 199.5 kB / 465.2 MB, free: 54.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2943, allocations: 7.219 kB / 465.2 MB, free: 54.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003773/0.298, allocations: 1.635 MB / 466.8 MB, free: 54.13 MB / 410.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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004399/0.3024, allocations: 2.437 MB / 469.3 MB, free: 53.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005298/0.303, allocations: 302.8 kB / 469.6 MB, free: 53.69 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.303, allocations: 0 / 469.6 MB, free: 53.69 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002038/0.3032, allocations: 129.4 kB / 469.7 MB, free: 53.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000423/0.3036, allocations: 125.7 kB / 469.8 MB, free: 53.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1305/0.4341, allocations: 141.8 MB / 0.5973 GB, free: 1.859 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.576e-05/0.4342, allocations: 92.12 kB / 0.5974 GB, free: 1.75 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004709/0.4347, allocations: 137.3 kB / 0.5975 GB, free: 1.625 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.4348, allocations: 56.48 kB / 0.5976 GB, free: 1.57 MB / 458.7 MB Notification: Performance of SimCode: time 1.593e-06/0.4348, allocations: 0 / 0.5976 GB, free: 1.57 MB / 458.7 MB Notification: Performance of Templates: time 0.2158/0.6506, allocations: 55.47 MB / 0.6517 GB, free: 122.2 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceMoistAir/ReferenceMoistAir.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: 7.500026799738407]