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.001081/0.001081, allocations: 114.7 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.001354/0.001354, allocations: 200.6 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.358/1.358, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2154/0.2154, allocations: 46.11 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 72.08 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1213, allocations: 62.45 MB / 481.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01249/0.1339, allocations: 11.28 MB / 492.7 MB, free: 9.203 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01207/0.146, allocations: 11.79 MB / 0.4927 GB, free: 13.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002056/0.1462, allocations: 3.938 kB / 0.4927 GB, free: 13.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004234/0.1467, allocations: 67.56 kB / 0.4928 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01021/0.1569, allocations: 3.117 MB / 0.4958 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000411/0.1573, allocations: 154.8 kB / 0.496 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005388/0.1627, allocations: 3.901 MB / 0.4998 GB, free: 6.121 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.846e-05/0.1628, allocations: 16.39 kB / 0.4998 GB, free: 6.109 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001793/0.163, allocations: 135.6 kB / 0.4999 GB, free: 5.977 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.271/0.434, allocations: 7.124 MB / 0.5069 GB, free: 22.9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.911e-05/0.4342, allocations: 8.219 kB / 0.5069 GB, free: 22.9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006541/0.4407, allocations: 2.136 MB / 0.509 GB, free: 22.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.4409, allocations: 47.86 kB / 0.509 GB, free: 22.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002245/0.4411, allocations: 124.2 kB / 0.5091 GB, free: 22.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004556/0.4457, allocations: 1.544 MB / 0.5106 GB, free: 22.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.4457, allocations: 1.594 kB / 0.5106 GB, free: 22.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4457, allocations: 0 / 0.5106 GB, free: 22.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.4457, allocations: 0 / 0.5106 GB, free: 22.84 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.002173/0.4479, allocations: 0.9253 MB / 0.5115 GB, free: 22.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.4479, allocations: 12.12 kB / 0.5115 GB, free: 22.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006307/0.4486, allocations: 76.61 kB / 0.5116 GB, free: 22.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004152/0.449, allocations: 246.3 kB / 0.5119 GB, free: 22.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.449, allocations: 18.78 kB / 0.5119 GB, free: 22.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.516e-05/0.4491, allocations: 30.69 kB / 0.5119 GB, free: 22.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.4501, allocations: 485.4 kB / 0.5124 GB, free: 21.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.4501, allocations: 4.25 kB / 0.5124 GB, free: 21.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.328e-05/0.4502, allocations: 14.09 kB / 0.5124 GB, free: 21.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.4502, allocations: 11.28 kB / 0.5124 GB, free: 21.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001237/0.4514, allocations: 0.681 MB / 0.5131 GB, free: 21.95 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.008116/0.4596, allocations: 4.298 MB / 0.5173 GB, free: 19.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006307/0.4602, allocations: 163.6 kB / 0.5174 GB, free: 19.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.4603, allocations: 57.77 kB / 0.5175 GB, free: 19.15 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02623/0.4866, allocations: 16.41 MB / 0.5335 GB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006759/0.4873, allocations: 331.3 kB / 0.5338 GB, free: 7.094 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.154e-06/0.4873, allocations: 0 / 0.5338 GB, free: 7.094 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.00132/0.4886, allocations: 437.1 kB / 0.5342 GB, free: 6.977 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.4888, allocations: 482.5 kB / 0.5347 GB, free: 6.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.4889, allocations: 187.5 kB / 0.5349 GB, free: 6.281 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.489, allocations: 32.02 kB / 0.5349 GB, free: 6.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.69e-05/0.4891, allocations: 189.2 kB / 0.5351 GB, free: 6.086 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.988e-05/0.4891, allocations: 109.6 kB / 0.5352 GB, free: 6.012 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.4892, allocations: 91.27 kB / 0.5353 GB, free: 5.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.123e-05/0.4893, allocations: 330.6 kB / 0.5356 GB, free: 5.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.4894, allocations: 63.8 kB / 0.5356 GB, free: 5.645 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002388/0.4897, allocations: 310.5 kB / 0.5359 GB, free: 5.312 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004315/0.4901, allocations: 425.9 kB / 0.5363 GB, free: 4.977 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/0.4901, allocations: 2.156 kB / 0.5363 GB, free: 4.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006459/0.4908, allocations: 400 kB / 0.5367 GB, free: 4.895 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/0.4908, allocations: 11.53 kB / 0.5367 GB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.4908, allocations: 9.781 kB / 0.5367 GB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.032e-05/0.4909, allocations: 11.06 kB / 0.5368 GB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002916/0.4912, allocations: 106.6 kB / 0.5369 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-05/0.4912, allocations: 20.44 kB / 0.5369 GB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000244/0.4914, allocations: 46.75 kB / 0.5369 GB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.854e-05/0.4915, allocations: 34.44 kB / 0.537 GB, free: 4.848 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.0001121/0.4916, allocations: 156.2 kB / 0.5371 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.309e-05/0.4917, allocations: 28.67 kB / 0.5371 GB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008603/0.4926, allocations: 0.7694 MB / 0.5379 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.4926, allocations: 3.625 kB / 0.5379 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.4926, allocations: 3.125 kB / 0.5379 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.4926, allocations: 11.12 kB / 0.5379 GB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009017/0.4935, allocations: 1.218 MB / 0.5391 GB, free: 3.539 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.4935, allocations: 3.219 kB / 0.5391 GB, free: 3.539 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.4936, allocations: 33.02 kB / 0.5391 GB, free: 3.535 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.4937, allocations: 3.562 kB / 0.5391 GB, free: 3.535 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.4937, allocations: 11.06 kB / 0.5391 GB, free: 3.531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.4937, allocations: 9.109 kB / 0.5391 GB, free: 3.531 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.4937, allocations: 7.531 kB / 0.5392 GB, free: 3.527 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003193/0.494, allocations: 375.8 kB / 0.5395 GB, free: 3.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.454e-05/0.4941, allocations: 105.8 kB / 0.5396 GB, free: 3.156 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.143e-05/0.4941, allocations: 50.06 kB / 0.5397 GB, free: 3.125 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/0.4944, allocations: 11.88 kB / 0.5397 GB, free: 3.121 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.131e-05/0.4944, allocations: 17.67 kB / 0.5397 GB, free: 3.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.4944, allocations: 7.719 kB / 0.5397 GB, free: 3.117 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000245/0.4947, allocations: 292.3 kB / 0.54 GB, free: 2.992 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4947, allocations: 4 kB / 0.54 GB, free: 2.988 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001505/0.4962, allocations: 423.5 kB / 0.5404 GB, free: 2.891 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.001136/0.4973, allocations: 0.6313 MB / 0.541 GB, free: 2.617 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003282/0.4977, allocations: 238 kB / 0.5412 GB, free: 2.543 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4977, allocations: 1.938 kB / 0.5412 GB, free: 2.543 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.316e-05/0.4978, allocations: 87.12 kB / 0.5413 GB, free: 2.512 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006591/0.4984, allocations: 113.5 kB / 0.5414 GB, free: 2.453 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.43/1.928, allocations: 0.579 GB / 1.12 GB, free: 190.9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/1.929, allocations: 0.8127 MB / 1.121 GB, free: 190.1 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004442/1.929, allocations: 155.8 kB / 1.121 GB, free: 190.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.678e-05/1.929, allocations: 41.17 kB / 1.121 GB, free: 190.1 MB / 0.5294 GB Notification: Performance of SimCode: time 1.303e-06/1.929, allocations: 0 / 1.121 GB, free: 190.1 MB / 0.5294 GB Notification: Performance of Templates: time 0.01974/1.949, allocations: 14.26 MB / 1.135 GB, free: 181.1 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 cvode -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