Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.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.0009348/0.0009348, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009675/0.0009675, allocations: 165.4 kB / 24.56 MB, free: 16 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.9814/0.9814, allocations: 177.1 MB / 205 MB, free: 5.281 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.2576/0.2576, allocations: 34.25 MB / 295.7 MB, free: 0.707 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_dT,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_dT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,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_dT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 378.1 MB, free: 2.609 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.338e-05/1.462e-05, allocations: 2.312 kB / 378.1 MB, free: 2.605 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.009527/0.009542, allocations: 11.29 MB / 389.4 MB, free: 7.262 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008604/0.01815, allocations: 11.76 MB / 401.1 MB, free: 11.46 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.899e-05/0.01824, allocations: 4 kB / 401.1 MB, free: 11.45 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002819/0.01853, allocations: 67.52 kB / 401.2 MB, free: 11.39 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00668/0.02521, allocations: 3.209 MB / 404.4 MB, free: 8.16 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002573/0.02546, allocations: 151.7 kB / 404.6 MB, free: 8.012 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003442/0.02891, allocations: 4.064 MB / 408.6 MB, free: 3.941 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.433e-05/0.02895, allocations: 8.594 kB / 408.6 MB, free: 3.93 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00018/0.02913, allocations: 207.5 kB / 408.8 MB, free: 3.727 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005741/0.03487, allocations: 7.344 MB / 416.2 MB, free: 12.38 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.685e-05/0.03491, allocations: 8 kB / 416.2 MB, free: 12.37 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003428/0.03834, allocations: 2.024 MB / 418.2 MB, free: 10.34 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.434e-05/0.03841, allocations: 35.83 kB / 418.3 MB, free: 10.3 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 9.846e-05/0.03851, allocations: 99.77 kB / 418.4 MB, free: 10.21 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002545/0.04105, allocations: 1.753 MB / 420.1 MB, free: 8.449 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.04106, allocations: 0 / 420.1 MB, free: 8.449 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.166e-06/0.04106, allocations: 3.984 kB / 420.1 MB, free: 8.445 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.04107, allocations: 0 / 420.1 MB, free: 8.445 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.001679/0.04275, allocations: 0.9618 MB / 421.1 MB, free: 7.445 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.0428, allocations: 8.031 kB / 421.1 MB, free: 7.438 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000488/0.04328, allocations: 152.3 kB / 421.2 MB, free: 7.289 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002636/0.04355, allocations: 200.1 kB / 421.4 MB, free: 7.066 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.04356, allocations: 17.03 kB / 421.4 MB, free: 7.051 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.0436, allocations: 32.38 kB / 421.5 MB, free: 7.02 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006056/0.0442, allocations: 471.9 kB / 421.9 MB, free: 6.5 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.04421, allocations: 4.125 kB / 421.9 MB, free: 6.496 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.733e-05/0.04424, allocations: 20.12 kB / 422 MB, free: 6.477 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.04425, allocations: 8 kB / 422 MB, free: 6.469 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005677/0.04482, allocations: 466.4 kB / 422.4 MB, free: 6.016 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003336/0.04816, allocations: 2.907 MB / 425.3 MB, free: 3.023 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003575/0.04851, allocations: 203.7 kB / 425.5 MB, free: 2.812 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.04e-05/0.04858, allocations: 64.22 kB / 425.6 MB, free: 2.746 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1999/0.2485, allocations: 21.3 MB / 446.9 MB, free: 85.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004569/0.249, allocations: 386.4 kB / 447.3 MB, free: 85.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 1.573e-06/0.249, allocations: 0 / 447.3 MB, free: 85.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=37): time 0.001719/0.2507, allocations: 0.9968 MB / 448.3 MB, free: 85.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.207e-05/0.2508, allocations: 480.7 kB / 448.7 MB, free: 84.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.564e-05/0.2509, allocations: 232.8 kB / 449 MB, free: 84.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.2509, allocations: 34.42 kB / 449 MB, free: 84.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.408e-05/0.2509, allocations: 207.6 kB / 449.2 MB, free: 84.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.309e-05/0.251, allocations: 136.3 kB / 449.3 MB, free: 84.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.919e-05/0.251, allocations: 106.8 kB / 449.4 MB, free: 84.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.966e-05/0.2511, allocations: 0.5019 MB / 449.9 MB, free: 83.81 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.16e-05/0.2512, allocations: 54.08 kB / 450 MB, free: 83.81 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/0.2513, allocations: 418.6 kB / 450.4 MB, free: 83.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002866/0.2516, allocations: 0.5149 MB / 450.9 MB, free: 82.92 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2516, allocations: 0 / 450.9 MB, free: 82.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0004372/0.252, allocations: 443.3 kB / 451.4 MB, free: 82.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.2521, allocations: 12.34 kB / 451.4 MB, free: 82.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.2521, allocations: 8.562 kB / 451.4 MB, free: 82.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009339/0.253, allocations: 325 kB / 451.7 MB, free: 82.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.2532, allocations: 109.3 kB / 451.8 MB, free: 82.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003221/0.2535, allocations: 1.818 MB / 453.6 MB, free: 81.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.2536, allocations: 24.58 kB / 453.6 MB, free: 81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.538e-05/0.2536, allocations: 29.42 kB / 453.7 MB, free: 81 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 (54): * Single equations (assignments): 52 * 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 {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.774e-05/0.2537, allocations: 198.7 kB / 453.9 MB, free: 80.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.792e-05/0.2538, allocations: 44.53 kB / 453.9 MB, free: 80.83 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006112/0.2544, allocations: 0.8103 MB / 454.7 MB, free: 80.54 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.2544, allocations: 17.14 kB / 454.7 MB, free: 80.54 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2544, allocations: 2.938 kB / 454.7 MB, free: 80.54 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.2544, allocations: 3.469 kB / 454.7 MB, free: 80.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006539/0.255, allocations: 0.9709 MB / 455.7 MB, free: 80.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.2551, allocations: 5.812 kB / 455.7 MB, free: 80.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.248e-05/0.2551, allocations: 44.91 kB / 455.8 MB, free: 80.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005314/0.2557, allocations: 213.1 kB / 456 MB, free: 80.13 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.2557, allocations: 12.41 kB / 456 MB, free: 80.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002584/0.2559, allocations: 1.812 MB / 457.8 MB, free: 78.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2559, allocations: 6.812 kB / 457.8 MB, free: 78.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003419/0.2563, allocations: 0.5714 MB / 458.4 MB, free: 77.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.299e-05/0.2563, allocations: 28.11 kB / 458.4 MB, free: 77.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.907e-05/0.2563, allocations: 47.7 kB / 458.4 MB, free: 77.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.2564, allocations: 16.36 kB / 458.5 MB, free: 77.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.238e-05/0.2565, allocations: 31.91 kB / 458.5 MB, free: 77.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.2565, allocations: 15.44 kB / 458.5 MB, free: 77.92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001515/0.2566, allocations: 305.4 kB / 458.8 MB, free: 77.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2566, allocations: 4 kB / 458.8 MB, free: 77.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007802/0.2574, allocations: 445.6 kB / 459.2 MB, free: 77.77 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 (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008264/0.2582, allocations: 0.6971 MB / 459.9 MB, free: 77.57 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003237/0.2586, allocations: 321.3 kB / 460.3 MB, free: 77.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.2586, allocations: 3.188 kB / 460.3 MB, free: 77.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.2587, allocations: 175.4 kB / 460.4 MB, free: 77.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000416/0.2591, allocations: 166.9 kB / 460.6 MB, free: 77.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8871/1.146, allocations: 0.4932 GB / 0.9429 GB, free: 132.2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.866e-05/1.146, allocations: 109.8 kB / 0.9431 GB, free: 132.1 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003361/1.147, allocations: 168.1 kB / 0.9432 GB, free: 132.1 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.528e-05/1.147, allocations: 40.98 kB / 0.9432 GB, free: 132.1 MB / 458.7 MB Notification: Performance of SimCode: time 1.713e-06/1.147, allocations: 0 / 0.9432 GB, free: 132.1 MB / 458.7 MB Notification: Performance of Templates: time 0.0191/1.166, allocations: 19.14 MB / 0.9619 GB, free: 129.8 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_dT/ReferenceAir_dT.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.154636573046446]