Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 106.6 kB / 17.73 MB, free: 5.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 191 kB / 18.66 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 52.36 kB / 328.6 MB, free: 3.266 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09895/0.1002, allocations: 46.62 MB / 375.2 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.2423/0.3425, allocations: 24.58 MB / 399.8 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004037/0.3466, allocations: 2.485 MB / 402.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002008/0.3469, allocations: 7.375 kB / 402.3 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006846/0.3476, allocations: 162.3 kB / 402.4 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007536/0.3483, allocations: 328 kB / 402.7 MB, free: 12 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00282/0.3512, allocations: 0.9622 MB / 403.7 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001281/0.3525, allocations: 0.8996 MB / 404.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000223/0.3527, allocations: 108.6 kB / 404.7 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005147/0.3579, allocations: 2.729 MB / 407.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004857/0.3584, allocations: 273 kB / 407.7 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.648e-05/0.3584, allocations: 30.25 kB / 407.7 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007112/0.3592, allocations: 247.4 kB / 408 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.3593, allocations: 93.92 kB / 408.1 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002622/0.3596, allocations: 198.8 kB / 408.3 MB, free: 9.898 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008358/0.3604, allocations: 0.5696 MB / 408.8 MB, free: 9.523 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.3604, allocations: 1.188 kB / 408.8 MB, free: 9.523 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3604, allocations: 0 / 408.8 MB, free: 9.523 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.3605, allocations: 0 / 408.8 MB, free: 9.523 MB / 334.1 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.0009708/0.3614, allocations: 0.6275 MB / 409.5 MB, free: 8.961 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.64e-05/0.3615, allocations: 18.42 kB / 409.5 MB, free: 8.953 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003895/0.3619, allocations: 53.11 kB / 409.5 MB, free: 8.93 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005411/0.3624, allocations: 291.7 kB / 409.8 MB, free: 8.645 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.3625, allocations: 20.16 kB / 409.8 MB, free: 8.637 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.095e-05/0.3625, allocations: 24.66 kB / 409.9 MB, free: 8.629 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005938/0.3631, allocations: 340.9 kB / 410.2 MB, free: 8.371 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.3632, allocations: 5.219 kB / 410.2 MB, free: 8.367 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.925e-05/0.3632, allocations: 12.66 kB / 410.2 MB, free: 8.359 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.3632, allocations: 7.219 kB / 410.2 MB, free: 8.359 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003666/0.3636, allocations: 195.5 kB / 410.4 MB, free: 8.266 MB / 334.1 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.002349/0.366, allocations: 2.109 MB / 412.5 MB, free: 6.129 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003331/0.3663, allocations: 181.8 kB / 412.7 MB, free: 6.031 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.3665, allocations: 86.72 kB / 412.8 MB, free: 5.984 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001909/0.3667, allocations: 254.2 kB / 413 MB, free: 5.691 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.3667, allocations: 36.84 kB / 413.1 MB, free: 5.648 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.784e-06/0.3667, allocations: 0 / 413.1 MB, free: 5.648 MB / 334.1 MB Notification: Performance of matching and sorting (n=30): time 0.002616/0.3693, allocations: 1.017 MB / 414.1 MB, free: 4.941 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.3694, allocations: 54.56 kB / 414.1 MB, free: 4.879 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002652/0.3696, allocations: 274.2 kB / 414.4 MB, free: 4.691 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.3697, allocations: 30.86 kB / 414.4 MB, free: 4.656 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.3698, allocations: 178.8 kB / 414.6 MB, free: 4.492 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.53e-05/0.3699, allocations: 107.7 kB / 414.7 MB, free: 4.398 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.37, allocations: 69.73 kB / 414.8 MB, free: 4.352 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.3701, allocations: 344.3 kB / 415.1 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.3703, allocations: 85.31 kB / 415.2 MB, free: 3.977 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.3705, allocations: 179.3 kB / 415.4 MB, free: 3.824 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004038/0.3709, allocations: 282 kB / 415.6 MB, free: 3.621 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.3709, allocations: 0 / 415.6 MB, free: 3.621 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006074/0.3715, allocations: 376.9 kB / 416 MB, free: 3.426 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.3716, allocations: 6.312 kB / 416 MB, free: 3.426 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.3716, allocations: 6.188 kB / 416 MB, free: 3.422 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004486/0.372, allocations: 97.41 kB / 416.1 MB, free: 3.375 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002534/0.3723, allocations: 66.78 kB / 416.2 MB, free: 3.359 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006153/0.3729, allocations: 0.6537 MB / 416.8 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/0.3731, allocations: 12.38 kB / 416.8 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.083e-05/0.3732, allocations: 14.59 kB / 416.9 MB, free: 2.75 MB / 334.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001794/0.3734, allocations: 150.5 kB / 417 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.941e-05/0.3735, allocations: 43.53 kB / 417.1 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000683/0.3741, allocations: 382.2 kB / 417.4 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.3742, allocations: 1.031 kB / 417.4 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.3742, allocations: 5.266 kB / 417.4 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005979/0.3748, allocations: 0.5476 MB / 418 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/0.376, allocations: 0.7399 MB / 418.7 MB, free: 1.172 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.3761, allocations: 1.469 kB / 418.7 MB, free: 1.172 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001454/0.3762, allocations: 37.53 kB / 418.8 MB, free: 1.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004682/0.3767, allocations: 96.47 kB / 418.9 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.288e-05/0.3767, allocations: 6.312 kB / 418.9 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005016/0.3772, allocations: 0.6437 MB / 419.5 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.3772, allocations: 1.875 kB / 419.5 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007093/0.378, allocations: 493.8 kB / 420 MB, free: 180 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.914e-05/0.3781, allocations: 105.6 kB / 420.1 MB, free: 64 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.516e-05/0.3781, allocations: 5.719 kB / 420.1 MB, free: 60 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/0.3783, allocations: 11.94 kB / 420.1 MB, free: 52 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.3784, allocations: 13.33 kB / 420.1 MB, free: 48 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.959e-05/0.3784, allocations: 17.67 kB / 420.1 MB, free: 40 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001889/0.3786, allocations: 201.2 kB / 420.3 MB, free: 15.9 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3786, allocations: 2.531 kB / 420.3 MB, free: 15.9 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004558/0.3791, allocations: 112.6 kB / 420.4 MB, free: 15.88 MB / 350.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003034/0.3794, allocations: 144 kB / 420.6 MB, free: 15.76 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005276/0.3799, allocations: 247.6 kB / 420.8 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.3799, allocations: 1.156 kB / 420.8 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002867/0.3802, allocations: 122.3 kB / 420.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009593/0.3812, allocations: 177.2 kB / 421.1 MB, free: 15.51 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.3824, allocations: 0.6383 MB / 421.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.3827, allocations: 0.7656 MB / 422.5 MB, free: 14.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002529/0.383, allocations: 64.19 kB / 422.6 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.694e-05/0.383, allocations: 30.67 kB / 422.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.383, allocations: 0 / 422.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of Templates: time 0.01266/0.3957, allocations: 7.205 MB / 429.8 MB, free: 7.918 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Incompressible/Glycol47/Glycol47.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches