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.0007519/0.0007519, allocations: 68.19 kB / 9.935 MB, free: 0.75 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009347/0.001687, allocations: 445.7 kB / 10.37 MB, free: 324 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.0006923/0.0006923, allocations: 161.1 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008353/0.001528, allocations: 463.6 kB / 11.71 MB, free: 2.449 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.8807/0.8807, allocations: 158.6 MB / 171.1 MB, free: 2.586 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1497/1.03, allocations: 49.49 MB / 220.6 MB, free: 1.449 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.823e-06/1.823e-06, allocations: 0 / 221.9 MB, free: 140 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.332e-05/2.515e-05, allocations: 6.109 kB / 221.9 MB, free: 136 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.01275/0.01278, allocations: 9.472 MB / 231.4 MB, free: 6.613 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.01386, allocations: 0.6462 MB / 232 MB, free: 5.965 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.01399, allocations: 11.94 kB / 232 MB, free: 5.953 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003215/0.01431, allocations: 95.3 kB / 232.1 MB, free: 5.859 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000456/0.01476, allocations: 329.9 kB / 232.4 MB, free: 5.535 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001262/0.01602, allocations: 0.6582 MB / 233.1 MB, free: 4.875 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007794/0.0168, allocations: 0.8792 MB / 234 MB, free: 3.992 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001936/0.017, allocations: 74.8 kB / 234 MB, free: 3.922 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002082/0.01908, allocations: 1.332 MB / 235.4 MB, free: 2.586 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002596/0.01934, allocations: 235.3 kB / 235.6 MB, free: 2.355 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.593e-05/0.01938, allocations: 28 kB / 235.6 MB, free: 2.328 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002981/0.01967, allocations: 179.6 kB / 235.8 MB, free: 2.152 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.047e-05/0.01975, allocations: 79.78 kB / 235.9 MB, free: 2.074 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.01986, allocations: 119.8 kB / 236 MB, free: 1.957 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006999/0.02056, allocations: 343 kB / 236.3 MB, free: 1.621 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-05/0.02058, allocations: 0 / 236.3 MB, free: 1.621 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.02058, allocations: 0 / 236.3 MB, free: 1.621 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.806e-05/0.0206, allocations: 4 kB / 236.3 MB, free: 1.617 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.0006846/0.02129, allocations: 0.601 MB / 236.9 MB, free: 0.9922 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.02133, allocations: 8.031 kB / 236.9 MB, free: 0.9844 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003117/0.02164, allocations: 181.6 kB / 237.1 MB, free: 0.7891 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.02187, allocations: 213 kB / 237.3 MB, free: 0.5547 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.02189, allocations: 21.03 kB / 237.3 MB, free: 0.5312 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.673e-05/0.02193, allocations: 32.31 kB / 237.4 MB, free: 0.5 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003074/0.02224, allocations: 499.4 kB / 237.9 MB, free: 15.92 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.02225, allocations: 192 / 237.9 MB, free: 15.92 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/0.02227, allocations: 16.12 kB / 237.9 MB, free: 15.91 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.02228, allocations: 12 kB / 237.9 MB, free: 15.89 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.02239, allocations: 95.3 kB / 238 MB, free: 15.8 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009712/0.02336, allocations: 1.25 MB / 239.2 MB, free: 14.5 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.02349, allocations: 102.5 kB / 239.3 MB, free: 14.39 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.184e-05/0.02353, allocations: 36.84 kB / 239.4 MB, free: 14.35 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.106e-05/0.02358, allocations: 23.97 kB / 239.4 MB, free: 14.33 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.02361, allocations: 42.5 kB / 239.4 MB, free: 14.28 MB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 1.703e-06/0.02361, allocations: 0 / 239.4 MB, free: 14.28 MB / 250.7 MB Notification: Performance of matching and sorting (n=30): time 0.001428/0.02504, allocations: 0.7015 MB / 240.1 MB, free: 13.54 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/0.02506, allocations: 55.41 kB / 240.2 MB, free: 13.47 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.0252, allocations: 220.9 kB / 240.4 MB, free: 13.25 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.02522, allocations: 33.7 kB / 240.4 MB, free: 13.21 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.732e-05/0.0253, allocations: 176.3 kB / 240.6 MB, free: 13.03 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.809e-05/0.02536, allocations: 107.1 kB / 240.7 MB, free: 12.92 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.814e-05/0.02543, allocations: 70 kB / 240.8 MB, free: 12.85 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.903e-05/0.02552, allocations: 342.8 kB / 241.1 MB, free: 12.5 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.288e-05/0.02557, allocations: 40.72 kB / 241.2 MB, free: 12.46 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.741e-05/0.02565, allocations: 122.1 kB / 241.3 MB, free: 12.31 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001615/0.02582, allocations: 191.9 kB / 241.5 MB, free: 12.09 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.02582, allocations: 0 / 241.5 MB, free: 12.09 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002286/0.02605, allocations: 226 kB / 241.7 MB, free: 11.86 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.02607, allocations: 4 kB / 241.7 MB, free: 11.86 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.02608, allocations: 4 kB / 241.7 MB, free: 11.85 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002208/0.0263, allocations: 77.03 kB / 241.8 MB, free: 11.77 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/0.0265, allocations: 79.89 kB / 241.9 MB, free: 11.7 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003006/0.0268, allocations: 0.5718 MB / 242.4 MB, free: 11.1 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.67e-05/0.02688, allocations: 11.94 kB / 242.4 MB, free: 11.09 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.0269, allocations: 19.98 kB / 242.5 MB, free: 11.07 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.027e-05/0.02699, allocations: 132.6 kB / 242.6 MB, free: 10.93 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.228e-05/0.02704, allocations: 27.97 kB / 242.6 MB, free: 10.9 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003062/0.02734, allocations: 280.8 kB / 242.9 MB, free: 10.6 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.02735, allocations: 4 kB / 242.9 MB, free: 10.6 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.02735, allocations: 3.938 kB / 242.9 MB, free: 10.59 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005879/0.02794, allocations: 457.3 kB / 243.3 MB, free: 10.05 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004633/0.0284, allocations: 441.2 kB / 243.8 MB, free: 9.59 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.0284, allocations: 0 / 243.8 MB, free: 9.59 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.02852, allocations: 56.02 kB / 243.8 MB, free: 9.535 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.311e-05/0.02854, allocations: 19.86 kB / 243.8 MB, free: 9.516 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002354/0.02878, allocations: 88.64 kB / 243.9 MB, free: 9.426 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.02879, allocations: 3.984 kB / 243.9 MB, free: 9.422 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002462/0.02903, allocations: 0.5679 MB / 244.5 MB, free: 8.828 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.02904, allocations: 3.984 kB / 244.5 MB, free: 8.824 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002743/0.02931, allocations: 314.3 kB / 244.8 MB, free: 8.492 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.811e-05/0.02934, allocations: 12 kB / 244.8 MB, free: 8.48 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.48e-05/0.02944, allocations: 8 kB / 244.8 MB, free: 8.473 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.338e-05/0.02946, allocations: 27.75 kB / 244.9 MB, free: 8.445 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.02948, allocations: 11.94 kB / 244.9 MB, free: 8.434 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.713e-05/0.02953, allocations: 82.75 kB / 245 MB, free: 8.352 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02953, allocations: 0 / 245 MB, free: 8.352 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002359/0.02977, allocations: 103.9 kB / 245.1 MB, free: 8.25 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.0001794/0.02995, allocations: 128.2 kB / 245.2 MB, free: 8.113 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002332/0.03018, allocations: 151.6 kB / 245.3 MB, free: 7.965 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.308e-06/0.03019, allocations: 4 kB / 245.3 MB, free: 7.961 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.0303, allocations: 98.19 kB / 245.4 MB, free: 7.863 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.0307, allocations: 192.2 kB / 245.6 MB, free: 7.676 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004216/0.03492, allocations: 0.5689 MB / 246.2 MB, free: 7.074 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.824e-05/0.03498, allocations: 92.56 kB / 246.3 MB, free: 6.965 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001485/0.03513, allocations: 54.88 kB / 246.3 MB, free: 6.91 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002518/0.03538, allocations: 169.2 kB / 246.5 MB, free: 6.742 MB / 250.7 MB Notification: Performance of SimCode: time 1.083e-06/0.03538, allocations: 0 / 246.5 MB, free: 6.742 MB / 250.7 MB Notification: Performance of Templates: time 0.00842/0.0438, allocations: 7.267 MB / 253.8 MB, free: 15.49 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.723366287536919]