Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.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.Tests.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001568/0.001568, allocations: 181.7 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.02/2.02, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001087/0.001086, allocations: 78.67 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.964e-05/2.967e-05, allocations: 0 / 321.5 MB, free: 17.83 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09218/0.09223, allocations: 47.57 MB / 369.1 MB, free: 2.195 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.34/1.432, allocations: 367.1 MB / 0.7189 GB, free: 123.5 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004296/1.433, allocations: 93.47 kB / 0.719 GB, free: 123.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.25/1.683, allocations: 79.96 MB / 0.7971 GB, free: 61.33 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.693e-06/1.683, allocations: 4 kB / 0.7971 GB, free: 61.33 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.317e-05/1.683, allocations: 4 kB / 0.7971 GB, free: 61.32 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001152/1.684, allocations: 0.5936 MB / 0.7977 GB, free: 60.69 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/1.684, allocations: 8.031 kB / 0.7977 GB, free: 60.68 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003686/1.684, allocations: 47.7 kB / 0.7978 GB, free: 60.63 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004353/1.685, allocations: 266.5 kB / 0.798 GB, free: 60.33 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/1.685, allocations: 20.52 kB / 0.798 GB, free: 60.31 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.915e-05/1.685, allocations: 27.94 kB / 0.7981 GB, free: 60.29 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006392/1.685, allocations: 291.8 kB / 0.7983 GB, free: 59.97 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/1.686, allocations: 7.938 kB / 0.7983 GB, free: 59.96 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.006e-05/1.686, allocations: 12 kB / 0.7983 GB, free: 59.95 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/1.686, allocations: 8 kB / 0.7984 GB, free: 59.95 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004641/1.686, allocations: 189.6 kB / 0.7985 GB, free: 59.76 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002099/1.688, allocations: 1.436 MB / 0.7999 GB, free: 58.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004086/1.689, allocations: 171.3 kB / 0.8001 GB, free: 58.03 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001868/1.689, allocations: 77.23 kB / 0.8002 GB, free: 57.95 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.252e-05/1.689, allocations: 8.141 kB / 0.8002 GB, free: 57.94 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/1.689, allocations: 42.75 kB / 0.8002 GB, free: 57.89 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 3.797e-06/1.689, allocations: 3.938 kB / 0.8002 GB, free: 57.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.003412/1.692, allocations: 0.8661 MB / 0.8011 GB, free: 56.96 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/1.692, allocations: 55.41 kB / 0.8011 GB, free: 56.89 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003163/1.693, allocations: 230.8 kB / 0.8013 GB, free: 56.66 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.838e-05/1.693, allocations: 29.7 kB / 0.8014 GB, free: 56.62 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000116/1.693, allocations: 238.4 kB / 0.8016 GB, free: 56.39 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.106e-05/1.693, allocations: 94.64 kB / 0.8017 GB, free: 56.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.36e-05/1.693, allocations: 4 kB / 0.8017 GB, free: 56.29 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.135e-05/1.693, allocations: 334.8 kB / 0.802 GB, free: 55.96 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002163/1.693, allocations: 83.94 kB / 0.8021 GB, free: 55.88 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002555/1.694, allocations: 170.9 kB / 0.8023 GB, free: 55.67 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002765/1.694, allocations: 108.4 kB / 0.8024 GB, free: 55.56 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/1.694, allocations: 4 kB / 0.8024 GB, free: 55.56 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009634/1.695, allocations: 370.8 kB / 0.8027 GB, free: 55.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/1.695, allocations: 4.375 kB / 0.8027 GB, free: 55.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/1.695, allocations: 8 kB / 0.8027 GB, free: 55.17 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003969/1.695, allocations: 61.67 kB / 0.8028 GB, free: 55.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005088/1.696, allocations: 67.84 kB / 0.8029 GB, free: 55.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002224/1.698, allocations: 2.67 MB / 0.8055 GB, free: 52.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000526/1.699, allocations: 19.89 kB / 0.8055 GB, free: 52.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.413e-05/1.699, allocations: 16 kB / 0.8055 GB, free: 52.06 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001408/1.699, allocations: 128.9 kB / 0.8056 GB, free: 51.93 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.601e-05/1.699, allocations: 27.72 kB / 0.8056 GB, free: 51.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001056/1.699, allocations: 33.95 kB / 0.8057 GB, free: 51.87 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/1.699, allocations: 4 kB / 0.8057 GB, free: 51.87 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.403e-06/1.699, allocations: 0 / 0.8057 GB, free: 51.87 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007424/1.7, allocations: 0.5592 MB / 0.8062 GB, free: 51.22 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001402/1.701, allocations: 0.7028 MB / 0.8069 GB, free: 50.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/1.701, allocations: 0 / 0.8069 GB, free: 50.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003782/1.702, allocations: 39.98 kB / 0.807 GB, free: 50.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003515/1.702, allocations: 52.78 kB / 0.807 GB, free: 50.36 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.91e-05/1.702, allocations: 12.03 kB / 0.807 GB, free: 50.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001266/1.704, allocations: 1.386 MB / 0.8084 GB, free: 48.83 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.704, allocations: 0 / 0.8084 GB, free: 48.83 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/1.705, allocations: 471.7 kB / 0.8088 GB, free: 48.34 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/1.705, allocations: 104.8 kB / 0.8089 GB, free: 48.22 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.41e-05/1.705, allocations: 16.12 kB / 0.8089 GB, free: 48.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004026/1.705, allocations: 8 kB / 0.8089 GB, free: 48.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.83e-05/1.705, allocations: 19.92 kB / 0.809 GB, free: 48.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.222e-05/1.705, allocations: 15.98 kB / 0.809 GB, free: 48.16 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002331/1.706, allocations: 183.1 kB / 0.8092 GB, free: 47.98 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.61e-07/1.706, allocations: 0 / 0.8092 GB, free: 47.98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006236/1.706, allocations: 96 kB / 0.8092 GB, free: 47.89 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002879/1.707, allocations: 170 kB / 0.8094 GB, free: 47.71 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009743/1.708, allocations: 458.4 kB / 0.8098 GB, free: 47.24 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/1.708, allocations: 0 / 0.8098 GB, free: 47.24 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004965/1.708, allocations: 238.5 kB / 0.8101 GB, free: 47 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001462/1.71, allocations: 156.4 kB / 0.8102 GB, free: 46.84 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/1.711, allocations: 0.5226 MB / 0.8107 GB, free: 46.29 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/1.711, allocations: 0.7687 MB / 0.8115 GB, free: 45.49 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/1.711, allocations: 31.42 kB / 0.8115 GB, free: 45.46 MB / 426.7 MB Notification: Performance of SimCode: time 1.012e-06/1.711, allocations: 0 / 0.8115 GB, free: 45.46 MB / 426.7 MB Notification: Performance of Templates: time 0.01156/1.723, allocations: 6.228 MB / 0.8176 GB, free: 39.23 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches