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.001599/0.001599, allocations: 95.5 kB / 21.2 MB, free: 3.375 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.002121/0.002121, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 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 1.001/1.001, allocations: 177 MB / 204.8 MB, free: 5.578 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.258/0.258, allocations: 34.86 MB / 296.3 MB, free: 0.5234 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 2.094e-06/2.094e-06, allocations: 0 / 378.8 MB, free: 2.043 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.032e-05/3.241e-05, allocations: 4.281 kB / 378.8 MB, free: 2.039 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01205/0.01208, allocations: 11.29 MB / 390.1 MB, free: 6.699 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009028/0.02111, allocations: 11.76 MB / 401.9 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001365/0.02125, allocations: 7.938 kB / 401.9 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002969/0.02155, allocations: 75.44 kB / 401.9 MB, free: 10.81 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008934/0.03048, allocations: 3.197 MB / 405.1 MB, free: 7.598 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003405/0.03082, allocations: 155.7 kB / 405.3 MB, free: 7.445 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003941/0.03476, allocations: 4.052 MB / 409.3 MB, free: 3.387 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.009e-05/0.03482, allocations: 12.59 kB / 409.4 MB, free: 3.371 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002442/0.03507, allocations: 203.5 kB / 409.6 MB, free: 3.172 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005977/0.04104, allocations: 7.324 MB / 416.9 MB, free: 11.84 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.893e-05/0.04109, allocations: 8 kB / 416.9 MB, free: 11.83 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004108/0.0452, allocations: 2.29 MB / 419.2 MB, free: 9.539 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.994e-05/0.04529, allocations: 51.75 kB / 419.2 MB, free: 9.488 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.04541, allocations: 87.83 kB / 419.3 MB, free: 9.402 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003514/0.04892, allocations: 1.964 MB / 421.3 MB, free: 7.434 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.04893, allocations: 0 / 421.3 MB, free: 7.434 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.04893, allocations: 3.938 kB / 421.3 MB, free: 7.43 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.04893, allocations: 0 / 421.3 MB, free: 7.43 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.001928/0.05086, allocations: 1 MB / 422.3 MB, free: 6.391 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.804e-05/0.05092, allocations: 12.03 kB / 422.3 MB, free: 6.379 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000584/0.0515, allocations: 152.3 kB / 422.4 MB, free: 6.23 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003132/0.05182, allocations: 192.2 kB / 422.6 MB, free: 6.016 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.05184, allocations: 21.03 kB / 422.6 MB, free: 5.996 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.849e-05/0.05188, allocations: 32.38 kB / 422.7 MB, free: 5.965 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007345/0.05261, allocations: 475.9 kB / 423.1 MB, free: 5.441 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.05262, allocations: 192 / 423.1 MB, free: 5.441 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.141e-05/0.05266, allocations: 16.12 kB / 423.2 MB, free: 5.426 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.05267, allocations: 8 kB / 423.2 MB, free: 5.418 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006555/0.05332, allocations: 466.4 kB / 423.6 MB, free: 4.961 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003769/0.05709, allocations: 2.939 MB / 426.6 MB, free: 1.938 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003849/0.05748, allocations: 187.9 kB / 426.7 MB, free: 1.742 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.2e-05/0.05756, allocations: 64.22 kB / 426.8 MB, free: 1.676 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2108/0.2683, allocations: 22.2 MB / 449 MB, free: 85.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000521/0.2689, allocations: 389 kB / 449.4 MB, free: 85.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 2.695e-06/0.2689, allocations: 0 / 449.4 MB, free: 85.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.001614/0.2705, allocations: 0.8855 MB / 450.3 MB, free: 84.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.384e-05/0.2706, allocations: 481.9 kB / 450.7 MB, free: 84.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.2707, allocations: 226.9 kB / 451 MB, free: 84.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.2707, allocations: 32.45 kB / 451 MB, free: 84.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.495e-05/0.2708, allocations: 222.9 kB / 451.2 MB, free: 84.01 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.013e-05/0.2708, allocations: 127.1 kB / 451.3 MB, free: 83.94 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.207e-05/0.2709, allocations: 105.3 kB / 451.4 MB, free: 83.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.396e-05/0.271, allocations: 0.4992 MB / 451.9 MB, free: 83.42 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.766e-05/0.271, allocations: 55.27 kB / 452 MB, free: 83.42 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001767/0.2712, allocations: 401.3 kB / 452.4 MB, free: 82.97 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003199/0.2715, allocations: 0.5136 MB / 452.9 MB, free: 82.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.2715, allocations: 0 / 452.9 MB, free: 82.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0004208/0.2719, allocations: 396.1 kB / 453.3 MB, free: 82.47 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.272, allocations: 14.7 kB / 453.3 MB, free: 82.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.272, allocations: 10.41 kB / 453.3 MB, free: 82.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.272, allocations: 11.72 kB / 453.3 MB, free: 82.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009308/0.2729, allocations: 347.1 kB / 453.7 MB, free: 82.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003684/0.2733, allocations: 1.802 MB / 455.5 MB, free: 80.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001534/0.2735, allocations: 21.78 kB / 455.5 MB, free: 80.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.269e-05/0.2735, allocations: 29.95 kB / 455.5 MB, free: 80.66 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.0001024/0.2736, allocations: 202 kB / 455.7 MB, free: 80.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.386e-05/0.2737, allocations: 45.66 kB / 455.8 MB, free: 80.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006642/0.2743, allocations: 0.748 MB / 456.5 MB, free: 80.22 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.4e-05/0.2743, allocations: 8.406 kB / 456.5 MB, free: 80.22 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.735e-05/0.2743, allocations: 7.141 kB / 456.5 MB, free: 80.22 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.2744, allocations: 2.625 kB / 456.5 MB, free: 80.22 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009162/0.2753, allocations: 0.9044 MB / 457.4 MB, free: 79.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.2753, allocations: 3 kB / 457.4 MB, free: 79.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005375/0.2758, allocations: 143.9 kB / 457.6 MB, free: 79.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.525e-06/0.2758, allocations: 2.75 kB / 457.6 MB, free: 79.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.2758, allocations: 12.09 kB / 457.6 MB, free: 79.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001917/0.276, allocations: 0.902 MB / 458.5 MB, free: 78.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.276, allocations: 5.188 kB / 458.5 MB, free: 78.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004595/0.2765, allocations: 0.5278 MB / 459 MB, free: 78.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.316e-05/0.2765, allocations: 23.73 kB / 459 MB, free: 78.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.148e-05/0.2766, allocations: 55.47 kB / 459.1 MB, free: 78.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.2767, allocations: 13.39 kB / 459.1 MB, free: 78.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.668e-05/0.2768, allocations: 32.94 kB / 459.1 MB, free: 78.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.065e-05/0.2768, allocations: 15.39 kB / 459.2 MB, free: 78.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001951/0.277, allocations: 304.9 kB / 459.5 MB, free: 78.44 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.277, allocations: 0 / 459.5 MB, free: 78.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001332/0.2783, allocations: 469 kB / 459.9 MB, free: 78.37 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.001307/0.2796, allocations: 0.7356 MB / 460.7 MB, free: 78.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008058/0.2804, allocations: 354 kB / 461 MB, free: 78.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.2804, allocations: 3.281 kB / 461 MB, free: 78.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000361/0.2808, allocations: 176.9 kB / 461.2 MB, free: 78.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004996/0.2813, allocations: 161.9 kB / 461.3 MB, free: 78.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.949/1.23, allocations: 0.5385 GB / 0.989 GB, free: 115.8 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.98e-05/1.23, allocations: 109 kB / 0.9891 GB, free: 115.7 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003389/1.231, allocations: 164.9 kB / 0.9892 GB, free: 115.6 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.976e-05/1.231, allocations: 41.02 kB / 0.9893 GB, free: 115.6 MB / 458.7 MB Notification: Performance of SimCode: time 1.884e-06/1.231, allocations: 0 / 0.9893 GB, free: 115.6 MB / 458.7 MB Notification: Performance of Templates: time 0.0158/1.247, allocations: 16.02 MB / 1.005 GB, free: 107.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.691825648769736]