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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001979/0.001979, allocations: 103.1 kB / 19.75 MB, free: 2.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002665/0.002665, allocations: 188.8 kB / 22.93 MB, free: 5.484 MB / 14.72 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 1.569/1.569, allocations: 207.6 MB / 233.5 MB, free: 10.99 MB / 190.1 MB " [Timeout remaining time 178] 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=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: 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.001764/0.001764, allocations: 51.92 kB / 345.4 MB, free: 10.42 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3237, allocations: 49.12 MB / 394.6 MB, free: 9.465 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.03045/0.3542, allocations: 24.87 MB / 419.4 MB, free: 7.492 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003943/0.3581, allocations: 2.523 MB / 422 MB, free: 5.465 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000296/0.3584, allocations: 11.5 kB / 422 MB, free: 5.457 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006793/0.3591, allocations: 162.7 kB / 422.1 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007897/0.3599, allocations: 332.1 kB / 422.5 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003083/0.3629, allocations: 0.9742 MB / 423.4 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002074/0.365, allocations: 0.8986 MB / 424.3 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002712/0.3653, allocations: 86.31 kB / 424.4 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005693/0.371, allocations: 2.741 MB / 427.1 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000752/0.3717, allocations: 296.2 kB / 427.4 MB, free: 2.301 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.192e-05/0.3718, allocations: 30.81 kB / 427.5 MB, free: 2.301 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008336/0.3726, allocations: 243.5 kB / 427.7 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001562/0.3728, allocations: 102.9 kB / 427.8 MB, free: 2.109 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003154/0.3731, allocations: 187 kB / 428 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000975/0.3741, allocations: 0.5798 MB / 428.6 MB, free: 1.621 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.3741, allocations: 1.344 kB / 428.6 MB, free: 1.621 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3741, allocations: 0 / 428.6 MB, free: 1.621 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.3741, allocations: 0 / 428.6 MB, free: 1.621 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.001171/0.3753, allocations: 0.6423 MB / 429.2 MB, free: 1.043 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.83e-05/0.3753, allocations: 13.86 kB / 429.2 MB, free: 1.039 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004643/0.3758, allocations: 48.73 kB / 429.3 MB, free: 1.02 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006421/0.3764, allocations: 296.9 kB / 429.6 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.3765, allocations: 20.94 kB / 429.6 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.849e-05/0.3765, allocations: 28.38 kB / 429.6 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006071/0.3771, allocations: 338.3 kB / 429.9 MB, free: 308 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.3772, allocations: 0 / 429.9 MB, free: 308 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.542e-05/0.3772, allocations: 16 kB / 430 MB, free: 292 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.3772, allocations: 8 kB / 430 MB, free: 284 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003439/0.3776, allocations: 189.5 kB / 430.2 MB, free: 96 kB / 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.002435/0.38, allocations: 2.119 MB / 432.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003331/0.3803, allocations: 174.6 kB / 432.4 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/0.3805, allocations: 80.7 kB / 432.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002198/0.3807, allocations: 251.3 kB / 432.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.3807, allocations: 34.56 kB / 432.8 MB, free: 13.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.593e-06/0.3807, allocations: 0 / 432.8 MB, free: 13.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.002734/0.3835, allocations: 1.035 MB / 433.8 MB, free: 12.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.3835, allocations: 51.41 kB / 433.9 MB, free: 11.97 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002905/0.3838, allocations: 262.6 kB / 434.1 MB, free: 11.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.72e-05/0.3838, allocations: 33.7 kB / 434.2 MB, free: 11.67 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.384, allocations: 184.5 kB / 434.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.764e-05/0.3841, allocations: 107.1 kB / 434.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.3842, allocations: 70.06 kB / 434.5 MB, free: 11.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.3844, allocations: 342.8 kB / 434.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.3845, allocations: 88.7 kB / 434.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002261/0.3847, allocations: 166.7 kB / 435.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000413/0.3852, allocations: 289 kB / 435.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3852, allocations: 7.938 kB / 435.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000635/0.3858, allocations: 373.9 kB / 435.8 MB, free: 9.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.3858, allocations: 8 kB / 435.8 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.3858, allocations: 0 / 435.8 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004497/0.3863, allocations: 101.1 kB / 435.9 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002509/0.3865, allocations: 63.91 kB / 435.9 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00061/0.3871, allocations: 0.6499 MB / 436.6 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.3873, allocations: 12 kB / 436.6 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.074e-05/0.3874, allocations: 23.92 kB / 436.6 MB, free: 9.098 MB / 350.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.0002154/0.3876, allocations: 161.7 kB / 436.8 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.375e-05/0.3877, allocations: 35.75 kB / 436.8 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006785/0.3883, allocations: 365 kB / 437.2 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.3883, allocations: 0 / 437.2 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.3883, allocations: 0 / 437.2 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005647/0.3889, allocations: 0.5513 MB / 437.7 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001216/0.3901, allocations: 0.7387 MB / 438.5 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.3901, allocations: 0 / 438.5 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000148/0.3903, allocations: 35.92 kB / 438.5 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005118/0.3908, allocations: 100.7 kB / 438.6 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/0.3908, allocations: 12.06 kB / 438.6 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005602/0.3914, allocations: 0.6381 MB / 439.2 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.3914, allocations: 8.016 kB / 439.2 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007809/0.3922, allocations: 490.9 kB / 439.7 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.3923, allocations: 101 kB / 439.8 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.012e-05/0.3923, allocations: 4 kB / 439.8 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002291/0.3925, allocations: 15.98 kB / 439.8 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.369e-05/0.3926, allocations: 19.97 kB / 439.9 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.559e-05/0.3926, allocations: 11.98 kB / 439.9 MB, free: 5.578 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002268/0.3929, allocations: 198 kB / 440.1 MB, free: 5.383 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3929, allocations: 4 kB / 440.1 MB, free: 5.379 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000503/0.3934, allocations: 123.8 kB / 440.2 MB, free: 5.258 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.0002954/0.3937, allocations: 135.1 kB / 440.3 MB, free: 5.113 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005802/0.3942, allocations: 237.2 kB / 440.6 MB, free: 4.883 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.3942, allocations: 4.625 kB / 440.6 MB, free: 4.879 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002889/0.3945, allocations: 119.8 kB / 440.7 MB, free: 4.762 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009249/0.3955, allocations: 164.7 kB / 440.8 MB, free: 4.602 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.3968, allocations: 0.6387 MB / 441.5 MB, free: 3.926 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004712/0.3973, allocations: 0.7684 MB / 442.2 MB, free: 3.133 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002739/0.3976, allocations: 71.16 kB / 442.3 MB, free: 3.066 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.631e-05/0.3977, allocations: 31.44 kB / 442.3 MB, free: 3.039 MB / 350.1 MB Notification: Performance of SimCode: time 1.442e-06/0.3977, allocations: 0 / 442.3 MB, free: 3.039 MB / 350.1 MB Notification: Performance of Templates: time 0.01409/0.4117, allocations: 7.271 MB / 449.6 MB, free: 11.75 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.957843926735222]