Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00103/0.00103, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001191/0.001191, allocations: 171.8 kB / 24.82 MB, free: 9.254 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9808/0.9808, allocations: 177 MB / 205.1 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2924/0.2924, allocations: 34.87 MB / 296.6 MB, free: 0.5078 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 379.3 MB, free: 1.777 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.918e-05/2.113e-05, allocations: 3.156 kB / 379.3 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01215/0.01217, allocations: 11.18 MB / 390.5 MB, free: 6.543 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0105/0.02267, allocations: 11.58 MB / 402 MB, free: 10.92 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001522/0.02282, allocations: 4 kB / 402 MB, free: 10.92 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003446/0.02317, allocations: 71.47 kB / 402.1 MB, free: 10.85 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008376/0.03154, allocations: 3.205 MB / 405.3 MB, free: 7.625 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003324/0.03188, allocations: 163.6 kB / 405.5 MB, free: 7.465 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004739/0.03662, allocations: 4.084 MB / 409.6 MB, free: 3.375 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.991e-05/0.03667, allocations: 12.59 kB / 409.6 MB, free: 3.359 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002331/0.0369, allocations: 203.5 kB / 409.8 MB, free: 3.16 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007098/0.044, allocations: 7.402 MB / 417.2 MB, free: 11.75 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.602e-05/0.04403, allocations: 8 kB / 417.2 MB, free: 11.74 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003976/0.04801, allocations: 2.286 MB / 419.5 MB, free: 9.453 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.475e-05/0.04807, allocations: 55.75 kB / 419.5 MB, free: 9.398 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 8.194e-05/0.04816, allocations: 91.77 kB / 419.6 MB, free: 9.309 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002488/0.05064, allocations: 1.956 MB / 421.6 MB, free: 7.348 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.05065, allocations: 4 kB / 421.6 MB, free: 7.344 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.05065, allocations: 3.984 kB / 421.6 MB, free: 7.34 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.05065, allocations: 0 / 421.6 MB, free: 7.34 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.001415/0.05207, allocations: 1.008 MB / 422.6 MB, free: 6.293 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.05211, allocations: 8.031 kB / 422.6 MB, free: 6.285 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003791/0.05248, allocations: 152.3 kB / 422.7 MB, free: 6.137 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.05265, allocations: 200.1 kB / 422.9 MB, free: 5.914 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.05266, allocations: 21.03 kB / 423 MB, free: 5.895 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/0.05269, allocations: 24.38 kB / 423 MB, free: 5.871 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004604/0.05315, allocations: 444 kB / 423.4 MB, free: 5.379 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.05315, allocations: 192 / 423.4 MB, free: 5.379 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.173e-05/0.05318, allocations: 28.05 kB / 423.4 MB, free: 5.352 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.05318, allocations: 4 kB / 423.4 MB, free: 5.348 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004306/0.05361, allocations: 400.9 kB / 423.8 MB, free: 4.957 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003135/0.05675, allocations: 2.818 MB / 426.7 MB, free: 2.062 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003008/0.05705, allocations: 183.9 kB / 426.8 MB, free: 1.871 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.737e-05/0.05709, allocations: 52.22 kB / 426.9 MB, free: 1.816 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1857/0.2428, allocations: 20.88 MB / 447.8 MB, free: 85.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004665/0.2432, allocations: 381.9 kB / 448.1 MB, free: 85.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 2.225e-06/0.2432, allocations: 0 / 448.1 MB, free: 85.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.001356/0.2446, allocations: 0.591 MB / 448.7 MB, free: 85.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.82e-05/0.2447, allocations: 481 kB / 449.2 MB, free: 85.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.922e-05/0.2447, allocations: 225.4 kB / 449.4 MB, free: 84.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.2448, allocations: 39.23 kB / 449.5 MB, free: 84.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.898e-05/0.2448, allocations: 213.8 kB / 449.7 MB, free: 84.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.87e-05/0.2449, allocations: 135.1 kB / 449.8 MB, free: 84.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.479e-05/0.2449, allocations: 104.8 kB / 449.9 MB, free: 84.58 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.314e-05/0.245, allocations: 0.5039 MB / 450.4 MB, free: 84.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.072e-05/0.245, allocations: 39.77 kB / 450.4 MB, free: 84.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.2451, allocations: 396.2 kB / 450.8 MB, free: 83.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002393/0.2454, allocations: 0.4965 MB / 451.3 MB, free: 83.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.2454, allocations: 2.688 kB / 451.3 MB, free: 83.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0003418/0.2457, allocations: 369.8 kB / 451.7 MB, free: 83.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.2457, allocations: 8.938 kB / 451.7 MB, free: 83.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.2458, allocations: 12 kB / 451.7 MB, free: 83.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.2458, allocations: 13.31 kB / 451.7 MB, free: 83.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008848/0.2467, allocations: 350.7 kB / 452.1 MB, free: 83.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002938/0.247, allocations: 1.798 MB / 453.9 MB, free: 81.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.2471, allocations: 22.23 kB / 453.9 MB, free: 81.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.497e-05/0.2471, allocations: 29.75 kB / 453.9 MB, free: 81.32 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 7.964e-05/0.2472, allocations: 203.6 kB / 454.1 MB, free: 81.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.227e-05/0.2472, allocations: 45.09 kB / 454.2 MB, free: 81.15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005205/0.2478, allocations: 0.7259 MB / 454.9 MB, free: 80.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.2478, allocations: 9.719 kB / 454.9 MB, free: 80.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.2478, allocations: 0 / 454.9 MB, free: 80.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.2478, allocations: 6.188 kB / 454.9 MB, free: 80.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006116/0.2484, allocations: 0.8102 MB / 455.7 MB, free: 80.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.2484, allocations: 2.938 kB / 455.7 MB, free: 80.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004761/0.2489, allocations: 147.3 kB / 455.9 MB, free: 80.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.2489, allocations: 3 kB / 455.9 MB, free: 80.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.2489, allocations: 13.38 kB / 455.9 MB, free: 80.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001356/0.249, allocations: 0.8989 MB / 456.8 MB, free: 79.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.249, allocations: 5.969 kB / 456.8 MB, free: 79.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002923/0.2493, allocations: 0.5013 MB / 457.3 MB, free: 79.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.508e-05/0.2493, allocations: 38.03 kB / 457.3 MB, free: 79.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.716e-05/0.2494, allocations: 47.67 kB / 457.4 MB, free: 79.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.2495, allocations: 15.02 kB / 457.4 MB, free: 79.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.3e-05/0.2495, allocations: 18.17 kB / 457.4 MB, free: 79.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.2495, allocations: 23.62 kB / 457.4 MB, free: 79.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001325/0.2497, allocations: 297.4 kB / 457.7 MB, free: 79.13 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2497, allocations: 0 / 457.7 MB, free: 79.13 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008727/0.2505, allocations: 465.1 kB / 458.2 MB, free: 79.08 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.000862/0.2514, allocations: 0.7695 MB / 458.9 MB, free: 78.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006809/0.2521, allocations: 335 kB / 459.3 MB, free: 78.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.2521, allocations: 2.719 kB / 459.3 MB, free: 78.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003344/0.2524, allocations: 173.7 kB / 459.4 MB, free: 78.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004758/0.2529, allocations: 162.7 kB / 459.6 MB, free: 78.81 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.887/1.14, allocations: 0.5394 GB / 0.9882 GB, free: 116.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.861e-05/1.14, allocations: 112.3 kB / 0.9883 GB, free: 116.2 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003728/1.14, allocations: 166.6 kB / 0.9885 GB, free: 116.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002526/1.141, allocations: 167.9 kB / 0.9886 GB, free: 116.1 MB / 458.7 MB Notification: Performance of SimCode: time 2.945e-06/1.141, allocations: 1.219 kB / 0.9886 GB, free: 116.1 MB / 458.7 MB Notification: Performance of Templates: time 0.01852/1.159, allocations: 18.66 MB / 1.007 GB, free: 106.5 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.10765729798004]