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.004161/0.004161, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001552/0.001552, allocations: 168.9 kB / 25 MB, free: 8.336 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.041/1.041, allocations: 177.1 MB / 205.3 MB, free: 5.629 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.2695/0.2695, allocations: 34.25 MB / 296 MB, free: 0.7695 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_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.505e-06/2.505e-06, allocations: 0 / 378.1 MB, free: 2.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.794e-05/4.045e-05, allocations: 2.312 kB / 378.1 MB, free: 2.926 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01169/0.01173, allocations: 11.28 MB / 389.3 MB, free: 7.598 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008948/0.02068, allocations: 11.72 MB / 401.1 MB, free: 11.84 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.02078, allocations: 4 kB / 401.1 MB, free: 11.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003119/0.02109, allocations: 75.44 kB / 401.1 MB, free: 11.76 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006903/0.028, allocations: 3.17 MB / 404.3 MB, free: 8.574 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003321/0.02833, allocations: 151.6 kB / 404.5 MB, free: 8.426 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004795/0.03312, allocations: 4.025 MB / 408.5 MB, free: 4.395 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.037e-05/0.03318, allocations: 12.59 kB / 408.5 MB, free: 4.379 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002134/0.0334, allocations: 195.5 kB / 408.7 MB, free: 4.188 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01424/0.04764, allocations: 7.305 MB / 416 MB, free: 12.88 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.707e-05/0.04768, allocations: 8 kB / 416 MB, free: 12.87 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01399/0.06167, allocations: 2.286 MB / 418.3 MB, free: 10.58 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.98e-05/0.06175, allocations: 35.83 kB / 418.3 MB, free: 10.54 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.06188, allocations: 103.8 kB / 418.4 MB, free: 10.44 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009803/0.07169, allocations: 1.956 MB / 420.4 MB, free: 8.48 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.07169, allocations: 4 kB / 420.4 MB, free: 8.477 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.07169, allocations: 0 / 420.4 MB, free: 8.477 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.0717, allocations: 0 / 420.4 MB, free: 8.477 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.007749/0.07945, allocations: 1.004 MB / 421.4 MB, free: 7.434 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.07949, allocations: 8.031 kB / 421.4 MB, free: 7.426 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006123/0.0801, allocations: 152.3 kB / 421.5 MB, free: 7.277 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002458/0.08035, allocations: 196.2 kB / 421.7 MB, free: 7.059 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.08037, allocations: 25.03 kB / 421.8 MB, free: 7.035 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.914e-05/0.08041, allocations: 28.38 kB / 421.8 MB, free: 7.008 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007446/0.08116, allocations: 468 kB / 422.2 MB, free: 6.492 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.08117, allocations: 8.188 kB / 422.2 MB, free: 6.484 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.117e-05/0.0812, allocations: 16.06 kB / 422.3 MB, free: 6.469 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.08121, allocations: 8 kB / 422.3 MB, free: 6.461 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006846/0.08806, allocations: 462.4 kB / 422.7 MB, free: 6.012 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007224/0.09528, allocations: 2.935 MB / 425.7 MB, free: 2.992 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000534/0.09582, allocations: 203.2 kB / 425.9 MB, free: 2.785 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.09592, allocations: 64.22 kB / 425.9 MB, free: 2.719 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2245/0.3204, allocations: 22.2 MB / 448.1 MB, free: 105.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006133/0.3211, allocations: 392 kB / 448.5 MB, free: 105.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 2.314e-06/0.3211, allocations: 0 / 448.5 MB, free: 105.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.002089/0.3231, allocations: 0.8794 MB / 449.4 MB, free: 105.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.241e-05/0.3232, allocations: 489.9 kB / 449.9 MB, free: 104.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.3233, allocations: 233.4 kB / 450.1 MB, free: 104.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.3234, allocations: 32.42 kB / 450.1 MB, free: 104.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.445e-05/0.3234, allocations: 213.2 kB / 450.3 MB, free: 104.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.522e-05/0.3235, allocations: 132.7 kB / 450.5 MB, free: 104.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.895e-05/0.3236, allocations: 101.7 kB / 450.5 MB, free: 104.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.531e-05/0.3236, allocations: 0.5004 MB / 451 MB, free: 103.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.078e-05/0.3237, allocations: 51.45 kB / 451.1 MB, free: 103.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.3239, allocations: 407.8 kB / 451.5 MB, free: 103.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003469/0.3243, allocations: 0.5018 MB / 452 MB, free: 102.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.3243, allocations: 6.219 kB / 452 MB, free: 102.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0005282/0.3248, allocations: 403 kB / 452.4 MB, free: 102.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.3248, allocations: 12.03 kB / 452.4 MB, free: 102.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.3248, allocations: 8.719 kB / 452.4 MB, free: 102.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.3249, allocations: 13.41 kB / 452.4 MB, free: 102.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/0.3262, allocations: 347.6 kB / 452.8 MB, free: 102.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003515/0.3265, allocations: 1.803 MB / 454.6 MB, free: 100.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001839/0.3267, allocations: 25.41 kB / 454.6 MB, free: 100.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.971e-05/0.3267, allocations: 26.56 kB / 454.6 MB, free: 100.7 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.0001052/0.3269, allocations: 201.6 kB / 454.8 MB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.241e-05/0.3269, allocations: 51.45 kB / 454.9 MB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007539/0.3277, allocations: 0.7436 MB / 455.6 MB, free: 100.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.3277, allocations: 12.55 kB / 455.6 MB, free: 100.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.3277, allocations: 2.875 kB / 455.6 MB, free: 100.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.3277, allocations: 3.234 kB / 455.6 MB, free: 100.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008021/0.3285, allocations: 0.902 MB / 456.5 MB, free: 99.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.3285, allocations: 3 kB / 456.5 MB, free: 99.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007145/0.3292, allocations: 148.6 kB / 456.7 MB, free: 99.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.289e-06/0.3292, allocations: 3.312 kB / 456.7 MB, free: 99.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.3293, allocations: 9.406 kB / 456.7 MB, free: 99.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001571/0.3294, allocations: 0.9068 MB / 457.6 MB, free: 98.63 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.3294, allocations: 2.594 kB / 457.6 MB, free: 98.63 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004282/0.3298, allocations: 0.5196 MB / 458.1 MB, free: 98.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.749e-05/0.3299, allocations: 29.39 kB / 458.2 MB, free: 98.24 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.457e-05/0.3299, allocations: 49.2 kB / 458.2 MB, free: 98.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001808/0.3301, allocations: 17 kB / 458.2 MB, free: 98.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.3301, allocations: 25.08 kB / 458.2 MB, free: 98.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.3302, allocations: 19.92 kB / 458.3 MB, free: 98.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001988/0.3304, allocations: 301.3 kB / 458.6 MB, free: 98.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3304, allocations: 0 / 458.6 MB, free: 98.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001161/0.3315, allocations: 473.8 kB / 459 MB, free: 97.89 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.001123/0.3326, allocations: 0.7432 MB / 459.8 MB, free: 97.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001072/0.3337, allocations: 356.8 kB / 460.1 MB, free: 97.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3337, allocations: 4.062 kB / 460.1 MB, free: 97.58 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005302/0.3343, allocations: 179.9 kB / 460.3 MB, free: 97.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006427/0.3349, allocations: 158.6 kB / 460.4 MB, free: 97.49 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9032/1.238, allocations: 0.537 GB / 0.9866 GB, free: 94.86 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.206e-05/1.238, allocations: 113.7 kB / 0.9867 GB, free: 94.72 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003479/1.239, allocations: 160.2 kB / 0.9869 GB, free: 94.59 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.065e-05/1.239, allocations: 40.48 kB / 0.9869 GB, free: 94.56 MB / 442.7 MB Notification: Performance of SimCode: time 2.023e-06/1.239, allocations: 0 / 0.9869 GB, free: 94.56 MB / 442.7 MB Notification: Performance of Templates: time 0.01402/1.253, allocations: 16.12 MB / 1.003 GB, free: 78.62 MB / 442.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 -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: 5.8906815480440855]