Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001445/0.001445, allocations: 181.2 kB / 16.4 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.885/1.885, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001124/0.001123, allocations: 93.3 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5006/0.5006, allocations: 43.55 MB / 362.7 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004534/0.0004534, allocations: 11.98 kB / 431.4 MB, free: 5.918 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1225, allocations: 58.84 MB / 490.2 MB, free: 10.99 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.502/8.625, allocations: 2.796 GB / 3.274 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003604/8.625, allocations: 96.12 kB / 3.274 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.765/11.39, allocations: 0.4947 GB / 3.769 GB, free: 51.68 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.344e-06/11.39, allocations: 0 / 3.769 GB, free: 51.68 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.607e-05/11.39, allocations: 19.44 kB / 3.769 GB, free: 51.67 MB / 0.5105 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.008237/11.4, allocations: 1.798 MB / 3.771 GB, free: 50.85 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/11.4, allocations: 11.44 kB / 3.771 GB, free: 50.85 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003514/11.4, allocations: 325.8 kB / 3.771 GB, free: 50.81 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001841/11.4, allocations: 0.6008 MB / 3.772 GB, free: 50.55 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001281/11.4, allocations: 110.4 kB / 3.772 GB, free: 50.48 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001438/11.4, allocations: 62.42 kB / 3.772 GB, free: 50.48 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00353/11.41, allocations: 1.161 MB / 3.773 GB, free: 50.18 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.053e-05/11.41, allocations: 6.531 kB / 3.773 GB, free: 50.18 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001439/11.41, allocations: 30.25 kB / 3.773 GB, free: 50.18 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.477e-05/11.41, allocations: 48.61 kB / 3.773 GB, free: 50.18 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002608/11.41, allocations: 0.834 MB / 3.774 GB, free: 50.17 MB / 0.5105 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.008619/11.42, allocations: 5.504 MB / 3.779 GB, free: 46.45 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001792/11.42, allocations: 0.5765 MB / 3.78 GB, free: 46.39 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1487/11.57, allocations: 45.91 MB / 3.825 GB, free: 34.66 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.539e-05/11.57, allocations: 42.12 kB / 3.825 GB, free: 34.62 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=42): time 4.078e-06/11.57, allocations: 4 kB / 3.825 GB, free: 34.61 MB / 0.5261 GB Notification: Performance of matching and sorting (n=46): time 0.007838/11.58, allocations: 1.94 MB / 3.827 GB, free: 34.11 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001281/11.58, allocations: 162.2 kB / 3.827 GB, free: 33.91 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009748/11.58, allocations: 0.5471 MB / 3.827 GB, free: 33.66 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001262/11.58, allocations: 37.11 kB / 3.828 GB, free: 33.62 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002977/11.58, allocations: 419 kB / 3.828 GB, free: 33.27 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/11.58, allocations: 165.1 kB / 3.828 GB, free: 33.14 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.005e-05/11.58, allocations: 15.91 kB / 3.828 GB, free: 33.13 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001528/11.58, allocations: 343.5 kB / 3.828 GB, free: 32.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006064/11.58, allocations: 229.4 kB / 3.829 GB, free: 32.72 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007547/11.58, allocations: 0.5621 MB / 3.829 GB, free: 32.19 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007696/11.58, allocations: 328.5 kB / 3.83 GB, free: 32.05 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/11.58, allocations: 3.656 kB / 3.83 GB, free: 32.05 MB / 0.5261 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001965/11.58, allocations: 0.8299 MB / 3.83 GB, free: 31.72 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.962e-05/11.58, allocations: 11.59 kB / 3.83 GB, free: 31.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/11.59, allocations: 10.66 kB / 3.83 GB, free: 31.72 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004611/11.59, allocations: 64.66 kB / 3.83 GB, free: 31.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002256/11.59, allocations: 288.4 kB / 3.831 GB, free: 31.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002146/11.59, allocations: 1.993 MB / 3.833 GB, free: 29.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/11.59, allocations: 61.02 kB / 3.833 GB, free: 29.71 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.812e-05/11.59, allocations: 40.88 kB / 3.833 GB, free: 29.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 10 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.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.000637/11.59, allocations: 279.5 kB / 3.833 GB, free: 29.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002154/11.59, allocations: 75.22 kB / 3.833 GB, free: 29.46 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003344/11.6, allocations: 2.22 MB / 3.835 GB, free: 28.39 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.945e-05/11.6, allocations: 33.25 kB / 3.835 GB, free: 28.38 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/11.6, allocations: 2.625 kB / 3.835 GB, free: 28.38 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/11.6, allocations: 7.531 kB / 3.835 GB, free: 28.38 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005214/11.6, allocations: 3.281 MB / 3.838 GB, free: 26.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/11.6, allocations: 7.703 kB / 3.838 GB, free: 26.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001788/11.6, allocations: 191.9 kB / 3.839 GB, free: 26.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000607/11.6, allocations: 87.02 kB / 3.839 GB, free: 26.72 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.19e-05/11.6, allocations: 13.16 kB / 3.839 GB, free: 26.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00203/11.61, allocations: 1.998 MB / 3.841 GB, free: 24.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/11.61, allocations: 0 / 3.841 GB, free: 24.75 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003261/11.61, allocations: 2.003 MB / 3.843 GB, free: 23.72 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007396/11.61, allocations: 285.9 kB / 3.843 GB, free: 23.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001593/11.61, allocations: 15.81 kB / 3.843 GB, free: 23.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/11.61, allocations: 53.08 kB / 3.843 GB, free: 23.48 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/11.61, allocations: 37.84 kB / 3.843 GB, free: 23.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.687e-05/11.61, allocations: 23.2 kB / 3.843 GB, free: 23.47 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0009854/11.61, allocations: 0.5005 MB / 3.844 GB, free: 23.25 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.8e-07/11.61, allocations: 0 / 3.844 GB, free: 23.25 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006418/11.62, allocations: 1.132 MB / 3.845 GB, free: 23.04 MB / 0.5261 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: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.01099/11.63, allocations: 1.544 MB / 3.846 GB, free: 22.65 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002862/11.63, allocations: 0.9106 MB / 3.847 GB, free: 22.33 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/11.63, allocations: 3.344 kB / 3.847 GB, free: 22.33 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001863/11.63, allocations: 0.6628 MB / 3.848 GB, free: 22.05 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003195/11.64, allocations: 367.3 kB / 3.848 GB, free: 21.97 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004935/11.64, allocations: 2.745 MB / 3.851 GB, free: 20.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008588/11.64, allocations: 1.132 MB / 3.852 GB, free: 19.67 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003391/11.64, allocations: 68.23 kB / 3.852 GB, free: 19.66 MB / 0.5261 GB Notification: Performance of SimCode: time 1.513e-06/11.64, allocations: 0 / 3.852 GB, free: 19.66 MB / 0.5261 GB Notification: Performance of Templates: time 0.4618/12.11, allocations: 40.7 MB / 3.892 GB, free: 70.88 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches