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.002799/0.002804, allocations: 188.9 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.469/3.469, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.00179/0.00179, allocations: 90.86 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006548/0.000655, allocations: 8 kB / 327 MB, free: 15.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1619, allocations: 47.58 MB / 374.6 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.04889/0.2109, allocations: 14.19 MB / 388.8 MB, free: 1.176 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.42/0.631, allocations: 1.62 MB / 390.4 MB, free: 9.168 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000547/0.6316, allocations: 5.281 kB / 390.4 MB, free: 9.168 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001215/0.6329, allocations: 128.6 kB / 390.5 MB, free: 9.168 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001589/0.6345, allocations: 214.5 kB / 390.7 MB, free: 9.168 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005638/0.6402, allocations: 0.8123 MB / 391.5 MB, free: 9.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002244/0.6425, allocations: 497.3 kB / 392 MB, free: 9.156 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004735/0.6431, allocations: 70.47 kB / 392.1 MB, free: 9.152 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0125/0.6556, allocations: 2.49 MB / 394.6 MB, free: 9.117 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008738/0.6565, allocations: 172.5 kB / 394.7 MB, free: 9.117 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001648/0.6567, allocations: 14.16 kB / 394.7 MB, free: 9.117 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001703/0.6585, allocations: 211.2 kB / 395 MB, free: 9.117 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003643/0.6589, allocations: 73.67 kB / 395 MB, free: 9.117 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003548/0.6593, allocations: 96.84 kB / 395.1 MB, free: 9.082 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001914/0.6612, allocations: 443.2 kB / 395.6 MB, free: 9.051 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.6613, allocations: 0 / 395.6 MB, free: 9.051 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.527e-06/0.6613, allocations: 1.062 kB / 395.6 MB, free: 9.051 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.267e-05/0.6614, allocations: 0 / 395.6 MB, free: 9.051 MB / 282.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.001957/0.6633, allocations: 0.5492 MB / 396.1 MB, free: 8.598 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.101e-05/0.6635, allocations: 8.281 kB / 396.1 MB, free: 8.598 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/0.6646, allocations: 55.36 kB / 396.2 MB, free: 8.578 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.6658, allocations: 284.8 kB / 396.4 MB, free: 8.363 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.817e-05/0.6659, allocations: 21.25 kB / 396.5 MB, free: 8.363 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/0.666, allocations: 24.75 kB / 396.5 MB, free: 8.363 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/0.6675, allocations: 330.8 kB / 396.8 MB, free: 8.242 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.272e-05/0.6676, allocations: 4.188 kB / 396.8 MB, free: 8.242 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/0.6677, allocations: 11.81 kB / 396.8 MB, free: 8.242 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.453e-05/0.6678, allocations: 8.031 kB / 396.8 MB, free: 8.242 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009571/0.6687, allocations: 193.7 kB / 397 MB, free: 8.238 MB / 282.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.005151/0.6739, allocations: 2.118 MB / 399.1 MB, free: 6.461 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008493/0.6749, allocations: 183.4 kB / 399.3 MB, free: 6.434 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003695/0.6753, allocations: 251.5 kB / 399.6 MB, free: 6.152 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.928e-05/0.6754, allocations: 40.12 kB / 399.6 MB, free: 6.113 MB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 4.999e-06/0.6754, allocations: 0 / 399.6 MB, free: 6.113 MB / 282.7 MB Notification: Performance of matching and sorting (n=30): time 0.006696/0.6821, allocations: 1.021 MB / 400.6 MB, free: 5.684 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.6822, allocations: 55.55 kB / 400.7 MB, free: 5.621 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006495/0.6829, allocations: 255.5 kB / 400.9 MB, free: 5.52 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001317/0.683, allocations: 34.33 kB / 401 MB, free: 5.488 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001939/0.6832, allocations: 245.7 kB / 401.2 MB, free: 5.289 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001817/0.6834, allocations: 104.2 kB / 401.3 MB, free: 5.223 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.212e-05/0.6835, allocations: 8.812 kB / 401.3 MB, free: 5.223 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.6836, allocations: 327.4 kB / 401.6 MB, free: 4.91 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004081/0.6841, allocations: 84.27 kB / 401.7 MB, free: 4.91 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004847/0.6846, allocations: 168 kB / 401.9 MB, free: 4.816 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004966/0.6851, allocations: 113.1 kB / 402 MB, free: 4.812 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.6851, allocations: 3.422 kB / 402 MB, free: 4.812 MB / 282.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001621/0.6868, allocations: 364.7 kB / 402.4 MB, free: 4.758 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.098e-05/0.6869, allocations: 5.875 kB / 402.4 MB, free: 4.758 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.866e-05/0.6869, allocations: 3.922 kB / 402.4 MB, free: 4.758 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001088/0.688, allocations: 104.8 kB / 402.5 MB, free: 4.742 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008103/0.6889, allocations: 61.45 kB / 402.5 MB, free: 4.742 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001193/0.6901, allocations: 0.6561 MB / 403.2 MB, free: 4.219 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007559/0.6909, allocations: 16.14 kB / 403.2 MB, free: 4.219 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.841e-05/0.691, allocations: 21.66 kB / 403.2 MB, free: 4.215 MB / 282.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.0004365/0.6915, allocations: 152.9 kB / 403.4 MB, free: 4.102 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001813/0.6917, allocations: 36.23 kB / 403.4 MB, free: 4.086 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00176/0.6935, allocations: 373.7 kB / 403.8 MB, free: 3.984 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-05/0.6936, allocations: 7.078 kB / 403.8 MB, free: 3.98 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.6937, allocations: 0.5625 kB / 403.8 MB, free: 3.98 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001252/0.6949, allocations: 0.5569 MB / 404.3 MB, free: 3.523 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003155/0.6981, allocations: 0.7386 MB / 405.1 MB, free: 3.191 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/0.6982, allocations: 7.828 kB / 405.1 MB, free: 3.188 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004704/0.6987, allocations: 32.64 kB / 405.1 MB, free: 3.188 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001311/0.7, allocations: 101 kB / 405.2 MB, free: 3.18 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.451e-05/0.7002, allocations: 5.312 kB / 405.2 MB, free: 3.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001054/0.7013, allocations: 0.6434 MB / 405.9 MB, free: 2.652 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.126e-06/0.7013, allocations: 1.438 kB / 405.9 MB, free: 2.652 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002127/0.7035, allocations: 0.5009 MB / 406.4 MB, free: 2.43 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003375/0.7039, allocations: 113.6 kB / 406.5 MB, free: 2.32 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001528/0.7041, allocations: 5.156 kB / 406.5 MB, free: 2.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008109/0.7049, allocations: 13.27 kB / 406.5 MB, free: 2.32 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.7051, allocations: 14.91 kB / 406.5 MB, free: 2.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/0.7052, allocations: 17.12 kB / 406.5 MB, free: 2.32 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005828/0.7058, allocations: 194.3 kB / 406.7 MB, free: 2.238 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.81e-07/0.7058, allocations: 4 kB / 406.7 MB, free: 2.234 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001389/0.7072, allocations: 112.7 kB / 406.8 MB, free: 2.23 MB / 282.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.0006332/0.7079, allocations: 151.8 kB / 407 MB, free: 2.129 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001454/0.7094, allocations: 238.6 kB / 407.2 MB, free: 2.125 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/0.7095, allocations: 4.969 kB / 407.2 MB, free: 2.121 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008105/0.7104, allocations: 125.4 kB / 407.3 MB, free: 2.113 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002733/0.7131, allocations: 147.3 kB / 407.5 MB, free: 2.102 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0031/0.7163, allocations: 0.7804 MB / 408.3 MB, free: 1.684 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004336/0.7168, allocations: 0.7719 MB / 409 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003315/0.7172, allocations: 35.53 kB / 409.1 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of SimCode: time 1.583e-06/0.7172, allocations: 0 / 409.1 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of Templates: time 0.02722/0.7444, allocations: 6.252 MB / 415.3 MB, free: 14.18 MB / 298.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