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.0009813/0.0009813, 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.0009979/0.0009979, 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 0.978/0.978, 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.2579/0.2579, allocations: 32.81 MB / 294.3 MB, free: 1.27 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 1.353e-06/1.353e-06, allocations: 0 / 376.1 MB, free: 4.617 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.794e-05/2.93e-05, allocations: 5.406 kB / 376.1 MB, free: 4.613 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01117/0.0112, allocations: 11.3 MB / 387.4 MB, free: 9.262 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01111/0.02231, allocations: 11.76 MB / 399.1 MB, free: 13.46 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.02242, allocations: 4 kB / 399.1 MB, free: 13.46 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002881/0.02271, allocations: 75.45 kB / 399.2 MB, free: 13.38 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008123/0.03083, allocations: 3.201 MB / 402.4 MB, free: 10.16 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003491/0.03118, allocations: 159.6 kB / 402.6 MB, free: 10.01 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00457/0.03575, allocations: 4.041 MB / 406.6 MB, free: 5.961 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.134e-05/0.0358, allocations: 20.52 kB / 406.6 MB, free: 5.938 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002224/0.03602, allocations: 199.5 kB / 406.8 MB, free: 5.742 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007831/0.04385, allocations: 7.32 MB / 414.1 MB, free: 14.41 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.156e-05/0.0439, allocations: 8 kB / 414.1 MB, free: 14.41 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004261/0.04816, allocations: 2.286 MB / 416.4 MB, free: 12.12 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.137e-05/0.04822, allocations: 51.75 kB / 416.5 MB, free: 12.07 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.04832, allocations: 95.77 kB / 416.6 MB, free: 11.97 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002881/0.0512, allocations: 1.956 MB / 418.5 MB, free: 10.01 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.0512, allocations: 0 / 418.5 MB, free: 10.01 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.05121, allocations: 4 kB / 418.5 MB, free: 10.01 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.05121, allocations: 0 / 418.5 MB, free: 10.01 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.001763/0.05297, allocations: 1.004 MB / 419.5 MB, free: 8.965 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.05301, allocations: 8.031 kB / 419.5 MB, free: 8.957 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006282/0.05364, allocations: 164.3 kB / 419.7 MB, free: 8.797 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002468/0.05389, allocations: 196.2 kB / 419.9 MB, free: 8.578 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.05391, allocations: 21.03 kB / 419.9 MB, free: 8.559 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.209e-05/0.05395, allocations: 28.38 kB / 419.9 MB, free: 8.531 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007514/0.0547, allocations: 475.9 kB / 420.4 MB, free: 8.008 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.05472, allocations: 192 / 420.4 MB, free: 8.008 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.251e-05/0.05475, allocations: 16.12 kB / 420.4 MB, free: 7.992 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/0.05477, allocations: 8 kB / 420.4 MB, free: 7.984 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007362/0.0555, allocations: 470.4 kB / 420.9 MB, free: 7.523 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004167/0.05967, allocations: 2.927 MB / 423.8 MB, free: 4.512 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004779/0.06015, allocations: 187.8 kB / 424 MB, free: 4.316 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.528e-05/0.06024, allocations: 64.22 kB / 424.1 MB, free: 4.25 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2328/0.2931, allocations: 22.21 MB / 446.3 MB, free: 88.13 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000537/0.2936, allocations: 389.7 kB / 446.7 MB, free: 87.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 3.256e-06/0.2936, allocations: 7.781 kB / 446.7 MB, free: 87.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.001624/0.2952, allocations: 0.8746 MB / 447.5 MB, free: 87.63 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.2e-05/0.2953, allocations: 485.1 kB / 448 MB, free: 87.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.2954, allocations: 226.3 kB / 448.2 MB, free: 86.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.2954, allocations: 38.73 kB / 448.3 MB, free: 86.87 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.74e-05/0.2955, allocations: 210.8 kB / 448.5 MB, free: 86.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.867e-05/0.2956, allocations: 137.1 kB / 448.6 MB, free: 86.63 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.191e-05/0.2956, allocations: 97.8 kB / 448.7 MB, free: 86.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.045e-05/0.2957, allocations: 0.5056 MB / 449.2 MB, free: 86.11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.024e-05/0.2958, allocations: 48.33 kB / 449.3 MB, free: 86.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001693/0.296, allocations: 410.8 kB / 449.7 MB, free: 85.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003109/0.2963, allocations: 0.5009 MB / 450.2 MB, free: 85.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.2963, allocations: 0 / 450.2 MB, free: 85.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0004847/0.2968, allocations: 398.3 kB / 450.5 MB, free: 85.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/0.2968, allocations: 10.97 kB / 450.6 MB, free: 85.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/0.2968, allocations: 9.875 kB / 450.6 MB, free: 85.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.069e-05/0.2968, allocations: 11.31 kB / 450.6 MB, free: 85.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.2979, allocations: 346.6 kB / 450.9 MB, free: 85.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004168/0.2983, allocations: 1.805 MB / 452.7 MB, free: 83.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.2984, allocations: 21.38 kB / 452.7 MB, free: 83.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.49e-05/0.2985, allocations: 31.16 kB / 452.8 MB, free: 83.37 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.0001097/0.2986, allocations: 202.6 kB / 453 MB, free: 83.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.357e-05/0.2986, allocations: 45.7 kB / 453 MB, free: 83.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006621/0.2993, allocations: 0.7591 MB / 453.8 MB, free: 82.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.2993, allocations: 9.094 kB / 453.8 MB, free: 82.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.2993, allocations: 3.484 kB / 453.8 MB, free: 82.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.2993, allocations: 0 / 453.8 MB, free: 82.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008912/0.3002, allocations: 0.9016 MB / 454.7 MB, free: 82.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.114e-06/0.3002, allocations: 2.938 kB / 454.7 MB, free: 82.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005307/0.3008, allocations: 144 kB / 454.8 MB, free: 82.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.207e-06/0.3008, allocations: 7.719 kB / 454.8 MB, free: 82.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.3008, allocations: 12.7 kB / 454.9 MB, free: 82.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001792/0.301, allocations: 0.8962 MB / 455.7 MB, free: 81.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.301, allocations: 7.312 kB / 455.8 MB, free: 81.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004389/0.3014, allocations: 0.527 MB / 456.3 MB, free: 81.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.239e-05/0.3015, allocations: 35.7 kB / 456.3 MB, free: 81.31 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.693e-05/0.3015, allocations: 48.44 kB / 456.4 MB, free: 81.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.3017, allocations: 12.8 kB / 456.4 MB, free: 81.29 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/0.3017, allocations: 26.44 kB / 456.4 MB, free: 81.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.991e-05/0.3017, allocations: 12.75 kB / 456.4 MB, free: 81.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002106/0.3019, allocations: 306.4 kB / 456.7 MB, free: 81.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.3019, allocations: 0 / 456.7 MB, free: 81.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001279/0.3032, allocations: 471.5 kB / 457.2 MB, free: 81.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.00136/0.3046, allocations: 0.7424 MB / 457.9 MB, free: 80.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008296/0.3054, allocations: 355.2 kB / 458.3 MB, free: 80.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.3054, allocations: 3.156 kB / 458.3 MB, free: 80.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003641/0.3058, allocations: 178.8 kB / 458.4 MB, free: 80.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005164/0.3063, allocations: 152.9 kB / 458.6 MB, free: 80.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9577/1.264, 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 8.488e-05/1.264, allocations: 111 kB / 0.9864 GB, free: 125.3 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003746/1.264, allocations: 169 kB / 0.9866 GB, free: 125.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.496e-05/1.265, allocations: 40.3 kB / 0.9866 GB, free: 125.2 MB / 458.7 MB Notification: Performance of SimCode: time 2.855e-06/1.265, allocations: 0 / 0.9866 GB, free: 125.2 MB / 458.7 MB Notification: Performance of Templates: time 0.01956/1.284, allocations: 16.01 MB / 1.002 GB, free: 117.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.772455513942987]