Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.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.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001673/0.001673, allocations: 177.2 kB / 8.699 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.879/1.879, allocations: 205.3 MB / 214.4 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001/0.001, allocations: 78.38 kB / 262.4 MB, free: 1.699 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.335e-05/1.336e-05, allocations: 4 kB / 315.5 MB, free: 22.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09018/0.09021, allocations: 47.58 MB / 363.1 MB, free: 7.094 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7908/0.881, allocations: 272.2 MB / 0.6204 GB, free: 56.41 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/0.8813, allocations: 59.22 kB / 0.6204 GB, free: 56.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02105/0.9024, allocations: 9.35 MB / 0.6296 GB, free: 48.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.9024, allocations: 0 / 0.6296 GB, free: 48.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.797e-05/0.9025, allocations: 4 kB / 0.6296 GB, free: 48.84 MB / 410.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.0009119/0.9034, allocations: 450.5 kB / 0.63 GB, free: 48.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.9034, allocations: 8.031 kB / 0.63 GB, free: 48.36 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002382/0.9037, allocations: 15.91 kB / 0.63 GB, free: 48.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/0.904, allocations: 217.7 kB / 0.6302 GB, free: 48.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.904, allocations: 4 kB / 0.6302 GB, free: 48.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.377e-05/0.904, allocations: 8 kB / 0.6302 GB, free: 48.08 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002525/0.9043, allocations: 116.2 kB / 0.6303 GB, free: 48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002744/0.9046, allocations: 182 kB / 0.6305 GB, free: 47.83 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.9046, allocations: 4 kB / 0.6305 GB, free: 47.83 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.61e-05/0.9046, allocations: 4 kB / 0.6305 GB, free: 47.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.9047, allocations: 4 kB / 0.6305 GB, free: 47.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001214/0.9059, allocations: 0.8929 MB / 0.6314 GB, free: 46.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002211/0.9061, allocations: 126.7 kB / 0.6315 GB, free: 46.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.813e-05/0.9062, allocations: 47.56 kB / 0.6316 GB, free: 46.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004862/0.9067, allocations: 0.5008 MB / 0.6321 GB, free: 46.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.9067, allocations: 38.55 kB / 0.6321 GB, free: 46.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/0.9067, allocations: 0 / 0.6321 GB, free: 46.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.001774/0.9085, allocations: 0.5984 MB / 0.6327 GB, free: 45.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.419e-05/0.9086, allocations: 51.41 kB / 0.6327 GB, free: 45.58 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.9087, allocations: 140.4 kB / 0.6329 GB, free: 45.45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.9087, allocations: 29.7 kB / 0.6329 GB, free: 45.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.953e-05/0.9088, allocations: 138.9 kB / 0.633 GB, free: 45.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.199e-05/0.9088, allocations: 74.06 kB / 0.6331 GB, free: 45.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.5e-05/0.9089, allocations: 0 / 0.6331 GB, free: 45.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.045e-05/0.9089, allocations: 326.6 kB / 0.6334 GB, free: 44.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.317e-05/0.909, allocations: 60.88 kB / 0.6335 GB, free: 44.85 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.9092, allocations: 170.8 kB / 0.6336 GB, free: 44.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.9093, allocations: 78.34 kB / 0.6337 GB, free: 44.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.9094, allocations: 0 / 0.6337 GB, free: 44.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003675/0.9097, allocations: 251 kB / 0.6339 GB, free: 44.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.9098, allocations: 8 kB / 0.6339 GB, free: 44.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.9098, allocations: 4 kB / 0.6339 GB, free: 44.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.9098, allocations: 4 kB / 0.6339 GB, free: 44.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003594/0.9102, allocations: 87.92 kB / 0.634 GB, free: 44.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.9102, allocations: 15.92 kB / 0.634 GB, free: 44.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002248/0.9104, allocations: 11.98 kB / 0.6341 GB, free: 44.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.134e-05/0.9105, allocations: 15.69 kB / 0.6341 GB, free: 44.27 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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 8.046e-05/0.9105, allocations: 112.9 kB / 0.6342 GB, free: 44.15 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.407e-05/0.9106, allocations: 11.81 kB / 0.6342 GB, free: 44.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003818/0.911, allocations: 189.5 kB / 0.6344 GB, free: 43.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.911, allocations: 4 kB / 0.6344 GB, free: 43.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.911, allocations: 4 kB / 0.6344 GB, free: 43.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.911, allocations: 0 / 0.6344 GB, free: 43.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008559/0.9119, allocations: 0.5103 MB / 0.6349 GB, free: 43.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.9119, allocations: 12.12 kB / 0.6349 GB, free: 43.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002717/0.9122, allocations: 47.91 kB / 0.6349 GB, free: 43.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.9122, allocations: 0 / 0.6349 GB, free: 43.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.364e-05/0.9122, allocations: 11.3 kB / 0.6349 GB, free: 43.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.9122, allocations: 4 kB / 0.635 GB, free: 43.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.9122, allocations: 7.938 kB / 0.635 GB, free: 43.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004214/0.9127, allocations: 386.1 kB / 0.6353 GB, free: 43.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.808e-05/0.9127, allocations: 88.95 kB / 0.6354 GB, free: 42.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.681e-05/0.9128, allocations: 8.062 kB / 0.6354 GB, free: 42.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002297/0.913, allocations: 7.984 kB / 0.6354 GB, free: 42.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.301e-05/0.913, allocations: 11.98 kB / 0.6354 GB, free: 42.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.277e-05/0.9131, allocations: 15.92 kB / 0.6355 GB, free: 42.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.469e-05/0.9131, allocations: 102.5 kB / 0.6356 GB, free: 42.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.9131, allocations: 0 / 0.6356 GB, free: 42.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000379/0.9135, allocations: 59.19 kB / 0.6356 GB, free: 42.73 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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 Backend phase and start with SimCode phase: time 0.0002371/0.9138, allocations: 147.1 kB / 0.6357 GB, free: 42.58 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003156/0.9141, allocations: 171.2 kB / 0.6359 GB, free: 42.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.9141, allocations: 0 / 0.6359 GB, free: 42.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.581e-05/0.9142, allocations: 69.86 kB / 0.636 GB, free: 42.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.9145, allocations: 32.28 kB / 0.636 GB, free: 42.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000663/0.9152, allocations: 270.6 kB / 0.6363 GB, free: 42.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001755/0.9154, allocations: 0.7204 MB / 0.637 GB, free: 41.36 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002767/0.9157, allocations: 46.06 kB / 0.637 GB, free: 41.31 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.734e-05/0.9158, allocations: 26.67 kB / 0.637 GB, free: 41.29 MB / 410.7 MB Notification: Performance of SimCode: time 2.81e-07/0.9158, allocations: 3.938 kB / 0.637 GB, free: 41.29 MB / 410.7 MB Notification: Performance of Templates: time 0.005426/0.9212, allocations: 2.6 MB / 0.6396 GB, free: 38.7 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches