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.001266/0.001266, allocations: 106.2 kB / 18.4 MB, free: 4.703 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.001051/0.001051, allocations: 194.3 kB / 19.33 MB, free: 3.781 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.3/1.3, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001102/0.001102, allocations: 55.92 kB / 329.2 MB, free: 3.262 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09091/0.09202, allocations: 46.61 MB / 375.9 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.2164/0.3085, allocations: 24.58 MB / 400.4 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004487/0.313, allocations: 2.483 MB / 402.9 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003515/0.3135, allocations: 8.062 kB / 402.9 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006656/0.3141, allocations: 162.7 kB / 403.1 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008094/0.315, allocations: 319.4 kB / 403.4 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002879/0.3178, allocations: 0.9707 MB / 404.4 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0017/0.3196, allocations: 0.9001 MB / 405.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002612/0.3198, allocations: 109.5 kB / 405.4 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005168/0.325, allocations: 2.725 MB / 408.1 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005164/0.3256, allocations: 274.1 kB / 408.4 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.265e-05/0.3256, allocations: 31.12 kB / 408.4 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006653/0.3263, allocations: 237.8 kB / 408.6 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.3264, allocations: 98.67 kB / 408.7 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002493/0.3267, allocations: 191.9 kB / 408.9 MB, free: 9.922 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008398/0.3275, allocations: 0.5851 MB / 409.5 MB, free: 9.531 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3276, allocations: 0 / 409.5 MB, free: 9.531 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3276, allocations: 0 / 409.5 MB, free: 9.531 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.3276, allocations: 0 / 409.5 MB, free: 9.531 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.0009111/0.3285, allocations: 0.6242 MB / 410.1 MB, free: 8.973 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.3285, allocations: 13.8 kB / 410.1 MB, free: 8.969 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003853/0.3289, allocations: 49.3 kB / 410.2 MB, free: 8.949 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004619/0.3294, allocations: 300.3 kB / 410.5 MB, free: 8.656 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.3294, allocations: 19.34 kB / 410.5 MB, free: 8.648 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.336e-05/0.3295, allocations: 29.06 kB / 410.5 MB, free: 8.637 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005229/0.33, allocations: 336.5 kB / 410.9 MB, free: 8.383 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.3301, allocations: 1.062 kB / 410.9 MB, free: 8.383 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.734e-05/0.3301, allocations: 12.44 kB / 410.9 MB, free: 8.375 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.3301, allocations: 8.078 kB / 410.9 MB, free: 8.375 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003043/0.3304, allocations: 191.8 kB / 411.1 MB, free: 8.285 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.002199/0.3326, allocations: 2.116 MB / 413.2 MB, free: 6.141 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003239/0.333, allocations: 183.8 kB / 413.4 MB, free: 6.043 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/0.3331, allocations: 83.67 kB / 413.4 MB, free: 6 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001866/0.3333, allocations: 253.7 kB / 413.7 MB, free: 5.707 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.3334, allocations: 36.06 kB / 413.7 MB, free: 5.664 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.733e-06/0.3334, allocations: 1.375 kB / 413.7 MB, free: 5.664 MB / 334.1 MB Notification: Performance of matching and sorting (n=30): time 0.002587/0.336, allocations: 1.018 MB / 414.7 MB, free: 4.953 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.336, allocations: 55.16 kB / 414.8 MB, free: 4.891 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002904/0.3363, allocations: 268.7 kB / 415.1 MB, free: 4.707 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.577e-05/0.3363, allocations: 31.73 kB / 415.1 MB, free: 4.672 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.3365, allocations: 178.7 kB / 415.3 MB, free: 4.508 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.925e-05/0.3366, allocations: 110.9 kB / 415.4 MB, free: 4.41 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.3367, allocations: 73.88 kB / 415.5 MB, free: 4.359 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.3368, allocations: 341.2 kB / 415.8 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.337, allocations: 89.2 kB / 415.9 MB, free: 3.98 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002062/0.3372, allocations: 171.5 kB / 416 MB, free: 3.836 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003771/0.3376, allocations: 278.2 kB / 416.3 MB, free: 3.637 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3376, allocations: 1.062 kB / 416.3 MB, free: 3.637 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006018/0.3382, allocations: 381.1 kB / 416.7 MB, free: 3.434 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.3382, allocations: 6.125 kB / 416.7 MB, free: 3.434 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.3382, allocations: 2.719 kB / 416.7 MB, free: 3.434 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004042/0.3386, allocations: 91.7 kB / 416.8 MB, free: 3.395 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/0.3389, allocations: 74.27 kB / 416.9 MB, free: 3.371 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005211/0.3395, allocations: 0.6592 MB / 417.5 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000184/0.3396, allocations: 8.25 kB / 417.5 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.688e-05/0.3397, allocations: 17.62 kB / 417.5 MB, free: 2.758 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.000221/0.3399, allocations: 154.7 kB / 417.7 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.11e-05/0.34, allocations: 35.56 kB / 417.7 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006409/0.3406, allocations: 380.2 kB / 418.1 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.3407, allocations: 1.906 kB / 418.1 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3407, allocations: 5.156 kB / 418.1 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005253/0.3412, allocations: 0.547 MB / 418.6 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.3423, allocations: 0.7448 MB / 419.4 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.3423, allocations: 0 / 419.4 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.3425, allocations: 30.89 kB / 419.4 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004846/0.343, allocations: 116.6 kB / 419.5 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.72e-05/0.343, allocations: 6.562 kB / 419.5 MB, free: 1.109 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004795/0.3435, allocations: 0.6307 MB / 420.2 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3435, allocations: 5.75 kB / 420.2 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007415/0.3443, allocations: 493.5 kB / 420.7 MB, free: 184 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.826e-05/0.3444, allocations: 96.48 kB / 420.8 MB, free: 76 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.146e-05/0.3444, allocations: 6.375 kB / 420.8 MB, free: 72 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000223/0.3447, allocations: 16.11 kB / 420.8 MB, free: 60 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.185e-05/0.3447, allocations: 11.77 kB / 420.8 MB, free: 56 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.155e-05/0.3447, allocations: 18.36 kB / 420.8 MB, free: 48 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002188/0.345, allocations: 195.4 kB / 421 MB, free: 15.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.345, allocations: 0 / 421 MB, free: 15.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004738/0.3454, allocations: 110.5 kB / 421.1 MB, free: 15.9 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.0002644/0.3457, allocations: 152.5 kB / 421.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004925/0.3462, allocations: 248.6 kB / 421.5 MB, free: 15.67 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3462, allocations: 0 / 421.5 MB, free: 15.67 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002459/0.3465, allocations: 122.3 kB / 421.6 MB, free: 15.62 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008944/0.3474, allocations: 175.1 kB / 421.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.3486, allocations: 0.6805 MB / 422.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.3489, allocations: 0.7652 MB / 423.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.976e-05/0.349, allocations: 34.67 kB / 423.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3491, allocations: 0 / 423.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of Templates: time 0.009447/0.3585, allocations: 6.467 MB / 429.7 MB, free: 8.688 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/jenkins1/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/jenkins1/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