Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.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) 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(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V|medium.h|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.WaterIF97") translateModel(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V|medium.h|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.WaterIF97") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001487/0.001487, allocations: 182.6 kB / 18.04 MB, free: 3.785 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.334/1.334, allocations: 205.4 MB / 224.2 MB, free: 9.02 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.0007388/0.0007388, allocations: 82.36 kB / 272.5 MB, free: 8.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002887/0.0002888, allocations: 8 kB / 329.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2028, allocations: 47.57 MB / 377 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.672/4.875, allocations: 2.782 GB / 3.15 GB, free: 101.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/4.875, allocations: 67.09 kB / 3.15 GB, free: 101.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4306/5.306, allocations: 107.4 MB / 3.255 GB, free: 75.59 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.154e-06/5.306, allocations: 0 / 3.255 GB, free: 75.59 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.2e-05/5.306, allocations: 3.812 kB / 3.255 GB, free: 75.59 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.005624/5.311, allocations: 1.145 MB / 3.256 GB, free: 75.07 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/5.311, allocations: 10.34 kB / 3.256 GB, free: 75.07 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000434/5.312, allocations: 65.34 kB / 3.256 GB, free: 75.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/5.312, allocations: 215.5 kB / 3.257 GB, free: 74.87 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.791e-05/5.312, allocations: 14.25 kB / 3.257 GB, free: 74.87 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.961e-05/5.312, allocations: 15.31 kB / 3.257 GB, free: 74.87 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/5.313, allocations: 401 kB / 3.257 GB, free: 74.77 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/5.313, allocations: 2 kB / 3.257 GB, free: 74.77 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.193e-05/5.313, allocations: 11.16 kB / 3.257 GB, free: 74.77 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/5.313, allocations: 7.906 kB / 3.257 GB, free: 74.77 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001212/5.315, allocations: 366 kB / 3.257 GB, free: 74.77 MB / 426.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.001098/5.316, allocations: 1.198 MB / 3.259 GB, free: 73.78 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007087/5.316, allocations: 287.2 kB / 3.259 GB, free: 73.71 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002434/5.317, allocations: 119.6 kB / 3.259 GB, free: 73.69 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07665/5.393, allocations: 47.17 MB / 3.305 GB, free: 44.79 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/5.393, allocations: 42.41 kB / 3.305 GB, free: 44.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 3.086e-06/5.393, allocations: 3.188 kB / 3.305 GB, free: 44.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.006311/5.4, allocations: 1.635 MB / 3.307 GB, free: 44.41 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/5.4, allocations: 112.4 kB / 3.307 GB, free: 44.29 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.474e-05/5.4, allocations: 114.9 kB / 3.307 GB, free: 44.19 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/5.4, allocations: 33.55 kB / 3.307 GB, free: 44.16 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.162e-05/5.4, allocations: 103.8 kB / 3.307 GB, free: 44.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.036e-05/5.4, allocations: 114 kB / 3.307 GB, free: 44.01 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.913e-05/5.4, allocations: 6 kB / 3.307 GB, free: 44.01 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.137e-05/5.4, allocations: 327.8 kB / 3.308 GB, free: 43.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003303/5.4, allocations: 147.7 kB / 3.308 GB, free: 43.69 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000339/5.401, allocations: 205.7 kB / 3.308 GB, free: 43.62 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006684/5.401, allocations: 357.7 kB / 3.308 GB, free: 43.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/5.401, allocations: 0 / 3.308 GB, free: 43.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009608/5.402, allocations: 436.4 kB / 3.309 GB, free: 43.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/5.402, allocations: 7.938 kB / 3.309 GB, free: 43.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/5.402, allocations: 0 / 3.309 GB, free: 43.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000241/5.403, allocations: 44.59 kB / 3.309 GB, free: 43.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000467/5.403, allocations: 96.03 kB / 3.309 GB, free: 43.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002519/5.403, allocations: 0.542 MB / 3.309 GB, free: 42.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002803/5.404, allocations: 34.86 kB / 3.309 GB, free: 42.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.122e-05/5.404, allocations: 21.27 kB / 3.309 GB, free: 42.94 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (medium.phase,state.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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: 1 * Mixed (continuous/discrete) equation systems: 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.0001235/5.404, allocations: 134.2 kB / 3.309 GB, free: 42.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.064e-05/5.404, allocations: 11.69 kB / 3.309 GB, free: 42.82 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001813/5.406, allocations: 1.465 MB / 3.311 GB, free: 42.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.988e-05/5.406, allocations: 21.23 kB / 3.311 GB, free: 42.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/5.406, allocations: 7.844 kB / 3.311 GB, free: 42.65 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/5.406, allocations: 0 / 3.311 GB, free: 42.65 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002375/5.408, allocations: 2.005 MB / 3.313 GB, free: 42.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/5.408, allocations: 3.25 kB / 3.313 GB, free: 42.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003997/5.409, allocations: 85.06 kB / 3.313 GB, free: 42.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003199/5.409, allocations: 82.84 kB / 3.313 GB, free: 42.24 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.022e-05/5.409, allocations: 11.05 kB / 3.313 GB, free: 42.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002332/5.409, allocations: 0.5851 MB / 3.314 GB, free: 41.72 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/5.409, allocations: 7.406 kB / 3.314 GB, free: 41.71 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001894/5.411, allocations: 1.702 MB / 3.315 GB, free: 41.33 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.73e-05/5.411, allocations: 125.2 kB / 3.315 GB, free: 41.22 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.266e-05/5.411, allocations: 13.19 kB / 3.315 GB, free: 41.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003408/5.412, allocations: 24.31 kB / 3.315 GB, free: 41.22 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.144e-05/5.412, allocations: 36.02 kB / 3.315 GB, free: 41.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.991e-05/5.412, allocations: 18.3 kB / 3.316 GB, free: 41.21 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.254e-05/5.412, allocations: 93.94 kB / 3.316 GB, free: 41.13 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.92e-07/5.412, allocations: 0 / 3.316 GB, free: 41.13 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004056/5.416, allocations: 0.9629 MB / 3.317 GB, free: 40.98 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (medium.p,medium.h,V) * Number of discrete variables: 11 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,medium.phase,$cse1.phase,$cse1.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 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.004709/5.421, allocations: 1.237 MB / 3.318 GB, free: 40.69 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001171/5.422, allocations: 0.6002 MB / 3.318 GB, free: 40.68 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/5.422, allocations: 0 / 3.318 GB, free: 40.68 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007297/5.423, allocations: 0.5133 MB / 3.319 GB, free: 40.68 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007698/5.423, allocations: 81.38 kB / 3.319 GB, free: 40.67 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002038/5.425, allocations: 1.567 MB / 3.32 GB, free: 39.97 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/5.426, allocations: 0.8231 MB / 3.321 GB, free: 39.26 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004038/5.426, allocations: 133.5 kB / 3.321 GB, free: 39.25 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001742/5.426, allocations: 38.53 kB / 3.321 GB, free: 39.24 MB / 426.7 MB Notification: Performance of SimCode: time 7.32e-07/5.426, allocations: 4 kB / 3.321 GB, free: 39.23 MB / 426.7 MB Notification: Performance of Templates: time 0.03525/5.462, allocations: 28.76 MB / 3.349 GB, free: 37.62 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.sim & ./Modelica_3.2.3_Modelica.Media.Examples.WaterIF97 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.WaterIF97_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/WaterIF97/WaterIF97.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches