Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.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.001011/0.001011, allocations: 83.58 kB / 21.18 MB, free: 3.383 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.001349/0.001349, allocations: 161 kB / 24.56 MB, free: 16 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 1.003/1.003, allocations: 177.1 MB / 205 MB, free: 5.598 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.301/0.301, allocations: 34.26 MB / 295.7 MB, free: 0.7617 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.ReferenceAir_dT,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|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,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|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.895e-06/2.895e-06, allocations: 0 / 378.1 MB, free: 2.613 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.215e-05/4.504e-05, allocations: 2.312 kB / 378.1 MB, free: 2.609 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.0161/0.01615, allocations: 11.3 MB / 389.4 MB, free: 7.262 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008937/0.02509, allocations: 11.76 MB / 401.1 MB, free: 11.46 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.118e-05/0.02518, allocations: 0 / 401.1 MB, free: 11.46 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003428/0.02552, allocations: 75.45 kB / 401.2 MB, free: 11.38 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007069/0.03259, allocations: 3.201 MB / 404.4 MB, free: 8.164 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002576/0.03285, allocations: 151.7 kB / 404.6 MB, free: 8.016 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003541/0.03639, allocations: 4.044 MB / 408.6 MB, free: 3.965 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.523e-05/0.03643, allocations: 16.58 kB / 408.6 MB, free: 3.945 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001729/0.03661, allocations: 199.5 kB / 408.8 MB, free: 3.75 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005868/0.04247, allocations: 7.328 MB / 416.2 MB, free: 12.41 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.367e-05/0.04251, allocations: 12 kB / 416.2 MB, free: 12.4 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002821/0.04533, allocations: 2.021 MB / 418.2 MB, free: 10.38 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.86e-05/0.04542, allocations: 39.83 kB / 418.2 MB, free: 10.34 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.04552, allocations: 99.75 kB / 418.3 MB, free: 10.24 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002393/0.04791, allocations: 1.746 MB / 420.1 MB, free: 8.492 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.04792, allocations: 4 kB / 420.1 MB, free: 8.488 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.04792, allocations: 0 / 420.1 MB, free: 8.488 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.04793, allocations: 0 / 420.1 MB, free: 8.488 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001346/0.04927, allocations: 0.9657 MB / 421 MB, free: 7.484 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.04931, allocations: 12.03 kB / 421 MB, free: 7.473 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004216/0.04973, allocations: 148.3 kB / 421.2 MB, free: 7.328 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/0.04995, allocations: 192.2 kB / 421.4 MB, free: 7.113 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.04997, allocations: 29.03 kB / 421.4 MB, free: 7.086 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.181e-05/0.05, allocations: 32.36 kB / 421.4 MB, free: 7.055 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005612/0.05057, allocations: 471.9 kB / 421.9 MB, free: 6.535 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.05058, allocations: 4.188 kB / 421.9 MB, free: 6.531 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.749e-05/0.0506, allocations: 20.11 kB / 421.9 MB, free: 6.512 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.05061, allocations: 4 kB / 421.9 MB, free: 6.508 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005285/0.05114, allocations: 462.4 kB / 422.4 MB, free: 6.059 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003159/0.0543, allocations: 2.911 MB / 425.3 MB, free: 3.062 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003662/0.05467, allocations: 203.7 kB / 425.5 MB, free: 2.852 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.454e-05/0.05474, allocations: 64.2 kB / 425.6 MB, free: 2.785 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2023/0.257, allocations: 21.3 MB / 446.9 MB, free: 86.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006517/0.2577, allocations: 392.7 kB / 447.2 MB, free: 85.83 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 2.535e-06/0.2577, allocations: 0 / 447.2 MB, free: 85.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=37): time 0.005496/0.2632, allocations: 0.9814 MB / 448.2 MB, free: 85.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.27e-05/0.2633, allocations: 482.1 kB / 448.7 MB, free: 85 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.2634, allocations: 234 kB / 448.9 MB, free: 84.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.2634, allocations: 35.27 kB / 449 MB, free: 84.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.172e-05/0.2635, allocations: 216.5 kB / 449.2 MB, free: 84.63 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.112e-05/0.2635, allocations: 129.2 kB / 449.3 MB, free: 84.56 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.725e-05/0.2636, allocations: 105.2 kB / 449.4 MB, free: 84.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.97e-05/0.2637, allocations: 0.5042 MB / 449.9 MB, free: 84.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.89e-05/0.2638, allocations: 55.73 kB / 450 MB, free: 84.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/0.264, allocations: 414.3 kB / 450.4 MB, free: 83.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003651/0.2644, allocations: 0.5158 MB / 450.9 MB, free: 83.15 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.2644, allocations: 2.75 kB / 450.9 MB, free: 83.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005566/0.2649, allocations: 445.8 kB / 451.3 MB, free: 83.08 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.2649, allocations: 8.938 kB / 451.3 MB, free: 83.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.265, allocations: 8.625 kB / 451.3 MB, free: 83.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004352/0.2693, allocations: 328.8 kB / 451.7 MB, free: 83.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002406/0.2695, allocations: 102.2 kB / 451.8 MB, free: 83.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003968/0.2699, allocations: 1.826 MB / 453.6 MB, free: 81.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001765/0.2701, allocations: 21.81 kB / 453.6 MB, free: 81.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.054e-05/0.2702, allocations: 32.44 kB / 453.6 MB, free: 81.25 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (54): * Single equations (assignments): 52 * 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 {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.2703, allocations: 195.8 kB / 453.8 MB, free: 81.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.189e-05/0.2703, allocations: 46.98 kB / 453.9 MB, free: 81.08 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007655/0.2711, allocations: 0.8123 MB / 454.7 MB, free: 80.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.2711, allocations: 9.125 kB / 454.7 MB, free: 80.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.2711, allocations: 4 kB / 454.7 MB, free: 80.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.2711, allocations: 2.781 kB / 454.7 MB, free: 80.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004234/0.2754, allocations: 0.9777 MB / 455.7 MB, free: 80.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.2754, allocations: 0 / 455.7 MB, free: 80.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.2755, allocations: 47 kB / 455.7 MB, free: 80.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007711/0.2762, allocations: 213.6 kB / 455.9 MB, free: 80.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/0.2763, allocations: 12.17 kB / 455.9 MB, free: 80.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002924/0.2766, allocations: 1.815 MB / 457.8 MB, free: 78.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.2766, allocations: 7 kB / 457.8 MB, free: 78.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004271/0.277, allocations: 0.5696 MB / 458.3 MB, free: 78.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.909e-05/0.277, allocations: 28.95 kB / 458.4 MB, free: 78.19 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.943e-05/0.2771, allocations: 47.48 kB / 458.4 MB, free: 78.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.2772, allocations: 12.14 kB / 458.4 MB, free: 78.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-05/0.2773, allocations: 34.06 kB / 458.5 MB, free: 78.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.2773, allocations: 14.66 kB / 458.5 MB, free: 78.17 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001934/0.2775, allocations: 301.9 kB / 458.8 MB, free: 78.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2775, allocations: 0 / 458.8 MB, free: 78.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003809/0.2813, allocations: 450.9 kB / 459.2 MB, free: 78 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001117/0.2824, allocations: 0.6995 MB / 459.9 MB, free: 77.81 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004297/0.2828, allocations: 316.4 kB / 460.2 MB, free: 77.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2828, allocations: 3.125 kB / 460.2 MB, free: 77.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.283, allocations: 177.9 kB / 460.4 MB, free: 77.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006139/0.2836, allocations: 169.6 kB / 460.6 MB, free: 77.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8938/1.177, allocations: 0.4932 GB / 0.9429 GB, free: 132 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.382e-05/1.177, allocations: 114.5 kB / 0.943 GB, free: 131.9 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002854/1.178, allocations: 162 kB / 0.9432 GB, free: 131.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.997e-05/1.178, allocations: 39.58 kB / 0.9432 GB, free: 131.9 MB / 458.7 MB Notification: Performance of SimCode: time 2.114e-06/1.178, allocations: 0 / 0.9432 GB, free: 131.9 MB / 458.7 MB Notification: Performance of Templates: time 0.01529/1.193, allocations: 15.87 MB / 0.9587 GB, free: 130.9 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_dT/ReferenceAir_dT.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: 5.691526259295642]