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.001162/0.001162, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001258/0.001258, allocations: 168.4 kB / 24.82 MB, free: 9.312 MB / 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.091/1.091, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.3442/0.3442, allocations: 34.27 MB / 296.1 MB, free: 0.7188 MB / 266.7 MB " [Timeout remaining time 179] 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 2.435e-06/2.435e-06, allocations: 0 / 378.5 MB, free: 2.332 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.184e-05/3.427e-05, allocations: 2.312 kB / 378.5 MB, free: 2.328 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01198/0.01201, allocations: 11.17 MB / 389.7 MB, free: 7.102 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01058/0.02259, allocations: 11.58 MB / 401.3 MB, free: 11.48 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000208/0.0228, allocations: 4 kB / 401.3 MB, free: 11.48 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004339/0.02323, allocations: 79.44 kB / 401.4 MB, free: 11.4 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01147/0.0347, allocations: 3.197 MB / 404.6 MB, free: 8.184 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000419/0.03512, allocations: 159.7 kB / 404.7 MB, free: 8.027 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004823/0.03994, allocations: 4.08 MB / 408.8 MB, free: 3.941 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.171e-05/0.04004, allocations: 16.58 kB / 408.8 MB, free: 3.922 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002429/0.04028, allocations: 203.5 kB / 409 MB, free: 3.723 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006959/0.04724, allocations: 7.406 MB / 416.4 MB, free: 12.31 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 7.684e-05/0.04731, allocations: 8 kB / 416.4 MB, free: 12.3 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005118/0.05243, allocations: 2.286 MB / 418.7 MB, free: 10.01 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 9.314e-05/0.05253, allocations: 47.77 kB / 418.8 MB, free: 9.965 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001764/0.0527, allocations: 91.78 kB / 418.9 MB, free: 9.875 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00561/0.05831, allocations: 1.964 MB / 420.8 MB, free: 7.906 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.05832, allocations: 3.938 kB / 420.8 MB, free: 7.902 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.043e-06/0.05832, allocations: 4 kB / 420.8 MB, free: 7.898 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.05833, allocations: 0 / 420.8 MB, free: 7.898 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.00246/0.06079, allocations: 1 MB / 421.8 MB, free: 6.859 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.915e-05/0.06086, allocations: 8.031 kB / 421.8 MB, free: 6.852 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000559/0.06142, allocations: 152.3 kB / 422 MB, free: 6.703 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003037/0.06172, allocations: 200.2 kB / 422.2 MB, free: 6.48 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.06174, allocations: 21.03 kB / 422.2 MB, free: 6.461 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.786e-05/0.06178, allocations: 28.31 kB / 422.2 MB, free: 6.434 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000597/0.06238, allocations: 444 kB / 422.7 MB, free: 5.941 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.06239, allocations: 8.188 kB / 422.7 MB, free: 5.934 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.688e-05/0.06241, allocations: 16.12 kB / 422.7 MB, free: 5.918 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.06242, allocations: 4 kB / 422.7 MB, free: 5.914 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005244/0.06295, allocations: 400.9 kB / 423.1 MB, free: 5.527 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003801/0.06675, allocations: 2.822 MB / 425.9 MB, free: 2.629 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003792/0.06713, allocations: 183.8 kB / 426.1 MB, free: 2.438 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.289e-05/0.06719, allocations: 56.28 kB / 426.2 MB, free: 2.379 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3026/0.3698, allocations: 20.88 MB / 447 MB, free: 86.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007265/0.3705, allocations: 387.2 kB / 447.4 MB, free: 86.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 4.238e-06/0.3705, allocations: 0 / 447.4 MB, free: 86.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.001839/0.3724, allocations: 0.5904 MB / 448 MB, free: 86.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001652/0.3725, allocations: 481.4 kB / 448.5 MB, free: 85.58 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.3727, allocations: 229.5 kB / 448.7 MB, free: 85.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.3727, allocations: 32.48 kB / 448.7 MB, free: 85.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.3728, allocations: 218.4 kB / 448.9 MB, free: 85.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.322e-05/0.3729, allocations: 133.3 kB / 449.1 MB, free: 85.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.373, allocations: 104.1 kB / 449.2 MB, free: 85.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.3732, allocations: 0.5003 MB / 449.7 MB, free: 84.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.838e-05/0.3732, allocations: 46.53 kB / 449.7 MB, free: 84.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002221/0.3734, allocations: 400.5 kB / 450.1 MB, free: 84.17 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003864/0.3738, allocations: 0.4901 MB / 450.6 MB, free: 83.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.3738, allocations: 9.766 kB / 450.6 MB, free: 83.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0005806/0.3744, allocations: 364.6 kB / 451 MB, free: 83.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.387e-05/0.3744, allocations: 8.281 kB / 451 MB, free: 83.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/0.3745, allocations: 7.781 kB / 451 MB, free: 83.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.784e-05/0.3745, allocations: 12.91 kB / 451 MB, free: 83.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/0.3756, allocations: 348 kB / 451.3 MB, free: 83.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007251/0.3764, allocations: 1.798 MB / 453.1 MB, free: 81.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/0.3766, allocations: 24.28 kB / 453.1 MB, free: 81.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.273e-05/0.3766, allocations: 33.06 kB / 453.2 MB, free: 81.87 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 (55): * Single equations (assignments): 53 * 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 0.0001874/0.3768, allocations: 200.5 kB / 453.4 MB, free: 81.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.442e-05/0.3769, allocations: 44.12 kB / 453.4 MB, free: 81.69 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008482/0.3777, allocations: 0.7184 MB / 454.1 MB, free: 81.44 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.488e-05/0.3777, allocations: 8.469 kB / 454.1 MB, free: 81.44 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.3778, allocations: 2.812 kB / 454.1 MB, free: 81.44 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/0.3778, allocations: 6 kB / 454.2 MB, free: 81.44 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009751/0.3787, allocations: 0.8203 MB / 455 MB, free: 81.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.348e-06/0.3787, allocations: 2.875 kB / 455 MB, free: 81.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005973/0.3793, allocations: 148 kB / 455.1 MB, free: 81.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.904e-06/0.3794, allocations: 2.844 kB / 455.1 MB, free: 81.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.3794, allocations: 12.3 kB / 455.1 MB, free: 81.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002884/0.3797, allocations: 0.8981 MB / 456 MB, free: 80.19 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.3797, allocations: 2.969 kB / 456 MB, free: 80.19 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004442/0.3801, allocations: 0.5037 MB / 456.5 MB, free: 79.85 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.077e-05/0.3802, allocations: 35.42 kB / 456.6 MB, free: 79.83 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.23e-05/0.3802, allocations: 50.38 kB / 456.6 MB, free: 79.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/0.3804, allocations: 16.31 kB / 456.6 MB, free: 79.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.075e-05/0.3804, allocations: 24.2 kB / 456.7 MB, free: 79.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.322e-05/0.3805, allocations: 15.66 kB / 456.7 MB, free: 79.81 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001908/0.3806, allocations: 293.4 kB / 457 MB, free: 79.69 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3806, allocations: 0 / 457 MB, free: 79.69 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001682/0.3823, allocations: 466.8 kB / 457.4 MB, free: 79.64 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 (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001283/0.3836, allocations: 0.7706 MB / 458.2 MB, free: 79.44 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009089/0.3845, allocations: 335.3 kB / 458.5 MB, free: 79.42 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.3845, allocations: 0 / 458.5 MB, free: 79.42 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003937/0.3849, allocations: 168.6 kB / 458.7 MB, free: 79.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005749/0.3855, allocations: 160.7 kB / 458.8 MB, free: 79.37 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.163/1.548, allocations: 0.5394 GB / 0.9875 GB, free: 118.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/1.548, allocations: 109.5 kB / 0.9876 GB, free: 118 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004186/1.549, allocations: 169.7 kB / 0.9878 GB, free: 117.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000236/1.549, allocations: 164.7 kB / 0.9879 GB, free: 117.9 MB / 458.7 MB Notification: Performance of SimCode: time 2.955e-06/1.549, allocations: 0 / 0.9879 GB, free: 117.9 MB / 458.7 MB Notification: Performance of Templates: time 0.02067/1.57, allocations: 18.67 MB / 1.006 GB, free: 108.2 MB / 458.7 MB " [Timeout remaining time 658] 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 -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: 6.069435223005712]