Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_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.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_cpp_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_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001697/0.001697, allocations: 188.9 kB / 16.09 MB, free: 5.672 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.257/1.257, allocations: 226.5 MB / 243.4 MB, free: 8.164 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007589/0.0007589, allocations: 99.09 kB / 295.5 MB, free: 6.895 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3292/0.3292, allocations: 44.82 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002932/0.0002933, allocations: 4 kB / 465.3 MB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3226, allocations: 62.96 MB / 0.5159 GB, free: 37.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01263/0.3353, allocations: 12.87 MB / 0.5285 GB, free: 28.16 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0223/0.3577, allocations: 24.61 MB / 0.5525 GB, free: 10.75 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003245/0.358, allocations: 3.938 kB / 0.5525 GB, free: 10.74 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004015/0.3585, allocations: 74.11 kB / 0.5526 GB, free: 10.71 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02155/0.38, allocations: 6.616 MB / 0.559 GB, free: 7.441 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008246/0.3809, allocations: 304.6 kB / 0.5593 GB, free: 7.242 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004901/0.3858, allocations: 3.203 MB / 0.5624 GB, free: 6.438 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.884e-05/0.3858, allocations: 17.27 kB / 0.5625 GB, free: 6.438 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004235/0.3863, allocations: 254.6 kB / 0.5627 GB, free: 6.297 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007489/0.3938, allocations: 5.678 MB / 0.5682 GB, free: 3.793 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.538e-05/0.3938, allocations: 8 kB / 0.5683 GB, free: 3.785 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0217/0.4155, allocations: 10.44 MB / 0.5784 GB, free: 9.336 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001325/0.4157, allocations: 47.77 kB / 0.5785 GB, free: 9.289 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003222/0.4161, allocations: 157.1 kB / 0.5786 GB, free: 9.129 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0115/0.4276, allocations: 4.257 MB / 0.5828 GB, free: 4.863 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.4276, allocations: 3.938 kB / 0.5828 GB, free: 4.859 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.458e-06/0.4276, allocations: 4 kB / 0.5828 GB, free: 4.855 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.373e-06/0.4277, allocations: 0 / 0.5828 GB, free: 4.855 MB / 394.7 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.004636/0.4323, allocations: 1.494 MB / 0.5843 GB, free: 3.312 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.4324, allocations: 8.031 kB / 0.5843 GB, free: 3.305 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001565/0.4339, allocations: 224.4 kB / 0.5845 GB, free: 3.086 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003185/0.4343, allocations: 272 kB / 0.5847 GB, free: 2.781 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.358e-05/0.4343, allocations: 29.03 kB / 0.5848 GB, free: 2.754 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.841e-05/0.4344, allocations: 32.12 kB / 0.5848 GB, free: 2.723 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002207/0.4366, allocations: 0.8211 MB / 0.5856 GB, free: 1.855 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.4366, allocations: 7.938 kB / 0.5856 GB, free: 1.848 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.516e-05/0.4366, allocations: 16 kB / 0.5856 GB, free: 1.832 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.4367, allocations: 8 kB / 0.5856 GB, free: 1.824 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002294/0.439, allocations: 0.9387 MB / 0.5866 GB, free: 0.8828 MB / 394.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.002983/0.442, allocations: 2.581 MB / 0.5891 GB, free: 14.08 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001247/0.4432, allocations: 378.3 kB / 0.5894 GB, free: 13.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001794/0.4434, allocations: 76.81 kB / 0.5895 GB, free: 13.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.7189/1.162, allocations: 240.9 MB / 0.8247 GB, free: 29.24 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001275/1.164, allocations: 470.3 kB / 0.8252 GB, free: 28.73 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=32): time 2.735e-06/1.164, allocations: 0 / 0.8252 GB, free: 28.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32): time 0.002655/1.166, allocations: 0.778 MB / 0.826 GB, free: 27.96 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.333e-05/1.166, allocations: 384.9 kB / 0.8263 GB, free: 27.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/1.167, allocations: 182.5 kB / 0.8265 GB, free: 27.31 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.56e-05/1.167, allocations: 33.7 kB / 0.8265 GB, free: 27.27 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.804e-05/1.167, allocations: 180.4 kB / 0.8267 GB, free: 27.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.59e-05/1.167, allocations: 110.3 kB / 0.8268 GB, free: 26.99 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.774e-05/1.167, allocations: 12 kB / 0.8268 GB, free: 26.98 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.319e-05/1.167, allocations: 332.1 kB / 0.8271 GB, free: 26.65 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001877/1.167, allocations: 81.06 kB / 0.8272 GB, free: 26.57 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002719/1.167, allocations: 340.7 kB / 0.8275 GB, free: 26.11 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004989/1.168, allocations: 487.8 kB / 0.828 GB, free: 25.51 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/1.168, allocations: 4 kB / 0.828 GB, free: 25.51 MB / 0.4948 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000776/1.169, allocations: 465.5 kB / 0.8284 GB, free: 25.05 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/1.169, allocations: 12.06 kB / 0.8285 GB, free: 25.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/1.169, allocations: 8 kB / 0.8285 GB, free: 25.03 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/1.169, allocations: 16 kB / 0.8285 GB, free: 25.01 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004057/1.169, allocations: 139.8 kB / 0.8286 GB, free: 24.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.796e-05/1.169, allocations: 15.94 kB / 0.8286 GB, free: 24.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003274/1.17, allocations: 59.36 kB / 0.8287 GB, free: 24.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.724e-05/1.17, allocations: 43.98 kB / 0.8287 GB, free: 24.76 MB / 0.4948 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.0001782/1.17, allocations: 161.6 kB / 0.8289 GB, free: 24.59 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.628e-05/1.17, allocations: 35.73 kB / 0.8289 GB, free: 24.55 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002307/1.172, allocations: 2.654 MB / 0.8315 GB, free: 21.89 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.217e-05/1.172, allocations: 19.97 kB / 0.8315 GB, free: 21.88 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/1.172, allocations: 4 kB / 0.8315 GB, free: 21.87 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/1.172, allocations: 4 kB / 0.8315 GB, free: 21.87 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008302/1.173, allocations: 0.9296 MB / 0.8324 GB, free: 20.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/1.173, allocations: 4 kB / 0.8324 GB, free: 20.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003013/1.173, allocations: 79.8 kB / 0.8325 GB, free: 20.81 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/1.173, allocations: 11.78 kB / 0.8325 GB, free: 20.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.417e-05/1.173, allocations: 8 kB / 0.8325 GB, free: 20.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/1.173, allocations: 4 kB / 0.8325 GB, free: 20.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.173, allocations: 4 kB / 0.8326 GB, free: 20.79 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007164/1.174, allocations: 0.6932 MB / 0.8332 GB, free: 20.04 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002647/1.174, allocations: 390.6 kB / 0.8336 GB, free: 19.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.965e-05/1.175, allocations: 8 kB / 0.8336 GB, free: 19.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003504/1.175, allocations: 24.86 kB / 0.8336 GB, free: 19.61 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.746e-05/1.175, allocations: 27.91 kB / 0.8337 GB, free: 19.58 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.348e-05/1.175, allocations: 19.98 kB / 0.8337 GB, free: 19.56 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004823/1.175, allocations: 0.4962 MB / 0.8342 GB, free: 19.05 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.82e-07/1.175, allocations: 0 / 0.8342 GB, free: 19.05 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0037/1.179, allocations: 1.53 MB / 0.8357 GB, free: 17.58 MB / 0.4948 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.006858/1.186, allocations: 1.728 MB / 0.8373 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007733/1.187, allocations: 413.1 kB / 0.8377 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/1.187, allocations: 0 / 0.8377 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003176/1.187, allocations: 277.5 kB / 0.838 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/1.188, allocations: 129.3 kB / 0.8381 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.417/2.606, allocations: 0.602 GB / 1.44 GB, free: 35.25 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004212/2.606, allocations: 0.9819 MB / 1.441 GB, free: 34.23 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002667/2.606, allocations: 60.94 kB / 1.441 GB, free: 34.18 MB / 0.5261 GB Notification: Performance of SimCode: time 7.72e-07/2.606, allocations: 4 kB / 1.441 GB, free: 34.17 MB / 0.5261 GB Notification: Performance of Templates: time 0.3115/2.918, allocations: 32.96 MB / 1.473 GB, free: 168.3 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches