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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001291/0.001291, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 226.8 MB / 245.5 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009896/0.0009895, allocations: 107 kB / 296.7 MB, free: 6.453 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3294/0.3294, allocations: 44.84 MB / 392.7 MB, free: 34.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 63.84 kB / 465.5 MB, free: 12.06 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3445, allocations: 62.01 MB / 0.5152 GB, free: 37.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01125/0.3558, allocations: 11.49 MB / 0.5264 GB, free: 29.55 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01013/0.366, allocations: 12.05 MB / 0.5381 GB, free: 20.85 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001797/0.3662, allocations: 2.781 kB / 0.5381 GB, free: 20.85 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003661/0.3666, allocations: 59.16 kB / 0.5382 GB, free: 20.82 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009303/0.3759, allocations: 2.637 MB / 0.5408 GB, free: 19.45 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004448/0.3764, allocations: 147.8 kB / 0.5409 GB, free: 19.38 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007675/0.3841, allocations: 4.145 MB / 0.545 GB, free: 18.27 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.163e-05/0.3842, allocations: 18.97 kB / 0.545 GB, free: 18.26 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004039/0.3846, allocations: 141 kB / 0.5451 GB, free: 18.21 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0146/0.3992, allocations: 7.569 MB / 0.5525 GB, free: 16.25 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001004/0.3994, allocations: 6.094 kB / 0.5525 GB, free: 16.25 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006391/0.4058, allocations: 2.118 MB / 0.5546 GB, free: 15.23 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.4059, allocations: 38.77 kB / 0.5546 GB, free: 15.21 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000312/0.4063, allocations: 134.9 kB / 0.5547 GB, free: 15.14 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007358/0.4136, allocations: 1.538 MB / 0.5562 GB, free: 14.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.862e-06/0.4137, allocations: 5.438 kB / 0.5563 GB, free: 14.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4137, allocations: 0 / 0.5563 GB, free: 14.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.806e-06/0.4137, allocations: 0 / 0.5563 GB, free: 14.25 MB / 378.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.003151/0.4168, allocations: 0.9296 MB / 0.5572 GB, free: 13.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.4169, allocations: 8.344 kB / 0.5572 GB, free: 13.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007042/0.4176, allocations: 77.72 kB / 0.5572 GB, free: 13.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003453/0.418, allocations: 243.9 kB / 0.5575 GB, free: 13.22 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.58e-05/0.418, allocations: 19.88 kB / 0.5575 GB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.532e-05/0.4181, allocations: 24.75 kB / 0.5575 GB, free: 13.2 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.4191, allocations: 486.7 kB / 0.558 GB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.4192, allocations: 5.469 kB / 0.558 GB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.56e-05/0.4192, allocations: 10.91 kB / 0.558 GB, free: 12.87 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.4192, allocations: 8.094 kB / 0.558 GB, free: 12.87 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.4205, allocations: 0.6876 MB / 0.5587 GB, free: 12.57 MB / 378.7 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.007207/0.4278, allocations: 4.298 MB / 0.5629 GB, free: 8.125 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005275/0.4283, allocations: 171.1 kB / 0.563 GB, free: 7.949 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.482e-05/0.4284, allocations: 61.47 kB / 0.5631 GB, free: 7.887 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02639/0.4548, allocations: 16.4 MB / 0.5791 GB, free: 5.309 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007512/0.4556, allocations: 321.9 kB / 0.5794 GB, free: 4.93 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 3.706e-06/0.4556, allocations: 0 / 0.5794 GB, free: 4.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=28): time 0.001483/0.4571, allocations: 434.7 kB / 0.5798 GB, free: 4.5 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002195/0.4574, allocations: 482.6 kB / 0.5803 GB, free: 3.918 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002189/0.4576, allocations: 190.7 kB / 0.5805 GB, free: 3.723 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.343e-05/0.4576, allocations: 29.7 kB / 0.5805 GB, free: 3.688 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.4578, allocations: 179.5 kB / 0.5807 GB, free: 3.508 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.52e-05/0.4579, allocations: 110.6 kB / 0.5808 GB, free: 3.398 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.458, allocations: 90.03 kB / 0.5809 GB, free: 3.305 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.4581, allocations: 334.8 kB / 0.5812 GB, free: 2.969 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.4583, allocations: 64.83 kB / 0.5812 GB, free: 2.906 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002965/0.4586, allocations: 310.8 kB / 0.5815 GB, free: 2.48 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000487/0.4591, allocations: 425.8 kB / 0.582 GB, free: 1.945 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.503e-06/0.4591, allocations: 4 kB / 0.582 GB, free: 1.941 MB / 394.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006808/0.4598, allocations: 405.1 kB / 0.5823 GB, free: 1.539 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.4598, allocations: 8 kB / 0.5823 GB, free: 1.531 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.4598, allocations: 8.875 kB / 0.5824 GB, free: 1.523 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.461e-05/0.4599, allocations: 12 kB / 0.5824 GB, free: 1.512 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003018/0.4602, allocations: 115.8 kB / 0.5825 GB, free: 1.398 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.175e-05/0.4602, allocations: 23.86 kB / 0.5825 GB, free: 1.375 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003222/0.4605, allocations: 43.53 kB / 0.5825 GB, free: 1.332 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-05/0.4606, allocations: 32 kB / 0.5826 GB, free: 1.301 MB / 394.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.0001691/0.4608, allocations: 158.5 kB / 0.5827 GB, free: 1.137 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.4609, allocations: 23.81 kB / 0.5827 GB, free: 1.113 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/0.462, allocations: 0.7822 MB / 0.5835 GB, free: 304 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/0.462, allocations: 4.219 kB / 0.5835 GB, free: 300 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.462, allocations: 4 kB / 0.5835 GB, free: 296 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.462, allocations: 11.92 kB / 0.5835 GB, free: 284 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00123/0.4632, allocations: 1.207 MB / 0.5847 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.4633, allocations: 4 kB / 0.5847 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.4634, allocations: 35.91 kB / 0.5847 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.4634, allocations: 12.03 kB / 0.5848 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.4634, allocations: 8 kB / 0.5848 GB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.4634, allocations: 4 kB / 0.5848 GB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.4634, allocations: 4 kB / 0.5848 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009861/0.4644, allocations: 1.066 MB / 0.5858 GB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.4645, allocations: 100.8 kB / 0.5859 GB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.202e-05/0.4646, allocations: 59.31 kB / 0.586 GB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002644/0.4649, allocations: 11.97 kB / 0.586 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.115e-05/0.4649, allocations: 23.86 kB / 0.586 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.465, allocations: 12 kB / 0.586 GB, free: 13.49 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003073/0.4653, allocations: 290.9 kB / 0.5863 GB, free: 13.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4653, allocations: 0 / 0.5863 GB, free: 13.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001594/0.4669, allocations: 439.5 kB / 0.5867 GB, free: 12.77 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.001828/0.4687, allocations: 0.6275 MB / 0.5873 GB, free: 12.13 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004148/0.4692, allocations: 236.4 kB / 0.5875 GB, free: 11.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.4692, allocations: 0 / 0.5875 GB, free: 11.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.4693, allocations: 89.34 kB / 0.5876 GB, free: 11.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007987/0.4701, allocations: 108.8 kB / 0.5877 GB, free: 11.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.459/1.929, allocations: 0.5793 GB / 1.167 GB, free: 85.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/1.929, allocations: 0.8184 MB / 1.168 GB, free: 85.06 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005379/1.93, allocations: 165.4 kB / 1.168 GB, free: 84.92 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.858e-05/1.93, allocations: 31.44 kB / 1.168 GB, free: 84.89 MB / 0.5105 GB Notification: Performance of SimCode: time 1.342e-06/1.93, allocations: 3.938 kB / 1.168 GB, free: 84.89 MB / 0.5105 GB Notification: Performance of Templates: time 0.01996/1.95, allocations: 14.2 MB / 1.182 GB, free: 70.78 MB / 0.5105 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches