Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.00107/0.00107, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009976/0.0009976, allocations: 161 kB / 24.55 MB, free: 20 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.9999/0.9999, allocations: 177.1 MB / 205 MB, free: 5.621 MB / 186.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.2827/0.2827, allocations: 32.81 MB / 294.3 MB, free: 1.219 MB / 266.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.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.0.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.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 376.1 MB, free: 4.598 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.629e-05/1.802e-05, allocations: 2.312 kB / 376.1 MB, free: 4.594 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.009974/0.009992, allocations: 11.28 MB / 387.4 MB, free: 9.258 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00853/0.01852, allocations: 11.76 MB / 399.1 MB, free: 13.46 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.907e-05/0.01861, allocations: 0 / 399.1 MB, free: 13.46 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003425/0.01895, allocations: 79.44 kB / 399.2 MB, free: 13.38 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006836/0.02579, allocations: 3.209 MB / 402.4 MB, free: 10.15 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002968/0.02609, allocations: 147.8 kB / 402.5 MB, free: 10.01 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003338/0.02942, allocations: 4.048 MB / 406.6 MB, free: 5.953 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.837e-05/0.02947, allocations: 8.594 kB / 406.6 MB, free: 5.941 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.02964, allocations: 203.5 kB / 406.8 MB, free: 5.742 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005792/0.03543, allocations: 7.324 MB / 414.1 MB, free: 14.41 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.184e-05/0.03546, allocations: 16 kB / 414.1 MB, free: 14.39 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002953/0.03841, allocations: 2.013 MB / 416.2 MB, free: 12.38 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.562e-05/0.03849, allocations: 47.77 kB / 416.2 MB, free: 12.33 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 8.494e-05/0.03858, allocations: 99.69 kB / 416.3 MB, free: 12.23 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001783/0.04036, allocations: 1.75 MB / 418 MB, free: 10.48 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.04036, allocations: 0 / 418 MB, free: 10.48 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.04036, allocations: 0 / 418 MB, free: 10.48 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.04037, allocations: 0 / 418 MB, free: 10.48 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.001337/0.04171, allocations: 0.9541 MB / 419 MB, free: 9.488 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.04175, allocations: 12.03 kB / 419 MB, free: 9.477 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004212/0.04217, allocations: 156.2 kB / 419.2 MB, free: 9.324 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002323/0.04241, allocations: 196.2 kB / 419.4 MB, free: 9.105 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.04242, allocations: 25.03 kB / 419.4 MB, free: 9.082 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.46e-05/0.04246, allocations: 32.38 kB / 419.4 MB, free: 9.051 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000563/0.04302, allocations: 472 kB / 419.9 MB, free: 8.531 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.04303, allocations: 4.172 kB / 419.9 MB, free: 8.527 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.698e-05/0.04306, allocations: 16.12 kB / 419.9 MB, free: 8.512 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.04307, allocations: 4 kB / 419.9 MB, free: 8.508 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005425/0.04361, allocations: 466.4 kB / 420.4 MB, free: 8.051 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003293/0.04691, allocations: 2.919 MB / 423.3 MB, free: 5.047 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005307/0.04744, allocations: 207 kB / 423.5 MB, free: 4.836 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.96e-05/0.04752, allocations: 64.2 kB / 423.5 MB, free: 4.77 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2059/0.2535, allocations: 21.31 MB / 444.8 MB, free: 88.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004813/0.2539, allocations: 385.7 kB / 445.2 MB, free: 87.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 2.124e-06/0.2539, allocations: 1.594 kB / 445.2 MB, free: 87.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=37): time 0.001843/0.2558, allocations: 0.983 MB / 446.2 MB, free: 87.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.835e-05/0.2559, allocations: 482.9 kB / 446.7 MB, free: 87.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.256, allocations: 229.1 kB / 446.9 MB, free: 86.94 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.256, allocations: 35.77 kB / 446.9 MB, free: 86.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.145e-05/0.2561, allocations: 211.8 kB / 447.1 MB, free: 86.74 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.974e-05/0.2561, allocations: 139.8 kB / 447.3 MB, free: 86.67 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.21e-05/0.2562, allocations: 99.77 kB / 447.4 MB, free: 86.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.17e-05/0.2563, allocations: 0.5057 MB / 447.9 MB, free: 86.15 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.75e-05/0.2564, allocations: 55.45 kB / 447.9 MB, free: 86.15 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000158/0.2565, allocations: 411.4 kB / 448.3 MB, free: 85.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003145/0.2568, allocations: 0.511 MB / 448.8 MB, free: 85.26 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.2568, allocations: 4.562 kB / 448.9 MB, free: 85.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0004845/0.2573, allocations: 449.2 kB / 449.3 MB, free: 85.19 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.2573, allocations: 8.5 kB / 449.3 MB, free: 85.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.2574, allocations: 8.344 kB / 449.3 MB, free: 85.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009742/0.2583, allocations: 324.8 kB / 449.6 MB, free: 85.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/0.2585, allocations: 108.4 kB / 449.7 MB, free: 85.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003872/0.2589, allocations: 1.827 MB / 451.6 MB, free: 83.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.259, allocations: 21.84 kB / 451.6 MB, free: 83.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.149e-05/0.259, allocations: 32.72 kB / 451.6 MB, free: 83.36 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.0001038/0.2591, allocations: 197.8 kB / 451.8 MB, free: 83.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.824e-05/0.2592, allocations: 38 kB / 451.8 MB, free: 83.19 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006957/0.2599, allocations: 0.8274 MB / 452.7 MB, free: 82.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.2599, allocations: 9.109 kB / 452.7 MB, free: 82.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.2599, allocations: 2.781 kB / 452.7 MB, free: 82.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.2599, allocations: 3.828 kB / 452.7 MB, free: 82.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007396/0.2607, allocations: 0.9703 MB / 453.7 MB, free: 82.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.2607, allocations: 6.297 kB / 453.7 MB, free: 82.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.175e-05/0.2607, allocations: 41.14 kB / 453.7 MB, free: 82.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005689/0.2613, allocations: 224.6 kB / 453.9 MB, free: 82.49 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.2613, allocations: 9.25 kB / 453.9 MB, free: 82.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002751/0.2616, allocations: 1.809 MB / 455.7 MB, free: 80.69 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.2616, allocations: 5.75 kB / 455.7 MB, free: 80.69 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003571/0.262, allocations: 0.5728 MB / 456.3 MB, free: 80.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.628e-05/0.262, allocations: 28.53 kB / 456.3 MB, free: 80.31 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.98e-05/0.262, allocations: 51.08 kB / 456.4 MB, free: 80.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.2621, allocations: 13.41 kB / 456.4 MB, free: 80.29 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.92e-05/0.2622, allocations: 28.38 kB / 456.4 MB, free: 80.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.2622, allocations: 15.83 kB / 456.4 MB, free: 80.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001649/0.2624, allocations: 303.9 kB / 456.7 MB, free: 80.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2624, allocations: 0 / 456.7 MB, free: 80.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001079/0.2634, allocations: 446.4 kB / 457.2 MB, free: 80.13 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.000995/0.2644, allocations: 0.7054 MB / 457.9 MB, free: 79.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003907/0.2648, allocations: 322.3 kB / 458.2 MB, free: 79.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2648, allocations: 0 / 458.2 MB, free: 79.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.265, allocations: 174.4 kB / 458.4 MB, free: 79.87 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004652/0.2654, allocations: 158.9 kB / 458.5 MB, free: 79.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7612/1.027, allocations: 0.4932 GB / 0.9409 GB, free: 9.473 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.578e-05/1.027, allocations: 120.7 kB / 0.9411 GB, free: 9.34 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003107/1.027, allocations: 157.7 kB / 0.9412 GB, free: 9.215 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.753e-05/1.027, allocations: 40.48 kB / 0.9412 GB, free: 9.184 MB / 458.7 MB Notification: Performance of SimCode: time 2.345e-06/1.027, allocations: 0 / 0.9412 GB, free: 9.184 MB / 458.7 MB Notification: Performance of Templates: time 0.1537/1.181, allocations: 15.87 MB / 0.9567 GB, free: 133.7 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.476050917990506]