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.001323/0.001323, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001134/0.001134, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.288/1.288, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1949/0.1949, allocations: 46.11 MB / 344.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 80.14 kB / 419 MB, free: 18.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1075, allocations: 62.44 MB / 481.5 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01159/0.1191, allocations: 11.29 MB / 492.7 MB, free: 9.168 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01123/0.1304, allocations: 11.78 MB / 0.4927 GB, free: 13.35 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001855/0.1306, allocations: 4 kB / 0.4927 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003234/0.131, allocations: 79.47 kB / 0.4928 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00753/0.1385, allocations: 3.109 MB / 0.4958 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003882/0.1389, allocations: 163.2 kB / 0.496 GB, free: 9.988 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004954/0.1439, allocations: 3.889 MB / 0.4998 GB, free: 6.094 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.428e-05/0.1439, allocations: 20.41 kB / 0.4998 GB, free: 6.078 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001848/0.1441, allocations: 143.5 kB / 0.4999 GB, free: 5.938 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1958/0.34, allocations: 7.119 MB / 0.5069 GB, free: 23.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.873e-05/0.34, allocations: 12.47 kB / 0.5069 GB, free: 23.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005016/0.3451, allocations: 2.137 MB / 0.509 GB, free: 23.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.496e-05/0.3452, allocations: 43.52 kB / 0.509 GB, free: 23.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000175/0.3454, allocations: 125.3 kB / 0.5091 GB, free: 23.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002727/0.3481, allocations: 1.542 MB / 0.5106 GB, free: 22.97 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.3481, allocations: 0 / 0.5106 GB, free: 22.97 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3481, allocations: 0 / 0.5106 GB, free: 22.97 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.3481, allocations: 3.766 kB / 0.5106 GB, free: 22.97 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.001871/0.35, allocations: 0.9256 MB / 0.5115 GB, free: 22.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.35, allocations: 8.875 kB / 0.5115 GB, free: 22.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000595/0.3506, allocations: 82.81 kB / 0.5116 GB, free: 22.4 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.3509, allocations: 245.6 kB / 0.5119 GB, free: 22.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.351, allocations: 19.97 kB / 0.5119 GB, free: 22.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.31e-05/0.351, allocations: 32.11 kB / 0.5119 GB, free: 22.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008971/0.3519, allocations: 483.1 kB / 0.5124 GB, free: 22.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.3519, allocations: 6.844 kB / 0.5124 GB, free: 22.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.003e-05/0.352, allocations: 10.53 kB / 0.5124 GB, free: 22.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.352, allocations: 7 kB / 0.5124 GB, free: 22.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.3531, allocations: 0.6854 MB / 0.5131 GB, free: 22.07 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.006692/0.3598, allocations: 4.287 MB / 0.5173 GB, free: 19.31 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005572/0.3604, allocations: 165.8 kB / 0.5174 GB, free: 19.29 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.3605, allocations: 61.36 kB / 0.5175 GB, free: 19.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02398/0.3845, allocations: 16.41 MB / 0.5335 GB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006168/0.3851, allocations: 322.3 kB / 0.5338 GB, free: 7.199 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.154e-06/0.3851, allocations: 0 / 0.5338 GB, free: 7.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001346/0.3865, allocations: 434.8 kB / 0.5342 GB, free: 7.082 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.722e-05/0.3866, allocations: 484.3 kB / 0.5347 GB, free: 6.516 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.3867, allocations: 191 kB / 0.5349 GB, free: 6.387 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.3868, allocations: 35.02 kB / 0.5349 GB, free: 6.352 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.985e-05/0.3868, allocations: 186.1 kB / 0.5351 GB, free: 6.191 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.923e-05/0.3869, allocations: 106.3 kB / 0.5352 GB, free: 6.117 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.367e-05/0.387, allocations: 93.28 kB / 0.5353 GB, free: 6.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.413e-05/0.387, allocations: 333.4 kB / 0.5356 GB, free: 5.766 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.3871, allocations: 63.23 kB / 0.5356 GB, free: 5.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001887/0.3873, allocations: 310 kB / 0.5359 GB, free: 5.418 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003456/0.3877, allocations: 424 kB / 0.5363 GB, free: 5.082 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.3877, allocations: 2.75 kB / 0.5363 GB, free: 5.082 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005856/0.3883, allocations: 399.1 kB / 0.5367 GB, free: 5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.3883, allocations: 12.47 kB / 0.5367 GB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.3883, allocations: 12.19 kB / 0.5367 GB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.3884, allocations: 12.38 kB / 0.5368 GB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002941/0.3887, allocations: 105.7 kB / 0.5369 GB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/0.3887, allocations: 19.92 kB / 0.5369 GB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002464/0.3889, allocations: 46.41 kB / 0.5369 GB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.484e-05/0.389, allocations: 32.62 kB / 0.537 GB, free: 4.953 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.0001055/0.3891, allocations: 158.2 kB / 0.5371 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.173e-05/0.3892, allocations: 22.94 kB / 0.5371 GB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007895/0.39, allocations: 0.7741 MB / 0.5379 GB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.39, allocations: 6.5 kB / 0.5379 GB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.39, allocations: 2.625 kB / 0.5379 GB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.39, allocations: 5.328 kB / 0.5379 GB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008418/0.3909, allocations: 1.223 MB / 0.5391 GB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3909, allocations: 3.562 kB / 0.5391 GB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.826e-05/0.391, allocations: 33.09 kB / 0.5391 GB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.391, allocations: 2.719 kB / 0.5391 GB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.391, allocations: 12.78 kB / 0.5391 GB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.391, allocations: 4.438 kB / 0.5391 GB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.391, allocations: 5.781 kB / 0.5392 GB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003001/0.3913, allocations: 373.8 kB / 0.5395 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.12e-05/0.3914, allocations: 99.81 kB / 0.5396 GB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.928e-05/0.3914, allocations: 51.73 kB / 0.5397 GB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002266/0.3917, allocations: 11.22 kB / 0.5397 GB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.347e-05/0.3917, allocations: 16.11 kB / 0.5397 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.3917, allocations: 21.27 kB / 0.5397 GB, free: 3.227 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002308/0.392, allocations: 288.9 kB / 0.54 GB, free: 3.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.392, allocations: 0 / 0.54 GB, free: 3.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001264/0.3932, allocations: 427.1 kB / 0.5404 GB, free: 2.961 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.001063/0.3943, allocations: 0.6287 MB / 0.541 GB, free: 2.691 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003323/0.3946, allocations: 237.4 kB / 0.5412 GB, free: 2.617 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3947, allocations: 0 / 0.5412 GB, free: 2.617 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.75e-05/0.3947, allocations: 86.11 kB / 0.5413 GB, free: 2.586 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006731/0.3954, allocations: 115.8 kB / 0.5414 GB, free: 2.523 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.178/1.574, allocations: 0.579 GB / 1.12 GB, free: 190.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002157/1.574, allocations: 0.8123 MB / 1.121 GB, free: 189.9 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004129/1.575, allocations: 166 kB / 1.121 GB, free: 189.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.678e-05/1.575, allocations: 33.06 kB / 1.121 GB, free: 189.8 MB / 0.5294 GB Notification: Performance of SimCode: time 1.513e-06/1.575, allocations: 0 / 1.121 GB, free: 189.8 MB / 0.5294 GB Notification: Performance of Templates: time 0.01824/1.593, allocations: 14.27 MB / 1.135 GB, free: 181 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","/var/lib/jenkins1/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