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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001056/0.001056, allocations: 90.75 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001326/0.001327, allocations: 197.5 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.512/1.512, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2545/0.2545, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003125/0.0003125, allocations: 11.98 kB / 419.5 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.152, allocations: 63.55 MB / 483.1 MB, free: 4.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01417/0.1662, allocations: 11.03 MB / 494.1 MB, free: 9.055 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01473/0.181, allocations: 11.83 MB / 0.4941 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004205/0.1815, allocations: 4 kB / 0.4941 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005509/0.1821, allocations: 63.69 kB / 0.4942 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01456/0.1967, allocations: 2.633 MB / 0.4967 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005391/0.1972, allocations: 147.1 kB / 0.4969 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007191/0.2044, allocations: 4.153 MB / 0.5009 GB, free: 6.172 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.731e-05/0.2045, allocations: 12.41 kB / 0.5009 GB, free: 6.164 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003263/0.2049, allocations: 139.5 kB / 0.5011 GB, free: 6.027 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3188/0.5236, allocations: 7.556 MB / 0.5084 GB, free: 22.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.5238, allocations: 6.031 kB / 0.5084 GB, free: 22.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008053/0.5319, allocations: 2.117 MB / 0.5105 GB, free: 22.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001799/0.5321, allocations: 48.08 kB / 0.5106 GB, free: 22.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003692/0.5325, allocations: 152 kB / 0.5107 GB, free: 22.17 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008896/0.5414, allocations: 1.535 MB / 0.5122 GB, free: 22.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.11e-05/0.5415, allocations: 0 / 0.5122 GB, free: 22.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.968e-06/0.5415, allocations: 0 / 0.5122 GB, free: 22.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.838e-06/0.5415, allocations: 2.906 kB / 0.5122 GB, free: 22.12 MB / 382.1 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.003964/0.5455, allocations: 0.8604 MB / 0.513 GB, free: 21.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.65e-05/0.5455, allocations: 11.36 kB / 0.5131 GB, free: 21.56 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006164/0.5462, allocations: 77.81 kB / 0.5131 GB, free: 21.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003453/0.5465, allocations: 246.1 kB / 0.5134 GB, free: 21.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.347e-05/0.5466, allocations: 20.28 kB / 0.5134 GB, free: 21.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.16e-05/0.5466, allocations: 26.02 kB / 0.5134 GB, free: 21.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.5478, allocations: 490.7 kB / 0.5139 GB, free: 21.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.5478, allocations: 0 / 0.5139 GB, free: 21.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.118e-05/0.5478, allocations: 13.59 kB / 0.5139 GB, free: 21.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.5478, allocations: 7.062 kB / 0.5139 GB, free: 21.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/0.5491, allocations: 0.6837 MB / 0.5146 GB, free: 21.22 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008344/0.5575, allocations: 4.287 MB / 0.5188 GB, free: 18.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007433/0.5582, allocations: 165.4 kB / 0.5189 GB, free: 18.44 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.5584, allocations: 58.55 kB / 0.519 GB, free: 18.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02749/0.5859, allocations: 16.38 MB / 0.535 GB, free: 6.211 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007/0.5866, allocations: 318 kB / 0.5353 GB, free: 5.969 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.655e-06/0.5866, allocations: 4 kB / 0.5353 GB, free: 5.965 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001386/0.588, allocations: 436 kB / 0.5357 GB, free: 5.852 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.5882, allocations: 486 kB / 0.5362 GB, free: 5.281 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.5884, allocations: 181 kB / 0.5363 GB, free: 5.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.5884, allocations: 31.83 kB / 0.5364 GB, free: 5.129 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.954e-05/0.5885, allocations: 185.2 kB / 0.5365 GB, free: 4.969 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.493e-05/0.5886, allocations: 102 kB / 0.5366 GB, free: 4.898 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.203e-05/0.5887, allocations: 37.92 kB / 0.5367 GB, free: 4.879 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.206e-05/0.5887, allocations: 339.2 kB / 0.537 GB, free: 4.551 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.5888, allocations: 59.47 kB / 0.537 GB, free: 4.543 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002307/0.5891, allocations: 314.3 kB / 0.5373 GB, free: 4.203 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004164/0.5895, allocations: 427.9 kB / 0.5378 GB, free: 3.871 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.164e-06/0.5895, allocations: 2.656 kB / 0.5378 GB, free: 3.871 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007313/0.5903, allocations: 403.7 kB / 0.5381 GB, free: 3.781 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.148e-05/0.5903, allocations: 11.66 kB / 0.5382 GB, free: 3.781 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.5903, allocations: 8.25 kB / 0.5382 GB, free: 3.781 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.743e-05/0.5904, allocations: 12.38 kB / 0.5382 GB, free: 3.781 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003682/0.5907, allocations: 102 kB / 0.5383 GB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.478e-05/0.5908, allocations: 18.92 kB / 0.5383 GB, free: 3.766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003302/0.5911, allocations: 55.59 kB / 0.5383 GB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.343e-05/0.5912, allocations: 34.08 kB / 0.5384 GB, free: 3.734 MB / 382.1 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.0001643/0.5914, allocations: 153 kB / 0.5385 GB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.824e-05/0.5914, allocations: 26.53 kB / 0.5385 GB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001121/0.5926, allocations: 0.7784 MB / 0.5393 GB, free: 3.297 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-05/0.5926, allocations: 6.297 kB / 0.5393 GB, free: 3.297 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.178e-06/0.5926, allocations: 1.656 kB / 0.5393 GB, free: 3.297 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.5926, allocations: 2.438 kB / 0.5393 GB, free: 3.297 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001154/0.5938, allocations: 1.212 MB / 0.5405 GB, free: 2.434 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.5938, allocations: 2.75 kB / 0.5405 GB, free: 2.434 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.5939, allocations: 36.23 kB / 0.5405 GB, free: 2.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.652e-06/0.5939, allocations: 4.984 kB / 0.5405 GB, free: 2.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.5939, allocations: 11.48 kB / 0.5406 GB, free: 2.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.972e-06/0.594, allocations: 7.109 kB / 0.5406 GB, free: 2.418 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.594, allocations: 10.72 kB / 0.5406 GB, free: 2.414 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003352/0.5943, allocations: 382.5 kB / 0.5409 GB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001488/0.5945, allocations: 214 kB / 0.5411 GB, free: 1.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.495e-05/0.5945, allocations: 10.59 kB / 0.5411 GB, free: 1.977 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002498/0.5948, allocations: 14.42 kB / 0.5412 GB, free: 1.973 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.212e-05/0.5948, allocations: 21.92 kB / 0.5412 GB, free: 1.965 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.891e-05/0.5949, allocations: 11.47 kB / 0.5412 GB, free: 1.965 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00028/0.5951, allocations: 298.3 kB / 0.5415 GB, free: 1.832 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5951, allocations: 2.297 kB / 0.5415 GB, free: 1.832 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002258/0.5974, allocations: 417.4 kB / 0.5419 GB, free: 1.742 MB / 382.1 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.001626/0.5991, allocations: 0.627 MB / 0.5425 GB, free: 1.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004369/0.5995, allocations: 235.4 kB / 0.5427 GB, free: 1.453 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.5995, allocations: 4.062 kB / 0.5427 GB, free: 1.449 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.5996, allocations: 83.25 kB / 0.5428 GB, free: 1.441 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009096/0.6005, allocations: 112.3 kB / 0.5429 GB, free: 1.406 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.606/2.206, allocations: 0.577 GB / 1.12 GB, free: 191.2 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004733/2.207, allocations: 0.8071 MB / 1.121 GB, free: 190.5 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006285/2.207, allocations: 173.9 kB / 1.121 GB, free: 190.4 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.017e-05/2.208, allocations: 33.44 kB / 1.121 GB, free: 190.4 MB / 0.5294 GB Notification: Performance of SimCode: time 2.295e-06/2.208, allocations: 0 / 1.121 GB, free: 190.4 MB / 0.5294 GB Notification: Performance of Templates: time 0.02159/2.229, allocations: 14.04 MB / 1.135 GB, free: 182.2 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches