Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.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.0009837/0.0009837, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001028/0.001028, allocations: 167.2 kB / 24.84 MB, free: 9.188 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 1.018/1.018, allocations: 158.6 MB / 186.7 MB, free: 2.801 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1654/0.1654, allocations: 32.36 MB / 271.5 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium2.T|medium2.X.[0-9,]+.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas") translateModel(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium2.T|medium2.X.[0-9,]+.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 348.9 MB, free: 9.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.772e-05/1.991e-05, allocations: 2.312 kB / 348.9 MB, free: 9.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.3833/0.3833, allocations: 141.2 MB / 490.1 MB, free: 10.09 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002196/0.3855, allocations: 2.1 MB / 492.2 MB, free: 9.711 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.112e-05/0.3856, allocations: 4 kB / 492.2 MB, free: 9.707 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003975/0.386, allocations: 56.17 kB / 492.3 MB, free: 9.676 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001158/0.3871, allocations: 0.6421 MB / 492.9 MB, free: 9.348 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002446/0.3874, allocations: 112 kB / 493 MB, free: 9.312 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002641/0.3876, allocations: 257 kB / 493.3 MB, free: 9.227 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.502e-05/0.3877, allocations: 5.375 kB / 493.3 MB, free: 9.227 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002678/0.3879, allocations: 173.1 kB / 493.4 MB, free: 9.16 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000179/0.3881, allocations: 83.5 kB / 493.5 MB, free: 9.133 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.549e-05/0.3881, allocations: 8.875 kB / 493.5 MB, free: 9.133 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009872/0.3891, allocations: 0.7559 MB / 494.3 MB, free: 8.887 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.589e-05/0.3892, allocations: 87.45 kB / 494.4 MB, free: 8.859 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.905e-05/0.3893, allocations: 74.97 kB / 494.5 MB, free: 8.844 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007405/0.39, allocations: 0.6711 MB / 495.1 MB, free: 8.625 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.39, allocations: 3.938 kB / 495.1 MB, free: 8.621 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.39, allocations: 0 / 495.1 MB, free: 8.621 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.3901, allocations: 0 / 495.1 MB, free: 8.621 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0005354/0.3906, allocations: 0.5315 MB / 495.7 MB, free: 8.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.3906, allocations: 8.562 kB / 495.7 MB, free: 8.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001317/0.3919, allocations: 299.5 kB / 496 MB, free: 8.043 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/0.3922, allocations: 204.7 kB / 496.2 MB, free: 7.887 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.3922, allocations: 12.3 kB / 496.2 MB, free: 7.887 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.966e-05/0.3923, allocations: 24.91 kB / 496.2 MB, free: 7.883 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004792/0.3928, allocations: 486 kB / 496.7 MB, free: 7.535 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.3928, allocations: 3.938 kB / 496.7 MB, free: 7.531 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.74e-05/0.3928, allocations: 9.469 kB / 496.7 MB, free: 7.531 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.806e-05/0.3929, allocations: 8.688 kB / 496.7 MB, free: 7.531 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004059/0.3933, allocations: 251.5 kB / 496.9 MB, free: 7.477 MB / 362.7 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.001393/0.3947, allocations: 0.8543 MB / 497.8 MB, free: 6.957 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/0.3949, allocations: 162.2 kB / 498 MB, free: 6.863 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.395, allocations: 90.44 kB / 498 MB, free: 6.828 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003833/0.3954, allocations: 109.6 kB / 498.1 MB, free: 6.797 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.3954, allocations: 47.64 kB / 498.2 MB, free: 6.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 2.345e-06/0.3954, allocations: 0 / 498.2 MB, free: 6.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.001197/0.3966, allocations: 409.4 kB / 498.6 MB, free: 6.617 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.3967, allocations: 91.44 kB / 498.7 MB, free: 6.516 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.518e-05/0.3967, allocations: 186.5 kB / 498.9 MB, free: 6.344 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.06e-05/0.3968, allocations: 31.48 kB / 498.9 MB, free: 6.312 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.006e-05/0.3968, allocations: 166.5 kB / 499.1 MB, free: 6.156 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.814e-05/0.3969, allocations: 108.4 kB / 499.2 MB, free: 6.078 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.397, allocations: 76.44 kB / 499.2 MB, free: 6.047 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.035e-05/0.3971, allocations: 0.5016 MB / 499.7 MB, free: 5.547 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.3972, allocations: 76.02 kB / 499.8 MB, free: 5.535 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001718/0.3974, allocations: 228.9 kB / 0.4883 GB, free: 5.332 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003121/0.3977, allocations: 334 kB / 0.4886 GB, free: 5.133 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.3977, allocations: 2.5 kB / 0.4886 GB, free: 5.133 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004826/0.3982, allocations: 338 kB / 0.489 GB, free: 5.039 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.3982, allocations: 5.906 kB / 0.489 GB, free: 5.039 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.3982, allocations: 3.031 kB / 0.489 GB, free: 5.039 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.3982, allocations: 5.281 kB / 0.489 GB, free: 5.039 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003226/0.3985, allocations: 81.08 kB / 0.4891 GB, free: 5.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.3985, allocations: 9.781 kB / 0.4891 GB, free: 5.016 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/0.3987, allocations: 31.42 kB / 0.4891 GB, free: 4.996 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.715e-05/0.3988, allocations: 14.25 kB / 0.4891 GB, free: 4.996 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (41): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.574e-05/0.3989, allocations: 178.9 kB / 0.4893 GB, free: 4.828 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.399, allocations: 29.47 kB / 0.4893 GB, free: 4.816 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005062/0.3995, allocations: 334.3 kB / 0.4896 GB, free: 4.711 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.3995, allocations: 2.438 kB / 0.4896 GB, free: 4.711 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.3995, allocations: 3.938 kB / 0.4896 GB, free: 4.707 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.3995, allocations: 10.98 kB / 0.4896 GB, free: 4.699 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004386/0.3999, allocations: 278.2 kB / 0.4899 GB, free: 4.504 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.3999, allocations: 0 / 0.4899 GB, free: 4.504 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003002/0.4002, allocations: 60.61 kB / 0.49 GB, free: 4.488 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.07e-05/0.4003, allocations: 7 kB / 0.49 GB, free: 4.484 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.978e-05/0.4003, allocations: 5.656 kB / 0.49 GB, free: 4.484 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.4003, allocations: 3.062 kB / 0.49 GB, free: 4.484 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.4003, allocations: 0 / 0.49 GB, free: 4.484 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006127/0.4009, allocations: 0.6324 MB / 0.4906 GB, free: 4.121 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.498e-05/0.4009, allocations: 17.38 kB / 0.4906 GB, free: 4.109 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.332e-05/0.401, allocations: 9.5 kB / 0.4906 GB, free: 4.109 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002898/0.4013, allocations: 13.33 kB / 0.4906 GB, free: 4.105 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.313e-05/0.4013, allocations: 22.81 kB / 0.4907 GB, free: 4.094 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.695e-05/0.4013, allocations: 20.33 kB / 0.4907 GB, free: 4.086 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.58e-05/0.4014, allocations: 135.6 kB / 0.4908 GB, free: 3.965 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4014, allocations: 0 / 0.4908 GB, free: 3.965 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005677/0.4019, allocations: 164.8 kB / 0.491 GB, free: 3.938 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4],state.p,state.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 (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001119/0.4031, allocations: 343.2 kB / 0.4913 GB, free: 3.754 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003726/0.4034, allocations: 246.8 kB / 0.4915 GB, free: 3.695 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.4034, allocations: 2.562 kB / 0.4915 GB, free: 3.695 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.4036, allocations: 138.5 kB / 0.4917 GB, free: 3.656 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005761/0.4042, allocations: 100.5 kB / 0.4918 GB, free: 3.621 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.4053, allocations: 0.6697 MB / 0.4924 GB, free: 3.125 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.86e-05/0.4054, allocations: 86.94 kB / 0.4925 GB, free: 3.043 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00032/0.4057, allocations: 82.33 kB / 0.4926 GB, free: 2.984 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003571/0.406, allocations: 190.1 kB / 0.4928 GB, free: 2.879 MB / 362.7 MB Notification: Performance of SimCode: time 9.52e-07/0.406, allocations: 0 / 0.4928 GB, free: 2.879 MB / 362.7 MB Notification: Performance of Templates: time 0.01303/0.4191, allocations: 9.861 MB / 0.5024 GB, free: 9.938 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.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: 3.8199454047717154]