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.001076/0.001076, allocations: 79.75 kB / 21.19 MB, free: 3.379 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.001054/0.001054, allocations: 161 kB / 24.56 MB, free: 12 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 1.013/1.013, allocations: 177.1 MB / 205 MB, free: 5.617 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.2682/0.2682, allocations: 32.81 MB / 294.3 MB, free: 1.273 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_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.374e-06/2.374e-06, allocations: 0 / 376.1 MB, free: 4.602 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.4e-05/3.638e-05, allocations: 6.312 kB / 376.1 MB, free: 4.594 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01111/0.01114, allocations: 11.28 MB / 387.4 MB, free: 9.258 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009844/0.02099, allocations: 11.76 MB / 399.1 MB, free: 13.46 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002353/0.02122, allocations: 4 kB / 399.1 MB, free: 13.45 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004045/0.02163, allocations: 79.44 kB / 399.2 MB, free: 13.38 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008314/0.02994, allocations: 3.197 MB / 402.4 MB, free: 10.16 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003676/0.03031, allocations: 163.6 kB / 402.6 MB, free: 10 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004141/0.03445, allocations: 4.048 MB / 406.6 MB, free: 5.945 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.367e-05/0.03452, allocations: 12.59 kB / 406.6 MB, free: 5.93 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002962/0.03482, allocations: 207.4 kB / 406.8 MB, free: 5.727 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006226/0.04105, allocations: 7.348 MB / 414.2 MB, free: 14.37 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 5.972e-05/0.04111, allocations: 8 kB / 414.2 MB, free: 14.36 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004782/0.04589, allocations: 2.29 MB / 416.5 MB, free: 12.07 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.046, allocations: 47.75 kB / 416.5 MB, free: 12.02 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001628/0.04616, allocations: 91.83 kB / 416.6 MB, free: 11.93 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00465/0.05081, allocations: 1.96 MB / 418.6 MB, free: 9.969 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.05082, allocations: 0 / 418.6 MB, free: 9.969 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.05082, allocations: 4 kB / 418.6 MB, free: 9.965 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.05082, allocations: 0 / 418.6 MB, free: 9.965 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.001872/0.0527, allocations: 1.008 MB / 419.6 MB, free: 8.918 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.05274, allocations: 8.031 kB / 419.6 MB, free: 8.91 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004755/0.05321, allocations: 152.3 kB / 419.7 MB, free: 8.762 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.05347, allocations: 200.2 kB / 419.9 MB, free: 8.539 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.05349, allocations: 17.03 kB / 419.9 MB, free: 8.523 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.11e-05/0.05352, allocations: 28.38 kB / 420 MB, free: 8.496 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006284/0.05415, allocations: 472 kB / 420.4 MB, free: 7.977 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.05416, allocations: 4.188 kB / 420.4 MB, free: 7.973 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.752e-05/0.05419, allocations: 16.12 kB / 420.5 MB, free: 7.957 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.0542, allocations: 8 kB / 420.5 MB, free: 7.949 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005688/0.05477, allocations: 466.4 kB / 420.9 MB, free: 7.492 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003723/0.05849, allocations: 2.931 MB / 423.8 MB, free: 4.477 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004044/0.05889, allocations: 202.9 kB / 424 MB, free: 4.27 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.414e-05/0.05897, allocations: 64.22 kB / 424.1 MB, free: 4.203 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2202/0.2792, allocations: 22.2 MB / 446.3 MB, free: 88.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005676/0.2797, allocations: 389.6 kB / 446.7 MB, free: 87.85 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 3.607e-06/0.2797, allocations: 1.375 kB / 446.7 MB, free: 87.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.001746/0.2815, allocations: 0.8849 MB / 447.6 MB, free: 87.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.479e-05/0.2816, allocations: 481.5 kB / 448 MB, free: 87.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.2817, allocations: 229.9 kB / 448.3 MB, free: 86.87 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.2817, allocations: 34.73 kB / 448.3 MB, free: 86.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.307e-05/0.2818, allocations: 212.1 kB / 448.5 MB, free: 86.67 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.799e-05/0.2819, allocations: 141.1 kB / 448.6 MB, free: 86.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.296e-05/0.282, allocations: 101.1 kB / 448.7 MB, free: 86.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.912e-05/0.282, allocations: 0.4982 MB / 449.2 MB, free: 86.08 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.514e-05/0.2821, allocations: 51.89 kB / 449.3 MB, free: 86.08 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001778/0.2823, allocations: 407.8 kB / 449.7 MB, free: 85.63 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000324/0.2826, allocations: 0.4991 MB / 450.2 MB, free: 85.19 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.2826, allocations: 6.438 kB / 450.2 MB, free: 85.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0004649/0.2831, allocations: 398 kB / 450.6 MB, free: 85.15 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.2831, allocations: 8.188 kB / 450.6 MB, free: 85.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.2831, allocations: 12.92 kB / 450.6 MB, free: 85.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.489e-05/0.2831, allocations: 11.47 kB / 450.6 MB, free: 85.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/0.2842, allocations: 346.4 kB / 451 MB, free: 85.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004213/0.2846, allocations: 1.809 MB / 452.8 MB, free: 83.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/0.2848, allocations: 14.97 kB / 452.8 MB, free: 83.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.779e-05/0.2848, allocations: 36.61 kB / 452.8 MB, free: 83.34 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.0001078/0.2849, allocations: 197.6 kB / 453 MB, free: 83.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.518e-05/0.285, allocations: 42.38 kB / 453.1 MB, free: 83.17 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007267/0.2857, allocations: 0.7565 MB / 453.8 MB, free: 82.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.2857, allocations: 5.781 kB / 453.8 MB, free: 82.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.2857, allocations: 6.234 kB / 453.8 MB, free: 82.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.2857, allocations: 2.906 kB / 453.8 MB, free: 82.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000804/0.2865, allocations: 0.8972 MB / 454.7 MB, free: 82.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.872e-06/0.2865, allocations: 6.344 kB / 454.7 MB, free: 82.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000538/0.2871, allocations: 143.1 kB / 454.9 MB, free: 82.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.797e-06/0.2871, allocations: 6.812 kB / 454.9 MB, free: 82.56 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/0.2871, allocations: 9.812 kB / 454.9 MB, free: 82.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002207/0.2873, allocations: 0.9006 MB / 455.8 MB, free: 81.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/0.2873, allocations: 6.906 kB / 455.8 MB, free: 81.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004441/0.2878, allocations: 0.523 MB / 456.3 MB, free: 81.31 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.333e-05/0.2878, allocations: 36.59 kB / 456.3 MB, free: 81.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.01e-05/0.2879, allocations: 52.45 kB / 456.4 MB, free: 81.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.288, allocations: 10.03 kB / 456.4 MB, free: 81.28 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.967e-05/0.288, allocations: 27.34 kB / 456.4 MB, free: 81.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.436e-05/0.2881, allocations: 23.91 kB / 456.5 MB, free: 81.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002368/0.2883, allocations: 302.8 kB / 456.8 MB, free: 81.15 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2883, allocations: 0 / 456.8 MB, free: 81.15 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001294/0.2896, allocations: 470.1 kB / 457.2 MB, free: 81.12 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.001276/0.2909, allocations: 0.7392 MB / 458 MB, free: 80.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009197/0.2918, allocations: 355.4 kB / 458.3 MB, free: 80.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.2918, allocations: 0 / 458.3 MB, free: 80.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004128/0.2922, allocations: 185.5 kB / 458.5 MB, free: 80.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006497/0.2929, allocations: 150.2 kB / 458.6 MB, free: 80.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9345/1.227, allocations: 0.5385 GB / 0.9863 GB, free: 125.4 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.565e-05/1.227, allocations: 113.3 kB / 0.9864 GB, free: 125.3 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003636/1.228, allocations: 166.2 kB / 0.9866 GB, free: 125.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.166e-05/1.228, allocations: 37.19 kB / 0.9866 GB, free: 125.3 MB / 458.7 MB Notification: Performance of SimCode: time 2.174e-06/1.228, allocations: 0 / 0.9866 GB, free: 125.3 MB / 458.7 MB Notification: Performance of Templates: time 0.02045/1.248, allocations: 19.4 MB / 1.006 GB, free: 115.1 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 -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: 5.495295985136181]