Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.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.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001694/0.001694, allocations: 199.2 kB / 16.79 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 226.5 MB / 244.1 MB, free: 6.316 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000819/0.000819, allocations: 97.06 kB / 296.1 MB, free: 6.66 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.313/0.313, allocations: 44.82 MB / 393 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003126/0.0003126, allocations: 7.984 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3795/0.3799, allocations: 62.95 MB / 0.5165 GB, free: 37.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.894/6.274, allocations: 2.802 GB / 3.318 GB, free: 170.3 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/6.274, allocations: 97.22 kB / 3.318 GB, free: 170.3 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.459/7.734, allocations: 485.3 MB / 3.792 GB, free: 66.36 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.563e-06/7.734, allocations: 0 / 3.792 GB, free: 66.36 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.588e-05/7.734, allocations: 18.12 kB / 3.792 GB, free: 66.36 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.007369/7.741, allocations: 1.841 MB / 3.794 GB, free: 65.52 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/7.741, allocations: 12.38 kB / 3.794 GB, free: 65.52 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00253/7.744, allocations: 326.3 kB / 3.794 GB, free: 65.48 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001467/7.745, allocations: 0.6077 MB / 3.795 GB, free: 65.23 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001463/7.745, allocations: 114 kB / 3.795 GB, free: 65.17 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002365/7.746, allocations: 63.5 kB / 3.795 GB, free: 65.17 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002705/7.748, allocations: 1.213 MB / 3.796 GB, free: 64.87 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.324e-05/7.748, allocations: 9.562 kB / 3.796 GB, free: 64.86 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/7.748, allocations: 30.98 kB / 3.796 GB, free: 64.86 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-05/7.749, allocations: 47.06 kB / 3.796 GB, free: 64.86 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002549/7.751, allocations: 1.041 MB / 3.797 GB, free: 64.86 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.005854/7.757, allocations: 5.629 MB / 3.803 GB, free: 61.14 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002258/7.759, allocations: 0.7902 MB / 3.804 GB, free: 61.09 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005794/7.76, allocations: 302.8 kB / 3.804 GB, free: 61.08 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02833/7.788, allocations: 17.16 MB / 3.821 GB, free: 50.09 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.491e-05/7.788, allocations: 43 kB / 3.821 GB, free: 50.05 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=45): time 3.858e-06/7.788, allocations: 0 / 3.821 GB, free: 50.05 MB / 0.5417 GB Notification: Performance of matching and sorting (n=49): time 0.007374/7.796, allocations: 2.364 MB / 3.823 GB, free: 49.56 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/7.796, allocations: 170.2 kB / 3.823 GB, free: 49.37 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007779/7.797, allocations: 0.5976 MB / 3.824 GB, free: 49.23 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.206e-05/7.797, allocations: 35.42 kB / 3.824 GB, free: 49.2 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.00021/7.797, allocations: 398.6 kB / 3.824 GB, free: 48.98 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/7.797, allocations: 172.9 kB / 3.824 GB, free: 48.88 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.945e-05/7.797, allocations: 15.19 kB / 3.824 GB, free: 48.88 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001028/7.797, allocations: 375.6 kB / 3.825 GB, free: 48.57 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006293/7.798, allocations: 292.8 kB / 3.825 GB, free: 48.57 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007177/7.799, allocations: 0.616 MB / 3.826 GB, free: 48.16 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001327/7.8, allocations: 0.9194 MB / 3.827 GB, free: 47.7 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/7.8, allocations: 7.375 kB / 3.827 GB, free: 47.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001776/7.802, allocations: 0.9716 MB / 3.828 GB, free: 47.38 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/7.802, allocations: 14.44 kB / 3.828 GB, free: 47.37 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/7.802, allocations: 11.12 kB / 3.828 GB, free: 47.37 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003005/7.802, allocations: 68.09 kB / 3.828 GB, free: 47.35 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/7.803, allocations: 311.3 kB / 3.828 GB, free: 47.33 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001125/7.804, allocations: 1.978 MB / 3.83 GB, free: 45.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008053/7.805, allocations: 88.52 kB / 3.83 GB, free: 45.37 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.039e-05/7.805, allocations: 47.77 kB / 3.83 GB, free: 45.36 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 10 (volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000449/7.806, allocations: 275.6 kB / 3.83 GB, free: 45.16 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/7.806, allocations: 72.56 kB / 3.83 GB, free: 45.12 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002836/7.809, allocations: 2.607 MB / 3.833 GB, free: 43.95 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-05/7.809, allocations: 32.8 kB / 3.833 GB, free: 43.94 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/7.809, allocations: 0 / 3.833 GB, free: 43.94 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/7.809, allocations: 7.641 kB / 3.833 GB, free: 43.94 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00388/7.813, allocations: 3.787 MB / 3.837 GB, free: 42.15 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/7.813, allocations: 0 / 3.837 GB, free: 42.15 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/7.814, allocations: 243.4 kB / 3.837 GB, free: 42.14 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003548/7.814, allocations: 101.9 kB / 3.837 GB, free: 42.1 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.731e-05/7.814, allocations: 11.69 kB / 3.837 GB, free: 42.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009677/7.815, allocations: 1.997 MB / 3.839 GB, free: 40.15 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/7.815, allocations: 3.938 kB / 3.839 GB, free: 40.15 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002622/7.818, allocations: 2.373 MB / 3.841 GB, free: 39.03 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004488/7.818, allocations: 334.2 kB / 3.842 GB, free: 38.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.408e-05/7.818, allocations: 11.47 kB / 3.842 GB, free: 38.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005285/7.819, allocations: 60.16 kB / 3.842 GB, free: 38.76 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/7.819, allocations: 54.97 kB / 3.842 GB, free: 38.75 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-05/7.819, allocations: 23.44 kB / 3.842 GB, free: 38.75 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0006338/7.82, allocations: 0.5577 MB / 3.842 GB, free: 38.51 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.6e-07/7.82, allocations: 0 / 3.842 GB, free: 38.51 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.004582/7.824, allocations: 1.146 MB / 3.843 GB, free: 38.29 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.007236/7.832, allocations: 1.554 MB / 3.845 GB, free: 37.98 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002448/7.834, allocations: 1.101 MB / 3.846 GB, free: 37.62 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.042e-06/7.834, allocations: 3.25 kB / 3.846 GB, free: 37.62 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001294/7.835, allocations: 0.8098 MB / 3.847 GB, free: 37.3 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002199/7.838, allocations: 372.1 kB / 3.847 GB, free: 37.23 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003491/7.841, allocations: 3.087 MB / 3.85 GB, free: 35.56 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005076/7.842, allocations: 1.153 MB / 3.851 GB, free: 34.82 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002167/7.842, allocations: 72.19 kB / 3.851 GB, free: 34.81 MB / 0.5417 GB Notification: Performance of SimCode: time 2.154e-06/7.842, allocations: 0 / 3.851 GB, free: 34.81 MB / 0.5417 GB Notification: Performance of Templates: time 0.04813/7.89, allocations: 40.33 MB / 3.891 GB, free: 20.28 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_ph/WaterIF97_ph.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches