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.001469/0.001469, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001566/0.001566, allocations: 165 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 0.9783/0.9783, 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.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.2611/0.2611, allocations: 34.26 MB / 295.7 MB, free: 0.7461 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 1.263e-06/1.263e-06, allocations: 0 / 378.1 MB, free: 2.605 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.285e-05/1.411e-05, allocations: 6.312 kB / 378.1 MB, free: 2.598 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.009783/0.009797, allocations: 11.3 MB / 389.4 MB, free: 7.254 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008195/0.01799, allocations: 11.76 MB / 401.1 MB, free: 11.45 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.522e-05/0.01808, allocations: 4 kB / 401.1 MB, free: 11.45 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001883/0.01827, allocations: 75.39 kB / 401.2 MB, free: 11.38 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006546/0.02481, allocations: 3.205 MB / 404.4 MB, free: 8.152 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.02505, allocations: 163.6 kB / 404.6 MB, free: 7.992 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003318/0.02837, allocations: 4.052 MB / 408.6 MB, free: 3.934 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.414e-05/0.0284, allocations: 12.59 kB / 408.6 MB, free: 3.918 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001769/0.02858, allocations: 207.4 kB / 408.9 MB, free: 3.715 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005988/0.03457, allocations: 7.348 MB / 416.2 MB, free: 12.36 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.633e-05/0.03461, allocations: 8 kB / 416.2 MB, free: 12.35 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004047/0.03865, allocations: 2.282 MB / 418.5 MB, free: 10.07 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.092e-05/0.03871, allocations: 51.75 kB / 418.5 MB, free: 10.02 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 9.72e-05/0.03881, allocations: 91.83 kB / 418.6 MB, free: 9.926 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002889/0.0417, allocations: 1.964 MB / 420.6 MB, free: 7.957 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.0417, allocations: 4 kB / 420.6 MB, free: 7.953 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.04171, allocations: 0 / 420.6 MB, free: 7.953 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.04171, allocations: 0 / 420.6 MB, free: 7.953 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.001429/0.04314, allocations: 1 MB / 421.6 MB, free: 6.914 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.04317, allocations: 8.031 kB / 421.6 MB, free: 6.906 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004016/0.04357, allocations: 156.3 kB / 421.8 MB, free: 6.754 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.04377, allocations: 200.2 kB / 422 MB, free: 6.531 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.04378, allocations: 17.03 kB / 422 MB, free: 6.516 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.999e-05/0.04381, allocations: 28.38 kB / 422 MB, free: 6.488 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005269/0.04434, allocations: 472 kB / 422.5 MB, free: 5.969 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.04435, allocations: 192 / 422.5 MB, free: 5.969 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.296e-05/0.04437, allocations: 16.12 kB / 422.5 MB, free: 5.953 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.647e-06/0.04438, allocations: 8 kB / 422.5 MB, free: 5.945 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005189/0.0449, allocations: 470.4 kB / 422.9 MB, free: 5.488 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003255/0.04815, allocations: 2.935 MB / 425.9 MB, free: 2.469 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003337/0.04849, allocations: 187.6 kB / 426.1 MB, free: 2.277 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.768e-05/0.04855, allocations: 68.2 kB / 426.1 MB, free: 2.207 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1947/0.2432, allocations: 22.21 MB / 448.3 MB, free: 86.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004936/0.2437, allocations: 384.1 kB / 448.7 MB, free: 85.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 2.255e-06/0.2437, allocations: 0 / 448.7 MB, free: 85.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.001547/0.2453, allocations: 0.8853 MB / 449.6 MB, free: 85.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.535e-05/0.2454, allocations: 492.5 kB / 450.1 MB, free: 85.13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.818e-05/0.2455, allocations: 228.1 kB / 450.3 MB, free: 84.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.2455, allocations: 35.52 kB / 450.3 MB, free: 84.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.738e-05/0.2455, allocations: 210.8 kB / 450.5 MB, free: 84.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.715e-05/0.2456, allocations: 134.4 kB / 450.7 MB, free: 84.69 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.852e-05/0.2457, allocations: 102.4 kB / 450.8 MB, free: 84.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.919e-05/0.2457, allocations: 0.5001 MB / 451.3 MB, free: 84.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.156e-05/0.2458, allocations: 50.31 kB / 451.3 MB, free: 84.17 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/0.2459, allocations: 406.6 kB / 451.7 MB, free: 83.72 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002979/0.2462, allocations: 0.5032 MB / 452.2 MB, free: 83.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.2462, allocations: 2.625 kB / 452.2 MB, free: 83.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.000389/0.2466, allocations: 401.8 kB / 452.6 MB, free: 83.22 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.2467, allocations: 8.188 kB / 452.6 MB, free: 83.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.2467, allocations: 13.8 kB / 452.6 MB, free: 83.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.2467, allocations: 13.44 kB / 452.6 MB, free: 83.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008962/0.2476, allocations: 343.3 kB / 453 MB, free: 83.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002949/0.2479, allocations: 1.806 MB / 454.8 MB, free: 81.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.248, allocations: 19.34 kB / 454.8 MB, free: 81.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.272e-05/0.248, allocations: 37.62 kB / 454.8 MB, free: 81.4 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 9.277e-05/0.2481, allocations: 199.1 kB / 455 MB, free: 81.24 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.536e-05/0.2482, allocations: 45.25 kB / 455.1 MB, free: 81.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005529/0.2487, allocations: 0.7431 MB / 455.8 MB, free: 80.97 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.2487, allocations: 15.53 kB / 455.8 MB, free: 80.97 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2487, allocations: 2.531 kB / 455.8 MB, free: 80.97 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.2488, allocations: 2.75 kB / 455.8 MB, free: 80.97 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006434/0.2494, allocations: 0.8988 MB / 456.7 MB, free: 80.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.2494, allocations: 2.906 kB / 456.8 MB, free: 80.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004641/0.2499, allocations: 145.2 kB / 456.9 MB, free: 80.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.2499, allocations: 5.5 kB / 456.9 MB, free: 80.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.2499, allocations: 12.53 kB / 456.9 MB, free: 80.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001262/0.25, allocations: 0.8969 MB / 457.8 MB, free: 79.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.25, allocations: 6.062 kB / 457.8 MB, free: 79.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003287/0.2503, allocations: 0.5262 MB / 458.3 MB, free: 79.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.108e-05/0.2504, allocations: 31.33 kB / 458.4 MB, free: 79.35 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.164e-05/0.2504, allocations: 57.41 kB / 458.4 MB, free: 79.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.2505, allocations: 12.69 kB / 458.4 MB, free: 79.33 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.687e-05/0.2505, allocations: 28.97 kB / 458.5 MB, free: 79.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.2506, allocations: 8.781 kB / 458.5 MB, free: 79.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000151/0.2507, allocations: 308.4 kB / 458.8 MB, free: 79.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2507, allocations: 0 / 458.8 MB, free: 79.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008245/0.2515, allocations: 466.1 kB / 459.2 MB, free: 79.15 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.0009024/0.2524, allocations: 0.7418 MB / 460 MB, free: 78.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006802/0.2531, allocations: 355.9 kB / 460.3 MB, free: 78.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2531, allocations: 4.062 kB / 460.3 MB, free: 78.92 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003334/0.2535, allocations: 179.2 kB / 460.5 MB, free: 78.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004289/0.2539, allocations: 156.5 kB / 460.7 MB, free: 78.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9208/1.175, allocations: 0.5385 GB / 0.9883 GB, free: 117.7 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.256e-05/1.175, allocations: 110.4 kB / 0.9884 GB, free: 117.7 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000349/1.175, allocations: 166.2 kB / 0.9886 GB, free: 117.6 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.15e-05/1.175, allocations: 41.08 kB / 0.9886 GB, free: 117.6 MB / 458.7 MB Notification: Performance of SimCode: time 2.084e-06/1.175, allocations: 0 / 0.9886 GB, free: 117.6 MB / 458.7 MB Notification: Performance of Templates: time 0.01967/1.195, allocations: 19.4 MB / 1.008 GB, free: 107.4 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 -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.294415611773729]