Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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.0009679/0.0009679, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001186/0.001186, allocations: 167.7 kB / 24.99 MB, free: 8.219 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 1.014/1.014, allocations: 177 MB / 205.2 MB, free: 5.523 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.2785/0.2785, allocations: 34.87 MB / 296.6 MB, free: 0.5352 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_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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 378.8 MB, free: 2.383 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.873e-05/3.09e-05, allocations: 3.719 kB / 378.8 MB, free: 2.379 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01142/0.01145, allocations: 11.26 MB / 390.1 MB, free: 7.062 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009578/0.02102, allocations: 11.74 MB / 401.8 MB, free: 11.29 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001614/0.02119, allocations: 0 / 401.8 MB, free: 11.29 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003713/0.02156, allocations: 71.5 kB / 401.9 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008132/0.02969, allocations: 3.17 MB / 405 MB, free: 8.027 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003578/0.03005, allocations: 151.7 kB / 405.2 MB, free: 7.879 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004213/0.03426, allocations: 4.017 MB / 409.2 MB, free: 3.855 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.549e-05/0.03434, allocations: 16.59 kB / 409.2 MB, free: 3.836 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002773/0.03461, allocations: 195.5 kB / 409.4 MB, free: 3.645 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006372/0.04099, allocations: 7.313 MB / 416.7 MB, free: 12.32 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.301e-05/0.04103, allocations: 8 kB / 416.7 MB, free: 12.32 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003676/0.0447, allocations: 2.036 MB / 418.8 MB, free: 10.28 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.975e-05/0.04478, allocations: 47.77 kB / 418.8 MB, free: 10.23 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.04489, allocations: 91.81 kB / 418.9 MB, free: 10.14 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003062/0.04795, allocations: 1.749 MB / 420.6 MB, free: 8.387 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.04795, allocations: 0 / 420.6 MB, free: 8.387 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.04796, allocations: 4 kB / 420.7 MB, free: 8.383 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.04796, allocations: 0 / 420.7 MB, free: 8.383 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.001707/0.04967, allocations: 0.9618 MB / 421.6 MB, free: 7.383 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.04971, allocations: 8.031 kB / 421.6 MB, free: 7.375 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005372/0.05025, allocations: 152.3 kB / 421.8 MB, free: 7.227 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002622/0.05051, allocations: 200.2 kB / 422 MB, free: 7.004 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.05053, allocations: 21.03 kB / 422 MB, free: 6.984 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.449e-05/0.05057, allocations: 32.34 kB / 422 MB, free: 6.953 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006417/0.05121, allocations: 472 kB / 422.5 MB, free: 6.434 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.05122, allocations: 4.125 kB / 422.5 MB, free: 6.43 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.554e-05/0.05124, allocations: 16.12 kB / 422.5 MB, free: 6.414 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.05125, allocations: 8 kB / 422.5 MB, free: 6.406 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000603/0.05185, allocations: 466.4 kB / 423 MB, free: 5.949 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003696/0.05555, allocations: 3.203 MB / 426.2 MB, free: 2.668 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003458/0.0559, allocations: 163.6 kB / 426.3 MB, free: 2.496 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.51e-05/0.05596, allocations: 52.34 kB / 426.4 MB, free: 2.441 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01186/0.06782, allocations: 7.802 MB / 434.2 MB, free: 10.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004653/0.06829, allocations: 371.7 kB / 434.5 MB, free: 10.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 2.234e-06/0.06829, allocations: 0 / 434.5 MB, free: 10.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0009034/0.06919, allocations: 449.7 kB / 435 MB, free: 9.715 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001481/0.06934, allocations: 478.6 kB / 435.4 MB, free: 9.137 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.0695, allocations: 258.1 kB / 435.7 MB, free: 8.867 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.06952, allocations: 33.7 kB / 435.7 MB, free: 8.828 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.755e-05/0.06962, allocations: 238.8 kB / 436 MB, free: 8.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.792e-05/0.06967, allocations: 99.94 kB / 436.1 MB, free: 8.492 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.554e-05/0.06976, allocations: 103.8 kB / 436.2 MB, free: 8.383 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.06989, allocations: 0.504 MB / 436.7 MB, free: 7.867 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.008e-05/0.06996, allocations: 52.95 kB / 436.7 MB, free: 7.816 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002351/0.0702, allocations: 409.7 kB / 437.1 MB, free: 7.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003959/0.07059, allocations: 0.5154 MB / 437.6 MB, free: 6.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.0706, allocations: 4 kB / 437.6 MB, free: 6.566 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004751/0.07107, allocations: 388.7 kB / 438 MB, free: 6.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.07109, allocations: 13 kB / 438 MB, free: 6.168 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.0711, allocations: 8 kB / 438 MB, free: 6.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.07113, allocations: 16.09 kB / 438.1 MB, free: 6.145 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001914/0.07132, allocations: 107.8 kB / 438.2 MB, free: 6.039 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.635e-05/0.07133, allocations: 19.92 kB / 438.2 MB, free: 6.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.07148, allocations: 51.62 kB / 438.2 MB, free: 5.969 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.385e-05/0.07151, allocations: 31.98 kB / 438.3 MB, free: 5.938 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.0001148/0.07162, allocations: 196.3 kB / 438.5 MB, free: 5.734 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.211e-05/0.07169, allocations: 35.84 kB / 438.5 MB, free: 5.699 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005961/0.07228, allocations: 0.6544 MB / 439.1 MB, free: 5.004 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.07229, allocations: 4 kB / 439.1 MB, free: 5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.07229, allocations: 0 / 439.1 MB, free: 5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.0723, allocations: 4.219 kB / 439.1 MB, free: 4.996 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006497/0.07295, allocations: 0.7729 MB / 439.9 MB, free: 4.168 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.07295, allocations: 4 kB / 439.9 MB, free: 4.164 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.46e-05/0.07302, allocations: 31.92 kB / 440 MB, free: 4.133 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.07302, allocations: 4 kB / 440 MB, free: 4.129 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.07304, allocations: 8 kB / 440 MB, free: 4.121 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.07304, allocations: 4 kB / 440 MB, free: 4.117 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.07304, allocations: 0 / 440 MB, free: 4.117 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000313/0.07335, allocations: 435.9 kB / 440.4 MB, free: 3.633 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.694e-05/0.07338, allocations: 27.78 kB / 440.4 MB, free: 3.605 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.804e-05/0.07343, allocations: 55.5 kB / 440.5 MB, free: 3.551 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.07355, allocations: 11.98 kB / 440.5 MB, free: 3.539 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.922e-05/0.07358, allocations: 15.92 kB / 440.5 MB, free: 3.523 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.0736, allocations: 15.98 kB / 440.5 MB, free: 3.508 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002348/0.07383, allocations: 318.8 kB / 440.8 MB, free: 3.195 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.07383, allocations: 0 / 440.8 MB, free: 3.195 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001037/0.07487, allocations: 426.6 kB / 441.3 MB, free: 2.777 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.0009568/0.07583, allocations: 0.6794 MB / 441.9 MB, free: 2.086 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002878/0.07611, allocations: 222.4 kB / 442.1 MB, free: 1.867 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.07612, allocations: 0 / 442.1 MB, free: 1.867 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.962e-05/0.0762, allocations: 67.53 kB / 442.2 MB, free: 1.797 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004925/0.07669, allocations: 150.8 kB / 442.4 MB, free: 1.652 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.13/1.207, allocations: 0.579 GB / 1.011 GB, free: 66.7 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.607e-05/1.207, allocations: 100.6 kB / 1.011 GB, free: 66.58 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003379/1.208, allocations: 162.6 kB / 1.011 GB, free: 66.44 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.898e-05/1.208, allocations: 40.48 kB / 1.011 GB, free: 66.41 MB / 442.7 MB Notification: Performance of SimCode: time 2.585e-06/1.208, allocations: 0 / 1.011 GB, free: 66.41 MB / 442.7 MB Notification: Performance of Templates: time 0.01605/1.224, allocations: 14.61 MB / 1.026 GB, free: 52 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.498205336974934]