Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_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.WaterIF97_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.WaterIF97_ph") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_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.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00102/0.00102, allocations: 96.06 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001034/0.001034, allocations: 204.2 kB / 17.9 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 227.2 MB / 245.9 MB, free: 12.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2327/0.2327, allocations: 45.91 MB / 344 MB, free: 12.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002636/0.0002637, allocations: 4 kB / 417.9 MB, free: 20.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1289, allocations: 63.45 MB / 481.4 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01384/0.1428, allocations: 11.86 MB / 493.2 MB, free: 9.582 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02698/0.1698, allocations: 22.41 MB / 0.5036 GB, free: 3.125 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002816/0.1701, allocations: 0 / 0.5036 GB, free: 3.125 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004027/0.1705, allocations: 83.56 kB / 0.5036 GB, free: 3.043 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2759/0.4465, allocations: 6.725 MB / 0.5102 GB, free: 12.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.4476, allocations: 306.5 kB / 0.5105 GB, free: 12.4 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006514/0.4541, allocations: 3.042 MB / 0.5135 GB, free: 12.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.4543, allocations: 20.33 kB / 0.5135 GB, free: 12.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008027/0.4551, allocations: 283.7 kB / 0.5138 GB, free: 12.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0101/0.4652, allocations: 5.573 MB / 0.5192 GB, free: 12.28 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.189e-05/0.4653, allocations: 7.531 kB / 0.5192 GB, free: 12.28 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02172/0.487, allocations: 10.71 MB / 0.5297 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001487/0.4873, allocations: 53.2 kB / 0.5297 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002614/0.4875, allocations: 71.58 kB / 0.5298 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01072/0.4982, allocations: 4.217 MB / 0.5339 GB, free: 8.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.4983, allocations: 3 kB / 0.5339 GB, free: 8.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4983, allocations: 0 / 0.5339 GB, free: 8.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.4983, allocations: 0 / 0.5339 GB, free: 8.66 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.005482/0.5038, allocations: 1.499 MB / 0.5354 GB, free: 7.184 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.5038, allocations: 8.031 kB / 0.5354 GB, free: 7.176 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001599/0.5055, allocations: 233.7 kB / 0.5356 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002882/0.5058, allocations: 272.8 kB / 0.5359 GB, free: 6.703 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.871e-05/0.5058, allocations: 25.66 kB / 0.5359 GB, free: 6.691 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.937e-05/0.5058, allocations: 26.69 kB / 0.5359 GB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002044/0.5079, allocations: 0.8282 MB / 0.5367 GB, free: 5.988 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.5079, allocations: 0 / 0.5367 GB, free: 5.988 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.468e-05/0.508, allocations: 21.12 kB / 0.5368 GB, free: 5.977 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.508, allocations: 8 kB / 0.5368 GB, free: 5.969 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002079/0.5101, allocations: 0.9487 MB / 0.5377 GB, free: 5.227 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.002647/0.5127, allocations: 2.575 MB / 0.5402 GB, free: 2.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001196/0.5139, allocations: 377.4 kB / 0.5406 GB, free: 2.371 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.904/1.418, allocations: 240.9 MB / 0.7758 GB, free: 150.1 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001545/1.42, allocations: 478.2 kB / 0.7763 GB, free: 149.6 MB / 0.545 GB Notification: Performance of pre-optimization done (n=32): time 2.635e-06/1.42, allocations: 4 kB / 0.7763 GB, free: 149.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.002704/1.422, allocations: 0.7769 MB / 0.777 GB, free: 148.8 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.749e-05/1.422, allocations: 368.2 kB / 0.7774 GB, free: 148.4 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/1.423, allocations: 188.1 kB / 0.7776 GB, free: 148.2 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.318e-05/1.423, allocations: 33.7 kB / 0.7776 GB, free: 148.1 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.695e-05/1.423, allocations: 188.4 kB / 0.7778 GB, free: 148 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.176e-05/1.423, allocations: 111.2 kB / 0.7779 GB, free: 147.9 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-05/1.423, allocations: 8 kB / 0.7779 GB, free: 147.9 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.193e-05/1.423, allocations: 333.2 kB / 0.7782 GB, free: 147.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/1.423, allocations: 81.06 kB / 0.7783 GB, free: 147.4 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002536/1.423, allocations: 336.7 kB / 0.7786 GB, free: 147 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002254/1.424, allocations: 132.7 kB / 0.7787 GB, free: 146.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/1.424, allocations: 4 kB / 0.7787 GB, free: 146.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007028/1.424, allocations: 475.7 kB / 0.7792 GB, free: 146.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/1.424, allocations: 12 kB / 0.7792 GB, free: 146.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/1.424, allocations: 8.812 kB / 0.7792 GB, free: 146.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/1.424, allocations: 15.95 kB / 0.7792 GB, free: 146.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003979/1.425, allocations: 151.7 kB / 0.7794 GB, free: 146.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.637e-05/1.425, allocations: 15.94 kB / 0.7794 GB, free: 146.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003284/1.425, allocations: 54.59 kB / 0.7794 GB, free: 146.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.376e-05/1.425, allocations: 43.98 kB / 0.7795 GB, free: 146.1 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,medium.phase,state.phase,state_h_is.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001585/1.425, allocations: 160.3 kB / 0.7796 GB, free: 145.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.897e-05/1.425, allocations: 27.8 kB / 0.7797 GB, free: 145.9 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002189/1.428, allocations: 2.656 MB / 0.7823 GB, free: 143.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.937e-05/1.428, allocations: 23.97 kB / 0.7823 GB, free: 143.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/1.428, allocations: 9.766 kB / 0.7823 GB, free: 143.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/1.428, allocations: 4 kB / 0.7823 GB, free: 143.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008109/1.429, allocations: 0.9255 MB / 0.7832 GB, free: 142.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/1.429, allocations: 4 kB / 0.7832 GB, free: 142.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002991/1.429, allocations: 75.86 kB / 0.7833 GB, free: 142.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.275e-06/1.429, allocations: 8 kB / 0.7833 GB, free: 142.2 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/1.429, allocations: 8 kB / 0.7833 GB, free: 142.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/1.429, allocations: 7.938 kB / 0.7833 GB, free: 142.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.429, allocations: 4 kB / 0.7833 GB, free: 142.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008224/1.43, allocations: 0.8394 MB / 0.7841 GB, free: 141.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003331/1.43, allocations: 375.6 kB / 0.7845 GB, free: 140.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001285/1.43, allocations: 8 kB / 0.7845 GB, free: 140.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000334/1.431, allocations: 32.8 kB / 0.7845 GB, free: 140.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.058e-05/1.431, allocations: 35.84 kB / 0.7845 GB, free: 140.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.125e-05/1.431, allocations: 12 kB / 0.7846 GB, free: 140.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000473/1.431, allocations: 0.4962 MB / 0.785 GB, free: 140.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/1.431, allocations: 4 kB / 0.785 GB, free: 140.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00493/1.436, allocations: 1.525 MB / 0.7865 GB, free: 138.8 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$whenCondition1,medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007707/1.444, allocations: 1.729 MB / 0.7882 GB, free: 137.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008373/1.445, allocations: 408.6 kB / 0.7886 GB, free: 136.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/1.445, allocations: 0 / 0.7886 GB, free: 136.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002969/1.445, allocations: 288.7 kB / 0.7889 GB, free: 136.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007206/1.446, allocations: 136.6 kB / 0.789 GB, free: 136.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003116/1.449, allocations: 2.593 MB / 0.7915 GB, free: 134.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/1.449, allocations: 1.005 MB / 0.7925 GB, free: 133 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006902/1.45, allocations: 0.5226 MB / 0.793 GB, free: 132.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/1.45, allocations: 55.41 kB / 0.7931 GB, free: 132.5 MB / 0.545 GB Notification: Performance of SimCode: time 1.092e-06/1.45, allocations: 0 / 0.7931 GB, free: 132.5 MB / 0.545 GB Notification: Performance of Templates: time 0.06136/1.511, allocations: 56.34 MB / 0.8481 GB, free: 76.13 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches