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.001258/0.001258, allocations: 194.4 kB / 16.78 MB, free: 4.918 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 226.5 MB / 244.1 MB, free: 8.176 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007992/0.0007991, allocations: 104.3 kB / 296.1 MB, free: 6.906 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3335/0.3335, allocations: 44.83 MB / 393 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002788/0.000279, allocations: 8 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3364, allocations: 62.96 MB / 0.5165 GB, free: 37.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.253/6.59, allocations: 2.758 GB / 3.275 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/6.59, allocations: 79.95 kB / 3.275 GB, free: 10.22 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.8087/7.399, allocations: 215.9 MB / 3.486 GB, free: 25.3 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.464e-06/7.399, allocations: 0 / 3.486 GB, free: 25.3 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.347e-05/7.399, allocations: 4 kB / 3.486 GB, free: 25.3 MB / 0.5417 GB 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.008243/7.407, allocations: 1.762 MB / 3.487 GB, free: 23.48 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/7.407, allocations: 12.02 kB / 3.488 GB, free: 23.47 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001695/7.409, allocations: 228.4 kB / 3.488 GB, free: 23.25 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003029/7.409, allocations: 283.9 kB / 3.488 GB, free: 22.93 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.357e-05/7.409, allocations: 21.03 kB / 3.488 GB, free: 22.91 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.982e-05/7.409, allocations: 32.38 kB / 3.488 GB, free: 22.88 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002004/7.411, allocations: 0.8021 MB / 3.489 GB, free: 22.03 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/7.411, allocations: 4.125 kB / 3.489 GB, free: 22.03 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.441e-05/7.411, allocations: 19.94 kB / 3.489 GB, free: 22.01 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/7.411, allocations: 8 kB / 3.489 GB, free: 22 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002046/7.413, allocations: 0.9231 MB / 3.49 GB, free: 21.07 MB / 0.5417 GB 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.00324/7.417, allocations: 2.796 MB / 3.492 GB, free: 18.06 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001288/7.418, allocations: 370.2 kB / 3.493 GB, free: 17.69 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/7.418, allocations: 76.81 kB / 3.493 GB, free: 17.61 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.068/8.486, allocations: 237.2 MB / 3.725 GB, free: 120.8 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001363/8.487, allocations: 459.2 kB / 3.725 GB, free: 120.7 MB / 0.573 GB Notification: Performance of pre-optimization done (n=32): time 2.916e-06/8.487, allocations: 0 / 3.725 GB, free: 120.7 MB / 0.573 GB Notification: Performance of matching and sorting (n=32): time 0.002845/8.49, allocations: 0.773 MB / 3.726 GB, free: 120.7 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.84e-05/8.49, allocations: 377.9 kB / 3.726 GB, free: 120.2 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/8.49, allocations: 189.1 kB / 3.726 GB, free: 120.1 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 3.263e-05/8.49, allocations: 30.08 kB / 3.726 GB, free: 120.1 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 7.787e-05/8.491, allocations: 183.7 kB / 3.726 GB, free: 119.9 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 7.542e-05/8.491, allocations: 115.6 kB / 3.727 GB, free: 119.9 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.637e-05/8.491, allocations: 5.625 kB / 3.727 GB, free: 119.9 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 5.686e-05/8.491, allocations: 336.1 kB / 3.727 GB, free: 119.6 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/8.491, allocations: 79.97 kB / 3.727 GB, free: 119.6 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002659/8.491, allocations: 342.9 kB / 3.727 GB, free: 119.3 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005026/8.492, allocations: 467.3 kB / 3.728 GB, free: 118.9 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/8.492, allocations: 3.094 kB / 3.728 GB, free: 118.9 MB / 0.573 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008042/8.493, allocations: 463 kB / 3.728 GB, free: 118.9 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/8.493, allocations: 9.375 kB / 3.728 GB, free: 118.9 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/8.493, allocations: 9.125 kB / 3.728 GB, free: 118.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/8.493, allocations: 11.56 kB / 3.728 GB, free: 118.9 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004037/8.493, allocations: 142.6 kB / 3.728 GB, free: 118.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.651e-05/8.493, allocations: 21.86 kB / 3.728 GB, free: 118.9 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003124/8.493, allocations: 49.28 kB / 3.728 GB, free: 118.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-05/8.493, allocations: 42.03 kB / 3.728 GB, free: 118.9 MB / 0.573 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_h_is.phase,state.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.0001417/8.494, allocations: 163.3 kB / 3.729 GB, free: 118.8 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.112e-05/8.494, allocations: 29.84 kB / 3.729 GB, free: 118.8 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002262/8.496, allocations: 2.497 MB / 3.731 GB, free: 118.5 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-05/8.496, allocations: 17.06 kB / 3.731 GB, free: 118.5 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/8.496, allocations: 8.812 kB / 3.731 GB, free: 118.5 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.824e-06/8.496, allocations: 6.438 kB / 3.731 GB, free: 118.5 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008456/8.497, allocations: 0.9274 MB / 3.732 GB, free: 118.2 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/8.497, allocations: 0 / 3.732 GB, free: 118.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002908/8.497, allocations: 79.02 kB / 3.732 GB, free: 118.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/8.497, allocations: 5.156 kB / 3.732 GB, free: 118.2 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/8.497, allocations: 15.42 kB / 3.732 GB, free: 118.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/8.497, allocations: 6.062 kB / 3.732 GB, free: 118.2 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/8.497, allocations: 7.906 kB / 3.732 GB, free: 118.2 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000742/8.498, allocations: 0.6954 MB / 3.733 GB, free: 118 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000284/8.498, allocations: 381.5 kB / 3.733 GB, free: 117.8 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.86e-05/8.498, allocations: 13.47 kB / 3.733 GB, free: 117.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003199/8.499, allocations: 21.16 kB / 3.733 GB, free: 117.8 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.546e-05/8.499, allocations: 41.64 kB / 3.733 GB, free: 117.8 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.57e-05/8.499, allocations: 17.97 kB / 3.733 GB, free: 117.8 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0004977/8.499, allocations: 0.4918 MB / 3.734 GB, free: 117.7 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.4e-07/8.499, allocations: 0 / 3.734 GB, free: 117.7 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006676/8.506, allocations: 1.541 MB / 3.735 GB, free: 117.7 MB / 0.573 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 ($cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse20.phase,$cse20.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.01117/8.517, allocations: 1.901 MB / 3.737 GB, free: 117.6 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0009172/8.518, allocations: 405 kB / 3.738 GB, free: 117.6 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.884e-06/8.518, allocations: 2.375 kB / 3.738 GB, free: 117.6 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003135/8.518, allocations: 277.8 kB / 3.738 GB, free: 117.6 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/8.52, allocations: 138.8 kB / 3.738 GB, free: 117.6 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.575/10.09, allocations: 0.6328 GB / 4.371 GB, free: 121.4 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/10.1, allocations: 0.987 MB / 4.372 GB, free: 120.7 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001893/10.1, allocations: 58.5 kB / 4.372 GB, free: 120.7 MB / 0.573 GB Notification: Performance of SimCode: time 7.01e-07/10.1, allocations: 0 / 4.372 GB, free: 120.7 MB / 0.573 GB Notification: Performance of Templates: time 0.04502/10.14, allocations: 31.35 MB / 4.402 GB, free: 119.1 MB / 0.573 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/jenkins1/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