Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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.001486/0.001486, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.00153/0.00153, allocations: 165.8 kB / 24.82 MB, free: 9.266 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.075/1.075, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.3431/0.3431, allocations: 32.81 MB / 294.6 MB, free: 1.238 MB / 266.7 MB " [Timeout remaining time 179] 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_ph,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_ph") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,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_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.858e-06/3.858e-06, allocations: 0 / 376.5 MB, free: 4.359 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.586e-05/3.972e-05, allocations: 5.266 kB / 376.5 MB, free: 4.355 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01414/0.01418, allocations: 11.18 MB / 387.7 MB, free: 9.121 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009344/0.02353, allocations: 11.58 MB / 399.3 MB, free: 13.5 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.02366, allocations: 0 / 399.3 MB, free: 13.5 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003855/0.02404, allocations: 75.45 kB / 399.4 MB, free: 13.42 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008375/0.03242, allocations: 3.209 MB / 402.6 MB, free: 10.2 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003049/0.03272, allocations: 155.7 kB / 402.7 MB, free: 10.04 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004027/0.03675, allocations: 4.083 MB / 406.8 MB, free: 5.953 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.616e-05/0.03681, allocations: 12.59 kB / 406.8 MB, free: 5.938 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001989/0.037, allocations: 199.5 kB / 407 MB, free: 5.742 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00668/0.04368, allocations: 7.398 MB / 414.4 MB, free: 14.34 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.403e-05/0.04373, allocations: 8 kB / 414.4 MB, free: 14.33 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004364/0.04809, allocations: 2.052 MB / 416.5 MB, free: 12.27 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 9.808e-05/0.04819, allocations: 43.77 kB / 416.5 MB, free: 12.23 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.04829, allocations: 103.8 kB / 416.6 MB, free: 12.13 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002069/0.05036, allocations: 1.749 MB / 418.4 MB, free: 10.38 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.05037, allocations: 0 / 418.4 MB, free: 10.38 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.05037, allocations: 0 / 418.4 MB, free: 10.38 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.05038, allocations: 4 kB / 418.4 MB, free: 10.37 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.001401/0.05178, allocations: 0.9656 MB / 419.3 MB, free: 9.367 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.05183, allocations: 15.95 kB / 419.4 MB, free: 9.352 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004227/0.05225, allocations: 148.3 kB / 419.5 MB, free: 9.207 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.05249, allocations: 192.2 kB / 419.7 MB, free: 8.992 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.05251, allocations: 17.03 kB / 419.7 MB, free: 8.977 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.313e-05/0.05254, allocations: 36.38 kB / 419.7 MB, free: 8.941 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005734/0.05312, allocations: 440 kB / 420.2 MB, free: 8.453 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.05313, allocations: 4.188 kB / 420.2 MB, free: 8.449 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.755e-05/0.05316, allocations: 16.12 kB / 420.2 MB, free: 8.434 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.05317, allocations: 4 kB / 420.2 MB, free: 8.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005048/0.05367, allocations: 404.9 kB / 420.6 MB, free: 8.035 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003624/0.0573, allocations: 3.114 MB / 423.7 MB, free: 4.848 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002983/0.05759, allocations: 143.6 kB / 423.8 MB, free: 4.695 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.849e-05/0.05764, allocations: 44.38 kB / 423.9 MB, free: 4.648 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01123/0.06887, allocations: 7.518 MB / 431.4 MB, free: 13.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004546/0.06933, allocations: 367.6 kB / 431.8 MB, free: 12.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.823e-06/0.06933, allocations: 0 / 431.8 MB, free: 12.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0009627/0.07029, allocations: 422.5 kB / 432.2 MB, free: 12.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001618/0.07045, allocations: 490.6 kB / 432.7 MB, free: 11.66 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.0706, allocations: 254.1 kB / 432.9 MB, free: 11.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.07062, allocations: 29.7 kB / 432.9 MB, free: 11.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.07073, allocations: 242.8 kB / 433.2 MB, free: 11.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.344e-05/0.07079, allocations: 103.1 kB / 433.3 MB, free: 11.01 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.067e-05/0.07087, allocations: 107.7 kB / 433.4 MB, free: 10.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.07101, allocations: 0.504 MB / 433.9 MB, free: 10.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.475e-05/0.07105, allocations: 40.95 kB / 433.9 MB, free: 10.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000222/0.07127, allocations: 405.6 kB / 434.3 MB, free: 9.777 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006675/0.07194, allocations: 491.2 kB / 434.8 MB, free: 9.133 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.07194, allocations: 0 / 434.8 MB, free: 9.133 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003864/0.07233, allocations: 377.7 kB / 435.2 MB, free: 8.758 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.07235, allocations: 8 kB / 435.2 MB, free: 8.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.07236, allocations: 19.92 kB / 435.2 MB, free: 8.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.07238, allocations: 8 kB / 435.2 MB, free: 8.723 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001866/0.07257, allocations: 111.8 kB / 435.3 MB, free: 8.613 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.07258, allocations: 15.98 kB / 435.3 MB, free: 8.598 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.0727, allocations: 51.56 kB / 435.4 MB, free: 8.547 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.952e-05/0.07273, allocations: 28.42 kB / 435.4 MB, free: 8.52 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001074/0.07284, allocations: 200.4 kB / 435.6 MB, free: 8.312 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.193e-05/0.07289, allocations: 39.84 kB / 435.6 MB, free: 8.273 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005552/0.07345, allocations: 0.6364 MB / 436.3 MB, free: 7.598 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.07346, allocations: 4 kB / 436.3 MB, free: 7.594 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.07346, allocations: 4 kB / 436.3 MB, free: 7.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.07347, allocations: 3.984 kB / 436.3 MB, free: 7.586 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005416/0.07401, allocations: 0.6899 MB / 437 MB, free: 6.852 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.07401, allocations: 7.984 kB / 437 MB, free: 6.844 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.325e-05/0.07408, allocations: 28.3 kB / 437 MB, free: 6.816 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.07408, allocations: 8 kB / 437 MB, free: 6.809 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-06/0.07409, allocations: 8 kB / 437 MB, free: 6.801 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.0741, allocations: 7.938 kB / 437 MB, free: 6.793 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.0741, allocations: 0 / 437 MB, free: 6.793 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000282/0.07438, allocations: 420.3 kB / 437.4 MB, free: 6.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.701e-05/0.07441, allocations: 31.78 kB / 437.5 MB, free: 6.289 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.186e-05/0.07445, allocations: 47.56 kB / 437.5 MB, free: 6.242 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.07456, allocations: 11.98 kB / 437.5 MB, free: 6.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.583e-05/0.07459, allocations: 23.86 kB / 437.6 MB, free: 6.207 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.0746, allocations: 12 kB / 437.6 MB, free: 6.195 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001717/0.07477, allocations: 310.7 kB / 437.9 MB, free: 5.891 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.07477, allocations: 0 / 437.9 MB, free: 5.891 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008552/0.07563, allocations: 426.6 kB / 438.3 MB, free: 5.473 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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009126/0.07654, allocations: 0.6949 MB / 439 MB, free: 4.766 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002241/0.07676, allocations: 210 kB / 439.2 MB, free: 4.559 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.07676, allocations: 0 / 439.2 MB, free: 4.559 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.881e-05/0.07682, allocations: 63.53 kB / 439.2 MB, free: 4.492 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004377/0.07726, allocations: 151.1 kB / 439.4 MB, free: 4.348 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.325/1.402, allocations: 0.5817 GB / 1.011 GB, free: 104.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.078e-05/1.402, allocations: 102.4 kB / 1.011 GB, free: 104.2 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003786/1.402, allocations: 158.9 kB / 1.011 GB, free: 104.1 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001868/1.403, allocations: 154.5 kB / 1.011 GB, free: 104.1 MB / 458.7 MB Notification: Performance of SimCode: time 2.545e-06/1.403, allocations: 0 / 1.011 GB, free: 104.1 MB / 458.7 MB Notification: Performance of Templates: time 0.01468/1.417, allocations: 16.95 MB / 1.028 GB, free: 91.7 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.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.403357636649162]