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.0007824/0.0007824, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001071/0.001853, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0006963/0.0006963, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008939/0.00159, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.084/1.084, allocations: 177.5 MB / 190 MB, free: 4.738 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09847/1.182, allocations: 53.87 MB / 243.9 MB, free: 14.8 MB / 250.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.2575/0.2575, allocations: 34.88 MB / 279.5 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03306/0.2906, allocations: 13.24 MB / 292.8 MB, free: 6.328 MB / 282.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 1.974e-06/1.974e-06, allocations: 0 / 294.1 MB, free: 4.984 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.587e-05/2.784e-05, allocations: 3.953 kB / 294.1 MB, free: 4.98 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01151/0.01154, allocations: 11.36 MB / 305.5 MB, free: 9.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01532/0.02686, allocations: 11.77 MB / 317.3 MB, free: 13.75 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.027, allocations: 4 kB / 317.3 MB, free: 13.75 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003088/0.02731, allocations: 75.5 kB / 317.4 MB, free: 13.68 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006745/0.03405, allocations: 3.076 MB / 320.4 MB, free: 10.58 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003363/0.03439, allocations: 159.7 kB / 320.6 MB, free: 10.43 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003082/0.03747, allocations: 3.964 MB / 324.5 MB, free: 6.457 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.106e-05/0.03754, allocations: 22.48 kB / 324.6 MB, free: 6.434 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002094/0.03775, allocations: 203.5 kB / 324.8 MB, free: 6.234 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005504/0.04326, allocations: 7.162 MB / 331.9 MB, free: 15.07 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.019e-05/0.0433, allocations: 12 kB / 331.9 MB, free: 15.05 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003932/0.04723, allocations: 2.157 MB / 334.1 MB, free: 12.89 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.313e-05/0.0473, allocations: 35.8 kB / 334.1 MB, free: 12.86 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.982e-05/0.04738, allocations: 75.88 kB / 334.2 MB, free: 12.79 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001879/0.04926, allocations: 1.5 MB / 335.7 MB, free: 11.28 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.383e-05/0.04927, allocations: 0 / 335.7 MB, free: 11.28 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.04928, allocations: 0 / 335.7 MB, free: 11.28 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.04929, allocations: 0 / 335.7 MB, free: 11.28 MB / 330.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.001351/0.05064, allocations: 1.127 MB / 336.8 MB, free: 10.11 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.05068, allocations: 12.92 kB / 336.8 MB, free: 10.1 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003758/0.05106, allocations: 156.4 kB / 337 MB, free: 9.945 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/0.05126, allocations: 181.4 kB / 337.2 MB, free: 9.742 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.05127, allocations: 25.03 kB / 337.2 MB, free: 9.719 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.369e-05/0.0513, allocations: 32.38 kB / 337.2 MB, free: 9.688 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004697/0.05177, allocations: 429.3 kB / 337.7 MB, free: 9.223 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.05178, allocations: 192 / 337.7 MB, free: 9.223 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.231e-05/0.05181, allocations: 20.06 kB / 337.7 MB, free: 9.203 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.05181, allocations: 8 kB / 337.7 MB, free: 9.195 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004224/0.05224, allocations: 379.8 kB / 338.1 MB, free: 8.824 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003294/0.05553, allocations: 2.859 MB / 340.9 MB, free: 5.91 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000262/0.05579, allocations: 151 kB / 341.1 MB, free: 5.754 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.364e-05/0.05582, allocations: 33.55 kB / 341.1 MB, free: 5.719 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009666/0.06549, allocations: 7.247 MB / 348.3 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003835/0.06587, allocations: 305.9 kB / 348.6 MB, free: 14.09 MB / 346.7 MB Notification: Performance of pre-optimization done (n=28): time 1.413e-06/0.06588, allocations: 4 kB / 348.6 MB, free: 14.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.0006377/0.06651, allocations: 387.7 kB / 349 MB, free: 13.7 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002305/0.06674, allocations: 478.6 kB / 349.5 MB, free: 13.12 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.907e-05/0.06684, allocations: 195.1 kB / 349.7 MB, free: 12.92 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.06686, allocations: 37.7 kB / 349.7 MB, free: 12.88 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.195e-05/0.06693, allocations: 196.1 kB / 349.9 MB, free: 12.68 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.332e-05/0.06699, allocations: 103.1 kB / 350 MB, free: 12.58 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.718e-05/0.06705, allocations: 86.11 kB / 350.1 MB, free: 12.49 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.529e-05/0.06713, allocations: 334.8 kB / 350.4 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.764e-05/0.06717, allocations: 36.97 kB / 350.5 MB, free: 12.12 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.0673, allocations: 283.4 kB / 350.7 MB, free: 11.72 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002504/0.06755, allocations: 412.3 kB / 351.1 MB, free: 11.2 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.06756, allocations: 4 kB / 351.1 MB, free: 11.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0002648/0.06782, allocations: 310.4 kB / 351.4 MB, free: 10.89 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.06784, allocations: 8 kB / 351.4 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.06785, allocations: 12 kB / 351.5 MB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.06787, allocations: 8 kB / 351.5 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001895/0.06806, allocations: 123.8 kB / 351.6 MB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/0.06807, allocations: 15.94 kB / 351.6 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.0682, allocations: 51.62 kB / 351.7 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.912e-05/0.06822, allocations: 23.98 kB / 351.7 MB, free: 10.65 MB / 346.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 8.999e-05/0.06831, allocations: 148.5 kB / 351.8 MB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.89e-05/0.06835, allocations: 44.14 kB / 351.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005193/0.06887, allocations: 0.5998 MB / 352.5 MB, free: 9.812 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.06888, allocations: 7.984 kB / 352.5 MB, free: 9.805 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.06888, allocations: 0 / 352.5 MB, free: 9.805 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.06889, allocations: 4 kB / 352.5 MB, free: 9.801 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004309/0.06932, allocations: 0.6213 MB / 353.1 MB, free: 9.145 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.06932, allocations: 4 kB / 353.1 MB, free: 9.141 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.09e-05/0.06938, allocations: 39.91 kB / 353.1 MB, free: 9.102 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.143e-05/0.0694, allocations: 23.83 kB / 353.2 MB, free: 9.078 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.06941, allocations: 4 kB / 353.2 MB, free: 9.074 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.06942, allocations: 12.22 kB / 353.2 MB, free: 9.062 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.06942, allocations: 4 kB / 353.2 MB, free: 9.059 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.06942, allocations: 3.984 kB / 353.2 MB, free: 9.055 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001855/0.06961, allocations: 370.3 kB / 353.6 MB, free: 8.641 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.856e-05/0.06965, allocations: 43.56 kB / 353.6 MB, free: 8.598 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.06975, allocations: 12 kB / 353.6 MB, free: 8.586 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.153e-05/0.06977, allocations: 27.84 kB / 353.6 MB, free: 8.559 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.796e-06/0.06978, allocations: 4 kB / 353.6 MB, free: 8.555 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001087/0.06989, allocations: 172.4 kB / 353.8 MB, free: 8.383 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06989, allocations: 7.938 kB / 353.8 MB, free: 8.375 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006358/0.07053, allocations: 426.6 kB / 354.2 MB, free: 7.957 MB / 346.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.0008081/0.07133, allocations: 0.6966 MB / 354.9 MB, free: 7.25 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001852/0.07152, allocations: 196.7 kB / 355.1 MB, free: 7.059 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/0.07153, allocations: 12.19 kB / 355.1 MB, free: 7.047 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.858e-05/0.0716, allocations: 72.7 kB / 355.2 MB, free: 6.973 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000576/0.07217, allocations: 0.6913 MB / 355.9 MB, free: 6.195 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9394/1.012, allocations: 0.5559 GB / 0.9034 GB, free: 31.15 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.632e-05/1.012, allocations: 105.2 kB / 0.9035 GB, free: 31.03 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003183/1.012, allocations: 157.2 kB / 0.9037 GB, free: 30.91 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/1.012, allocations: 123.3 kB / 0.9038 GB, free: 30.79 MB / 458.7 MB Notification: Performance of SimCode: time 2.364e-06/1.012, allocations: 0 / 0.9038 GB, free: 30.79 MB / 458.7 MB Notification: Performance of Templates: time 0.01418/1.026, allocations: 15.98 MB / 0.9194 GB, free: 15.07 MB / 458.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.4078436912968755]