Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.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.Incompressible.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001679/0.001679, allocations: 181.2 kB / 17.41 MB, free: 4.402 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.702/1.702, allocations: 205.4 MB / 223.6 MB, free: 9.027 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.000801/0.0008009, allocations: 92.98 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000386/0.000386, allocations: 8 kB / 328.2 MB, free: 15.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.2426, allocations: 47.57 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4145/0.6572, allocations: 188.8 MB / 0.5513 GB, free: 50 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003179/0.6575, allocations: 102.8 kB / 0.5514 GB, free: 49.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5507/1.208, allocations: 178.9 MB / 0.7261 GB, free: 96.45 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.214e-06/1.208, allocations: 0 / 0.7261 GB, free: 96.45 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.897e-05/1.208, allocations: 4 kB / 0.7261 GB, free: 96.45 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.002101/1.21, allocations: 1.035 MB / 0.7271 GB, free: 95.36 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/1.21, allocations: 8.031 kB / 0.7271 GB, free: 95.35 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003716/1.211, allocations: 48.92 kB / 0.7272 GB, free: 95.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003182/1.211, allocations: 303.2 kB / 0.7275 GB, free: 94.98 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/1.211, allocations: 20.94 kB / 0.7275 GB, free: 94.96 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.065e-05/1.211, allocations: 24.38 kB / 0.7275 GB, free: 94.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004051/1.212, allocations: 330.8 kB / 0.7278 GB, free: 94.57 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/1.212, allocations: 8.031 kB / 0.7278 GB, free: 94.57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.446e-05/1.212, allocations: 15.94 kB / 0.7278 GB, free: 94.55 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/1.212, allocations: 8 kB / 0.7278 GB, free: 94.54 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002531/1.212, allocations: 189.5 kB / 0.728 GB, free: 94.36 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001522/1.214, allocations: 2.068 MB / 0.73 GB, free: 92.09 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/1.214, allocations: 178.5 kB / 0.7302 GB, free: 91.9 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/1.214, allocations: 91.2 kB / 0.7303 GB, free: 91.81 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001495/1.214, allocations: 254.8 kB / 0.7305 GB, free: 91.51 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/1.214, allocations: 38.84 kB / 0.7306 GB, free: 91.46 MB / 426.7 MB Notification: Performance of pre-optimization done (n=24): time 2.064e-06/1.214, allocations: 4 kB / 0.7306 GB, free: 91.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.002211/1.216, allocations: 1.023 MB / 0.7316 GB, free: 90.37 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/1.216, allocations: 51.41 kB / 0.7316 GB, free: 90.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002048/1.217, allocations: 274.4 kB / 0.7319 GB, free: 90.03 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/1.217, allocations: 29.7 kB / 0.7319 GB, free: 90 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.027e-05/1.217, allocations: 180.2 kB / 0.7321 GB, free: 89.82 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.225e-05/1.217, allocations: 106 kB / 0.7322 GB, free: 89.71 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.407e-05/1.217, allocations: 4 kB / 0.7322 GB, free: 89.71 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.631e-05/1.217, allocations: 342.8 kB / 0.7325 GB, free: 89.37 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/1.217, allocations: 92.7 kB / 0.7326 GB, free: 89.27 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/1.217, allocations: 166.6 kB / 0.7328 GB, free: 89.08 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002875/1.217, allocations: 274.9 kB / 0.733 GB, free: 88.78 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/1.217, allocations: 0 / 0.733 GB, free: 88.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004736/1.218, allocations: 373.6 kB / 0.7334 GB, free: 88.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/1.218, allocations: 10.19 kB / 0.7334 GB, free: 88.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/1.218, allocations: 4 kB / 0.7334 GB, free: 88.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003586/1.218, allocations: 101 kB / 0.7335 GB, free: 88.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002438/1.219, allocations: 63.91 kB / 0.7336 GB, free: 88.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004072/1.219, allocations: 0.6499 MB / 0.7342 GB, free: 87.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/1.219, allocations: 24 kB / 0.7342 GB, free: 87.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.07e-05/1.219, allocations: 16 kB / 0.7342 GB, free: 87.51 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001343/1.219, allocations: 153.8 kB / 0.7344 GB, free: 87.35 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.119e-05/1.219, allocations: 27.72 kB / 0.7344 GB, free: 87.32 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005369/1.22, allocations: 376.2 kB / 0.7348 GB, free: 86.94 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/1.22, allocations: 8 kB / 0.7348 GB, free: 86.93 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/1.22, allocations: 0 / 0.7348 GB, free: 86.93 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004645/1.22, allocations: 0.5748 MB / 0.7353 GB, free: 86.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008299/1.221, allocations: 0.7384 MB / 0.7361 GB, free: 85.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/1.221, allocations: 0 / 0.7361 GB, free: 85.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001304/1.221, allocations: 44.02 kB / 0.7361 GB, free: 85.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004152/1.222, allocations: 108.6 kB / 0.7362 GB, free: 85.31 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/1.222, allocations: 4 kB / 0.7362 GB, free: 85.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003398/1.222, allocations: 0.6421 MB / 0.7368 GB, free: 84.64 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/1.222, allocations: 0 / 0.7368 GB, free: 84.64 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005864/1.223, allocations: 497 kB / 0.7373 GB, free: 84.13 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.165e-05/1.223, allocations: 108.7 kB / 0.7374 GB, free: 84 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.291e-05/1.223, allocations: 4 kB / 0.7374 GB, free: 84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000226/1.223, allocations: 15.98 kB / 0.7374 GB, free: 83.98 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.401e-05/1.223, allocations: 15.92 kB / 0.7374 GB, free: 83.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-05/1.223, allocations: 19.98 kB / 0.7375 GB, free: 83.95 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001492/1.223, allocations: 190 kB / 0.7376 GB, free: 83.76 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.9e-07/1.223, allocations: 8 kB / 0.7377 GB, free: 83.75 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006059/1.224, allocations: 159.9 kB / 0.7378 GB, free: 83.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * 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 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003428/1.224, allocations: 242.1 kB / 0.738 GB, free: 83.36 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004343/1.225, allocations: 235.6 kB / 0.7383 GB, free: 83.13 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.225, allocations: 0 / 0.7383 GB, free: 83.13 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002166/1.225, allocations: 120.6 kB / 0.7384 GB, free: 83.01 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008425/1.226, allocations: 156.7 kB / 0.7385 GB, free: 82.86 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/1.227, allocations: 0.7988 MB / 0.7393 GB, free: 82.02 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001955/1.227, allocations: 0.7609 MB / 0.7401 GB, free: 81.24 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.418e-05/1.227, allocations: 39.41 kB / 0.7401 GB, free: 81.2 MB / 426.7 MB Notification: Performance of SimCode: time 3.5e-07/1.227, allocations: 3.938 kB / 0.7401 GB, free: 81.2 MB / 426.7 MB Notification: Performance of Templates: time 0.00785/1.235, allocations: 7.164 MB / 0.7471 GB, free: 74.03 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47 --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Incompressible/Glycol47/Glycol47.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches