Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0008146/0.0008146, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001114/0.001928, 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.0006997/0.0006997, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008801/0.00158, 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 0.9766/0.9766, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09986/1.076, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.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.2653/0.2653, allocations: 32.81 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02583/0.2912, allocations: 12.53 MB / 289.3 MB, free: 8.672 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.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.0.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.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 290.7 MB, free: 7.617 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.199e-05/2.403e-05, allocations: 4.844 kB / 290.7 MB, free: 7.613 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01144/0.01146, allocations: 11.36 MB / 302 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01138/0.02284, allocations: 11.78 MB / 313.8 MB, free: 1.035 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001667/0.02301, allocations: 0 / 313.8 MB, free: 1.035 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002805/0.02329, allocations: 71.5 kB / 313.9 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009045/0.03233, allocations: 3.088 MB / 316.9 MB, free: 13.86 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003967/0.03273, allocations: 155.7 kB / 317.1 MB, free: 13.71 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004597/0.03733, allocations: 3.969 MB / 321.1 MB, free: 9.734 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.687e-05/0.03742, allocations: 22.48 kB / 321.1 MB, free: 9.711 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002862/0.0377, allocations: 203.5 kB / 321.3 MB, free: 9.512 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007151/0.04485, allocations: 7.158 MB / 328.4 MB, free: 2.348 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.333e-05/0.04491, allocations: 8 kB / 328.5 MB, free: 2.34 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005207/0.05011, allocations: 2.411 MB / 330.9 MB, free: 15.93 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.192e-05/0.05018, allocations: 31.86 kB / 330.9 MB, free: 15.89 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.0503, allocations: 75.88 kB / 331 MB, free: 15.82 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003656/0.05396, allocations: 1.699 MB / 332.7 MB, free: 14.12 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-05/0.05398, allocations: 4 kB / 332.7 MB, free: 14.11 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.05399, allocations: 0 / 332.7 MB, free: 14.11 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.232e-05/0.05401, allocations: 0 / 332.7 MB, free: 14.11 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.002508/0.05652, allocations: 1.189 MB / 333.9 MB, free: 12.88 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.05655, allocations: 8.031 kB / 333.9 MB, free: 12.87 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005845/0.05714, allocations: 160.4 kB / 334 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002683/0.05741, allocations: 181.4 kB / 334.2 MB, free: 12.51 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.05743, allocations: 21.03 kB / 334.2 MB, free: 12.49 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.679e-05/0.05746, allocations: 24.38 kB / 334.2 MB, free: 12.47 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006595/0.05812, allocations: 429.3 kB / 334.7 MB, free: 12 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.05814, allocations: 4.125 kB / 334.7 MB, free: 12 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.799e-05/0.05817, allocations: 20.06 kB / 334.7 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.05818, allocations: 8 kB / 334.7 MB, free: 11.97 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006257/0.0588, allocations: 391.7 kB / 335.1 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004549/0.06335, allocations: 2.579 MB / 337.7 MB, free: 8.949 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004272/0.06378, allocations: 167.2 kB / 337.8 MB, free: 8.777 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.865e-05/0.06384, allocations: 45.41 kB / 337.9 MB, free: 8.73 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03305/0.09689, allocations: 20.4 MB / 358.3 MB, free: 4.289 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000489/0.09738, allocations: 331.3 kB / 358.6 MB, free: 3.902 MB / 346.7 MB Notification: Performance of pre-optimization done (n=35): time 2.335e-06/0.09738, allocations: 0 / 358.6 MB, free: 3.902 MB / 346.7 MB Notification: Performance of matching and sorting (n=35): time 0.001049/0.09843, allocations: 497 kB / 359.1 MB, free: 3.41 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000141/0.09857, allocations: 486.5 kB / 359.6 MB, free: 2.824 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.09868, allocations: 172.7 kB / 359.7 MB, free: 2.645 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.0987, allocations: 37.69 kB / 359.8 MB, free: 2.602 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.043e-05/0.09877, allocations: 160.4 kB / 359.9 MB, free: 2.441 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.562e-05/0.09884, allocations: 130.9 kB / 360 MB, free: 2.312 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.019e-05/0.09891, allocations: 86.11 kB / 360.1 MB, free: 2.219 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.98e-05/0.09899, allocations: 342.7 kB / 360.5 MB, free: 1.875 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.8e-05/0.09903, allocations: 36.97 kB / 360.5 MB, free: 1.84 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.09918, allocations: 285.4 kB / 360.8 MB, free: 1.445 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002444/0.09942, allocations: 386.8 kB / 361.2 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.09943, allocations: 4 kB / 361.2 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0002608/0.09969, allocations: 294.8 kB / 361.5 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.09971, allocations: 10.5 kB / 361.5 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.09972, allocations: 12 kB / 361.5 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.09973, allocations: 12 kB / 361.5 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000518/0.1002, allocations: 175.7 kB / 361.7 MB, free: 460 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002557/0.1005, allocations: 0.5976 MB / 362.3 MB, free: 15.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.1006, allocations: 35.73 kB / 362.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.135e-05/0.1007, allocations: 36.05 kB / 362.3 MB, free: 15.76 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.0001016/0.1008, allocations: 152.4 kB / 362.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.487e-05/0.1008, allocations: 35.91 kB / 362.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000547/0.1014, allocations: 0.6171 MB / 363.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/0.1014, allocations: 4 kB / 363.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.1014, allocations: 11.92 kB / 363.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.1014, allocations: 3.938 kB / 363.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005828/0.102, allocations: 0.6572 MB / 363.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.677e-06/0.102, allocations: 15.98 kB / 363.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003667/0.1023, allocations: 103.9 kB / 363.9 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.882e-05/0.1024, allocations: 19.84 kB / 363.9 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.1024, allocations: 7.984 kB / 363.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.1024, allocations: 8 kB / 364 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001927/0.1026, allocations: 0.5938 MB / 364.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.1026, allocations: 0 / 364.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.1028, allocations: 387.3 kB / 364.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.139e-05/0.1029, allocations: 51.52 kB / 365 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.103, allocations: 15.98 kB / 365 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.649e-05/0.103, allocations: 27.84 kB / 365 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.103, allocations: 12 kB / 365 MB, free: 12.89 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001198/0.1031, allocations: 160.6 kB / 365.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1031, allocations: 0 / 365.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009621/0.1041, allocations: 462.6 kB / 365.6 MB, free: 12.27 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.001133/0.1052, allocations: 0.766 MB / 366.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005075/0.1057, allocations: 260.5 kB / 366.7 MB, free: 11.24 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-05/0.1058, allocations: 8.5 kB / 366.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.1059, allocations: 97.53 kB / 366.8 MB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004295/0.1063, allocations: 216.5 kB / 367 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9061/1.012, allocations: 0.5175 GB / 0.8758 GB, free: 66.74 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.724e-05/1.012, allocations: 105.6 kB / 0.8759 GB, free: 66.62 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003427/1.013, allocations: 162.6 kB / 0.8761 GB, free: 66.48 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/1.013, allocations: 138.4 kB / 0.8762 GB, free: 66.35 MB / 458.7 MB Notification: Performance of SimCode: time 1.362e-06/1.013, allocations: 0 / 0.8762 GB, free: 66.35 MB / 458.7 MB Notification: Performance of Templates: time 0.01601/1.029, allocations: 18.23 MB / 0.894 GB, free: 48.38 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.762725816108286]