Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.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.0007472/0.0007472, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009673/0.001714, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007152/0.0007152, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001078/0.001793, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.014/1.014, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09295/1.106, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.2771/0.2771, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02475/0.3018, allocations: 13.1 MB / 291.3 MB, free: 7.367 MB / 282.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_pT,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_pT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,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_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 292.7 MB, free: 6.254 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.07e-05/2.223e-05, allocations: 4.562 kB / 292.7 MB, free: 6.25 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.009263/0.009285, allocations: 11.35 MB / 304 MB, free: 10.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008639/0.01792, allocations: 11.77 MB / 315.8 MB, free: 15.04 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.01806, allocations: 4 kB / 315.8 MB, free: 15.03 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002306/0.01829, allocations: 75.44 kB / 315.9 MB, free: 14.96 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007287/0.02557, allocations: 3.092 MB / 319 MB, free: 11.85 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003182/0.02589, allocations: 156.3 kB / 319.1 MB, free: 11.7 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003772/0.02966, allocations: 3.964 MB / 323.1 MB, free: 7.727 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.67e-05/0.02975, allocations: 26.47 kB / 323.1 MB, free: 7.699 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003167/0.03007, allocations: 195.6 kB / 323.3 MB, free: 7.508 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005877/0.03595, allocations: 7.158 MB / 330.5 MB, free: 352 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.64e-05/0.03599, allocations: 11.94 kB / 330.5 MB, free: 340 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004366/0.04036, allocations: 2.403 MB / 332.9 MB, free: 13.93 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.239e-05/0.04043, allocations: 39.8 kB / 332.9 MB, free: 13.89 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.04053, allocations: 75.88 kB / 333 MB, free: 13.81 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003807/0.04434, allocations: 1.707 MB / 334.7 MB, free: 12.1 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-05/0.04436, allocations: 0 / 334.7 MB, free: 12.1 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.04436, allocations: 0 / 334.7 MB, free: 12.1 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.481e-05/0.04438, allocations: 0 / 334.7 MB, free: 12.1 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001914/0.04629, allocations: 1.181 MB / 335.9 MB, free: 10.88 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.04632, allocations: 12.03 kB / 335.9 MB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004301/0.04675, allocations: 160.4 kB / 336 MB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.04697, allocations: 181.4 kB / 336.2 MB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.04699, allocations: 21.03 kB / 336.2 MB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.889e-05/0.04702, allocations: 28.38 kB / 336.3 MB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004945/0.04751, allocations: 425.3 kB / 336.7 MB, free: 9.996 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.04752, allocations: 192 / 336.7 MB, free: 9.996 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/0.04755, allocations: 20.12 kB / 336.7 MB, free: 9.977 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.04755, allocations: 8 kB / 336.7 MB, free: 9.969 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000454/0.04801, allocations: 395.7 kB / 337.1 MB, free: 9.582 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0034/0.05141, allocations: 2.575 MB / 339.7 MB, free: 6.949 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003067/0.05171, allocations: 167.2 kB / 339.8 MB, free: 6.777 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001777/0.05189, allocations: 45.39 kB / 339.9 MB, free: 6.73 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03054/0.08243, allocations: 20.41 MB / 360.3 MB, free: 2.281 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004963/0.08293, allocations: 327.3 kB / 360.6 MB, free: 1.898 MB / 346.7 MB Notification: Performance of pre-optimization done (n=35): time 2.836e-06/0.08293, allocations: 0 / 360.6 MB, free: 1.898 MB / 346.7 MB Notification: Performance of matching and sorting (n=35): time 0.000954/0.08389, allocations: 498.3 kB / 361.1 MB, free: 1.406 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003294/0.08422, allocations: 482.6 kB / 361.6 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.08433, allocations: 173.5 kB / 361.7 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.08436, allocations: 33.7 kB / 361.8 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.022e-05/0.08443, allocations: 168.6 kB / 361.9 MB, free: 448 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.704e-05/0.08449, allocations: 130.8 kB / 362.1 MB, free: 316 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.049e-05/0.08457, allocations: 90.09 kB / 362.1 MB, free: 216 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.031e-05/0.08466, allocations: 334.7 kB / 362.5 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.97e-05/0.0847, allocations: 36.97 kB / 362.5 MB, free: 15.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.08485, allocations: 281.5 kB / 362.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002641/0.08512, allocations: 391.9 kB / 363.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.08512, allocations: 4 kB / 363.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0002939/0.08542, allocations: 295.6 kB / 363.5 MB, free: 14.65 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.08543, allocations: 12 kB / 363.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.08545, allocations: 8 kB / 363.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.08546, allocations: 12 kB / 363.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005419/0.086, allocations: 187.8 kB / 363.7 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002678/0.08627, allocations: 0.5937 MB / 364.3 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.08643, allocations: 47.78 kB / 364.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.472e-05/0.08646, allocations: 24 kB / 364.3 MB, free: 13.75 MB / 362.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): 53 * 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.0001042/0.08657, allocations: 156.4 kB / 364.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.951e-05/0.08662, allocations: 35.91 kB / 364.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005606/0.08718, allocations: 0.6209 MB / 365.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.08719, allocations: 8 kB / 365.2 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.08719, allocations: 4 kB / 365.2 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.0872, allocations: 0 / 365.2 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006274/0.08783, allocations: 0.661 MB / 365.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.08783, allocations: 7.938 kB / 365.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003837/0.08822, allocations: 107.8 kB / 365.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.299e-05/0.08826, allocations: 23.84 kB / 366 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.08827, allocations: 4 kB / 366 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.08828, allocations: 8 kB / 366 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002175/0.0885, allocations: 0.59 MB / 366.6 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.0885, allocations: 4 kB / 366.6 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.08874, allocations: 387.3 kB / 366.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.68e-05/0.08879, allocations: 47.52 kB / 367 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.0889, allocations: 12 kB / 367 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.623e-05/0.08892, allocations: 27.89 kB / 367 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.08894, allocations: 12 kB / 367 MB, free: 10.89 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001141/0.08905, allocations: 164.7 kB / 367.2 MB, free: 10.72 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.08905, allocations: 7.938 kB / 367.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009994/0.09005, allocations: 462.6 kB / 367.7 MB, free: 10.26 MB / 362.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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001296/0.09135, allocations: 0.7505 MB / 368.4 MB, free: 9.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005424/0.09189, allocations: 268.9 kB / 368.7 MB, free: 9.234 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.517e-05/0.0919, allocations: 8.062 kB / 368.7 MB, free: 9.227 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.09203, allocations: 103.5 kB / 368.8 MB, free: 9.121 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00045/0.09248, allocations: 228.4 kB / 369 MB, free: 8.898 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8657/0.9582, allocations: 0.5174 GB / 0.8778 GB, free: 59.16 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.158e-05/0.9583, allocations: 113.6 kB / 0.8779 GB, free: 59.03 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003165/0.9586, allocations: 156.7 kB / 0.878 GB, free: 58.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/0.9587, allocations: 135.3 kB / 0.8782 GB, free: 58.77 MB / 458.7 MB Notification: Performance of SimCode: time 1.924e-06/0.9587, allocations: 0.875 kB / 0.8782 GB, free: 58.77 MB / 458.7 MB Notification: Performance of Templates: time 0.01538/0.9741, allocations: 18.23 MB / 0.896 GB, free: 40.79 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_pT/ReferenceAir_pT.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: 4.803580394946039]