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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009593/0.0009593, allocations: 79.73 kB / 21.97 MB, free: 2.598 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009762/0.0009762, allocations: 166.9 kB / 25.33 MB, free: 8.594 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8307/0.8307, allocations: 158.6 MB / 187.2 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 251.1 MB, free: 7.465 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.942e-05/2.084e-05, allocations: 2.312 kB / 251.1 MB, free: 7.461 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.007644/0.007665, allocations: 9.437 MB / 260.5 MB, free: 13.97 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007929/0.008458, allocations: 0.6113 MB / 261.1 MB, free: 13.36 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.00857, allocations: 8 kB / 261.2 MB, free: 13.35 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003105/0.008881, allocations: 95.28 kB / 261.2 MB, free: 13.25 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004176/0.009298, allocations: 325.8 kB / 261.6 MB, free: 12.93 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.01032, allocations: 0.6739 MB / 262.2 MB, free: 12.26 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006351/0.01095, allocations: 0.8793 MB / 263.1 MB, free: 11.38 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.01109, allocations: 72.75 kB / 263.2 MB, free: 11.3 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00155/0.01264, allocations: 1.36 MB / 264.5 MB, free: 9.941 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000258/0.0129, allocations: 251.2 kB / 264.8 MB, free: 9.695 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.237e-05/0.01294, allocations: 28 kB / 264.8 MB, free: 9.668 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000245/0.01318, allocations: 175.6 kB / 265 MB, free: 9.496 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.017e-05/0.01326, allocations: 103.6 kB / 265.1 MB, free: 9.395 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.01337, allocations: 143.7 kB / 265.2 MB, free: 9.254 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000374/0.01375, allocations: 386.8 kB / 265.6 MB, free: 8.875 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.01375, allocations: 0 / 265.6 MB, free: 8.875 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.01375, allocations: 0 / 265.6 MB, free: 8.875 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.01376, allocations: 0 / 265.6 MB, free: 8.875 MB / 250.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.0005703/0.01433, allocations: 0.6479 MB / 266.3 MB, free: 8.191 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.01436, allocations: 19.91 kB / 266.3 MB, free: 8.172 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002549/0.01461, allocations: 100.3 kB / 266.4 MB, free: 8.074 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002996/0.01491, allocations: 247.7 kB / 266.6 MB, free: 7.805 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.01494, allocations: 21.03 kB / 266.6 MB, free: 7.785 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.731e-05/0.015, allocations: 36.38 kB / 266.7 MB, free: 7.75 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003812/0.01538, allocations: 0.5193 MB / 267.2 MB, free: 7.125 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.01539, allocations: 4.172 kB / 267.2 MB, free: 7.121 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.706e-05/0.01542, allocations: 20.11 kB / 267.2 MB, free: 7.102 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.01543, allocations: 8 kB / 267.2 MB, free: 7.094 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001581/0.01559, allocations: 126.8 kB / 267.4 MB, free: 6.969 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001164/0.01675, allocations: 1.848 MB / 269.2 MB, free: 5.043 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.01694, allocations: 135 kB / 269.3 MB, free: 4.898 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.574e-05/0.01701, allocations: 51.66 kB / 269.4 MB, free: 4.844 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.796e-05/0.01705, allocations: 23.98 kB / 269.4 MB, free: 4.82 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.01707, allocations: 33.39 kB / 269.4 MB, free: 4.777 MB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 1.242e-06/0.01707, allocations: 4 kB / 269.4 MB, free: 4.773 MB / 250.7 MB Notification: Performance of matching and sorting (n=30): time 0.001346/0.01842, allocations: 0.7595 MB / 270.2 MB, free: 3.973 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.376e-05/0.01844, allocations: 59.34 kB / 270.3 MB, free: 3.902 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.0186, allocations: 280.2 kB / 270.5 MB, free: 3.609 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.01863, allocations: 33.7 kB / 270.6 MB, free: 3.57 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.806e-05/0.01871, allocations: 243.1 kB / 270.8 MB, free: 3.328 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.062e-05/0.01876, allocations: 103.1 kB / 270.9 MB, free: 3.227 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.446e-05/0.01884, allocations: 79.69 kB / 271 MB, free: 3.141 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.01895, allocations: 0.5001 MB / 271.5 MB, free: 2.629 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.366e-05/0.01903, allocations: 56.7 kB / 271.5 MB, free: 2.574 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.01914, allocations: 162 kB / 271.7 MB, free: 2.371 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002069/0.01935, allocations: 244.3 kB / 271.9 MB, free: 2.086 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.01935, allocations: 3.938 kB / 271.9 MB, free: 2.082 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003188/0.01967, allocations: 312.8 kB / 272.2 MB, free: 1.766 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.01968, allocations: 11.94 kB / 272.3 MB, free: 1.754 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.01969, allocations: 4 kB / 272.3 MB, free: 1.75 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002392/0.01993, allocations: 83.55 kB / 272.3 MB, free: 1.664 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.02007, allocations: 67.91 kB / 272.4 MB, free: 1.598 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000357/0.02043, allocations: 0.8663 MB / 273.3 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.82e-05/0.0205, allocations: 12 kB / 273.3 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.02053, allocations: 19.98 kB / 273.3 MB, free: 0.668 MB / 250.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 (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 9.501e-05/0.02062, allocations: 180.5 kB / 273.5 MB, free: 492 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.493e-05/0.02067, allocations: 39.81 kB / 273.5 MB, free: 452 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003548/0.02102, allocations: 331 kB / 273.8 MB, free: 88 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.02103, allocations: 7.938 kB / 273.8 MB, free: 80 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.02103, allocations: 0 / 273.8 MB, free: 80 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002889/0.02132, allocations: 0.5039 MB / 274.4 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005681/0.02189, allocations: 0.6252 MB / 275 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.02189, allocations: 0 / 275 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.844e-05/0.02197, allocations: 39.91 kB / 275 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002373/0.0222, allocations: 91.55 kB / 275.1 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.02222, allocations: 4 kB / 275.1 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003173/0.02254, allocations: 0.8507 MB / 276 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.02254, allocations: 8.094 kB / 276 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003825/0.02292, allocations: 442.9 kB / 276.4 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.282e-05/0.02294, allocations: 19.84 kB / 276.4 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.93e-05/0.02297, allocations: 11.94 kB / 276.4 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.02307, allocations: 8 kB / 276.4 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.434e-05/0.0231, allocations: 19.97 kB / 276.5 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.02311, allocations: 11.98 kB / 276.5 MB, free: 13.24 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001015/0.02321, allocations: 201.1 kB / 276.7 MB, free: 13.04 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02321, allocations: 4.031 kB / 276.7 MB, free: 13.04 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002502/0.02346, allocations: 103.9 kB / 276.8 MB, free: 12.94 MB / 266.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 (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.0001574/0.02362, allocations: 143 kB / 276.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003012/0.02392, allocations: 190.2 kB / 277.1 MB, free: 12.6 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.02393, allocations: 4 kB / 277.1 MB, free: 12.6 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.02406, allocations: 109.7 kB / 277.2 MB, free: 12.49 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004524/0.02452, allocations: 151.9 kB / 277.4 MB, free: 12.34 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009005/0.02542, allocations: 0.5805 MB / 277.9 MB, free: 11.72 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.955e-05/0.02547, allocations: 92.56 kB / 278 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001386/0.0256, allocations: 66.84 kB / 278.1 MB, free: 11.55 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.009e-05/0.02565, allocations: 24.5 kB / 278.1 MB, free: 11.53 MB / 266.7 MB Notification: Performance of SimCode: time 7.02e-07/0.02565, allocations: 0 / 278.1 MB, free: 11.53 MB / 266.7 MB Notification: Performance of Templates: time 0.007638/0.03329, allocations: 6.79 MB / 284.9 MB, free: 4.773 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7233240217901766]