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.001068/0.001068, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001742/0.002811, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.001113/0.001113, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001497/0.002609, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.867/0.867, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1593/1.026, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.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.162e-06/1.162e-06, allocations: 0 / 222 MB, free: 24 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.548e-05/1.664e-05, allocations: 2.312 kB / 222 MB, free: 20 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.007641/0.007657, allocations: 9.48 MB / 231.5 MB, free: 6.488 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00089/0.008547, allocations: 0.6384 MB / 232.2 MB, free: 5.848 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.008648, allocations: 7.938 kB / 232.2 MB, free: 5.84 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002288/0.008877, allocations: 95.3 kB / 232.3 MB, free: 5.746 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003656/0.009242, allocations: 337.8 kB / 232.6 MB, free: 5.414 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009995/0.01024, allocations: 0.6621 MB / 233.2 MB, free: 4.75 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005669/0.01081, allocations: 0.8792 MB / 234.1 MB, free: 3.867 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.01094, allocations: 70.8 kB / 234.2 MB, free: 3.801 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001502/0.01244, allocations: 1.332 MB / 235.5 MB, free: 2.465 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002187/0.01266, allocations: 239.2 kB / 235.8 MB, free: 2.23 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.589e-05/0.01269, allocations: 28 kB / 235.8 MB, free: 2.203 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002531/0.01295, allocations: 183.6 kB / 236 MB, free: 2.023 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.864e-05/0.01302, allocations: 79.77 kB / 236 MB, free: 1.945 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.737e-05/0.01311, allocations: 119.8 kB / 236.2 MB, free: 1.828 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003299/0.01344, allocations: 343 kB / 236.5 MB, free: 1.492 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.01345, allocations: 0 / 236.5 MB, free: 1.492 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.01345, allocations: 0 / 236.5 MB, free: 1.492 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.01346, allocations: 0 / 236.5 MB, free: 1.492 MB / 234.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.0006571/0.01412, allocations: 0.601 MB / 237.1 MB, free: 0.8672 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.01415, allocations: 12.03 kB / 237.1 MB, free: 0.8555 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003654/0.01452, allocations: 177.6 kB / 237.3 MB, free: 0.6641 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002868/0.01481, allocations: 216.9 kB / 237.5 MB, free: 436 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.01482, allocations: 17.03 kB / 237.5 MB, free: 416 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.347e-05/0.01487, allocations: 32.38 kB / 237.5 MB, free: 384 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003535/0.01522, allocations: 495.4 kB / 238 MB, free: 15.8 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.01523, allocations: 192 / 238 MB, free: 15.8 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.519e-05/0.01526, allocations: 24.12 kB / 238 MB, free: 15.77 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.465e-06/0.01527, allocations: 8 kB / 238.1 MB, free: 15.77 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.01537, allocations: 95.23 kB / 238.1 MB, free: 15.68 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009738/0.01634, allocations: 1.242 MB / 239.4 MB, free: 14.38 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.01648, allocations: 110.4 kB / 239.5 MB, free: 14.27 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.175e-05/0.01652, allocations: 40.84 kB / 239.5 MB, free: 14.22 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.556e-05/0.01657, allocations: 19.98 kB / 239.6 MB, free: 14.2 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.01659, allocations: 34.56 kB / 239.6 MB, free: 14.16 MB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 1.222e-06/0.01659, allocations: 0 / 239.6 MB, free: 14.16 MB / 250.7 MB Notification: Performance of matching and sorting (n=30): time 0.001362/0.01795, allocations: 0.7168 MB / 240.3 MB, free: 13.41 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/0.01798, allocations: 55.41 kB / 240.4 MB, free: 13.34 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.01811, allocations: 224.9 kB / 240.6 MB, free: 13.11 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.885e-05/0.01813, allocations: 33.64 kB / 240.6 MB, free: 13.07 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.155e-05/0.0182, allocations: 180.3 kB / 240.8 MB, free: 12.89 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.737e-05/0.01825, allocations: 103.1 kB / 240.9 MB, free: 12.79 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-05/0.01831, allocations: 81.98 kB / 241 MB, free: 12.7 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.297e-05/0.01838, allocations: 334.8 kB / 241.3 MB, free: 12.36 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.713e-05/0.01842, allocations: 32.73 kB / 241.3 MB, free: 12.33 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.686e-05/0.0185, allocations: 110.9 kB / 241.4 MB, free: 12.19 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/0.01865, allocations: 204.9 kB / 241.6 MB, free: 11.96 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.01865, allocations: 0 / 241.6 MB, free: 11.96 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002155/0.01886, allocations: 226 kB / 241.9 MB, free: 11.73 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.01888, allocations: 4 kB / 241.9 MB, free: 11.72 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.01889, allocations: 4 kB / 241.9 MB, free: 11.72 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002054/0.01909, allocations: 76.77 kB / 241.9 MB, free: 11.64 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/0.01928, allocations: 84.2 kB / 242 MB, free: 11.56 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002883/0.01957, allocations: 0.5679 MB / 242.6 MB, free: 10.96 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.402e-05/0.01966, allocations: 11.94 kB / 242.6 MB, free: 10.95 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/0.01968, allocations: 16 kB / 242.6 MB, free: 10.94 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.118e-05/0.01977, allocations: 144.5 kB / 242.8 MB, free: 10.79 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.691e-05/0.0198, allocations: 23.98 kB / 242.8 MB, free: 10.76 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002802/0.02008, allocations: 260.9 kB / 243 MB, free: 10.48 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.02009, allocations: 8.031 kB / 243 MB, free: 10.48 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.02009, allocations: 3.938 kB / 243.1 MB, free: 10.47 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002254/0.02032, allocations: 473.4 kB / 243.5 MB, free: 9.918 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004423/0.02076, allocations: 441.4 kB / 243.9 MB, free: 9.453 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.02076, allocations: 0 / 243.9 MB, free: 9.453 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.02087, allocations: 51.89 kB / 244 MB, free: 9.402 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.519e-05/0.0209, allocations: 19.86 kB / 244 MB, free: 9.383 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000233/0.02113, allocations: 92.7 kB / 244.1 MB, free: 9.289 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.02114, allocations: 4 kB / 244.1 MB, free: 9.285 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000254/0.0214, allocations: 0.5717 MB / 244.7 MB, free: 8.688 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.0214, allocations: 0 / 244.7 MB, free: 8.688 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000283/0.02168, allocations: 322.3 kB / 245 MB, free: 8.348 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.02171, allocations: 8 kB / 245 MB, free: 8.34 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.02181, allocations: 11.94 kB / 245 MB, free: 8.328 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.611e-05/0.02184, allocations: 27.77 kB / 245 MB, free: 8.301 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.02185, allocations: 7.984 kB / 245.1 MB, free: 8.293 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.801e-05/0.02191, allocations: 78.77 kB / 245.1 MB, free: 8.215 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02191, allocations: 0 / 245.1 MB, free: 8.215 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002333/0.02214, allocations: 107.9 kB / 245.2 MB, free: 8.109 MB / 250.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.0002231/0.02237, allocations: 124.3 kB / 245.4 MB, free: 7.977 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002405/0.02261, allocations: 159.2 kB / 245.5 MB, free: 7.82 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.161e-05/0.02262, allocations: 4 kB / 245.5 MB, free: 7.816 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.02274, allocations: 101.8 kB / 245.6 MB, free: 7.715 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006331/0.02337, allocations: 0.8285 MB / 246.4 MB, free: 6.738 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004203/0.02758, allocations: 0.5721 MB / 247 MB, free: 6.133 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.438e-05/0.02763, allocations: 92.56 kB / 247.1 MB, free: 6.023 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001687/0.0278, allocations: 54.86 kB / 247.2 MB, free: 5.969 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002612/0.02806, allocations: 165.2 kB / 247.3 MB, free: 5.805 MB / 250.7 MB Notification: Performance of SimCode: time 9.71e-07/0.02806, allocations: 4 kB / 247.3 MB, free: 5.801 MB / 250.7 MB Notification: Performance of Templates: time 0.008646/0.03671, allocations: 7.397 MB / 254.7 MB, free: 14.42 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8070413041859865]