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.001223/0.001223, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001179/0.001179, allocations: 169 kB / 24.24 MB, free: 312 kB / 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.9083/0.9083, allocations: 158.6 MB / 186 MB, free: 2.512 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.1306/0.1306, allocations: 32.36 MB / 270.7 MB, free: 14.76 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 1.713e-06/1.713e-06, allocations: 0 / 347.6 MB, free: 9.789 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.403e-05/2.574e-05, allocations: 10.19 kB / 347.7 MB, free: 9.777 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.3177/0.3177, allocations: 143.7 MB / 491.3 MB, free: 9.355 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001937/0.3197, allocations: 2.136 MB / 493.5 MB, free: 8.965 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.361e-05/0.3197, allocations: 2.969 kB / 493.5 MB, free: 8.965 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003354/0.3201, allocations: 50.95 kB / 493.5 MB, free: 8.938 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001206/0.3213, allocations: 0.6352 MB / 494.1 MB, free: 8.613 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000258/0.3215, allocations: 112 kB / 494.3 MB, free: 8.574 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002715/0.3218, allocations: 262.1 kB / 494.5 MB, free: 8.488 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.862e-05/0.3219, allocations: 7.047 kB / 494.5 MB, free: 8.484 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002558/0.3221, allocations: 162.8 kB / 494.7 MB, free: 8.426 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.3223, allocations: 88.16 kB / 494.8 MB, free: 8.398 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.362e-05/0.3223, allocations: 5.875 kB / 494.8 MB, free: 8.398 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001046/0.3233, allocations: 0.7565 MB / 495.5 MB, free: 8.152 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.984e-05/0.3234, allocations: 86.12 kB / 495.6 MB, free: 8.125 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.3235, allocations: 76.16 kB / 495.7 MB, free: 8.109 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008397/0.3244, allocations: 0.6618 MB / 496.3 MB, free: 7.895 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3244, allocations: 0 / 496.3 MB, free: 7.895 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3244, allocations: 0 / 496.3 MB, free: 7.895 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.3244, allocations: 0 / 496.3 MB, free: 7.895 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.0006924/0.3251, allocations: 0.537 MB / 496.9 MB, free: 7.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.3251, allocations: 11.56 kB / 496.9 MB, free: 7.43 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001367/0.3265, allocations: 329.7 kB / 497.2 MB, free: 7.305 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003096/0.3268, allocations: 222.2 kB / 497.4 MB, free: 7.137 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.3268, allocations: 13.48 kB / 497.4 MB, free: 7.133 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.017e-05/0.3269, allocations: 21.44 kB / 497.5 MB, free: 7.133 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004384/0.3273, allocations: 0.4974 MB / 498 MB, free: 6.789 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.3273, allocations: 3.938 kB / 498 MB, free: 6.785 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.898e-05/0.3274, allocations: 16.14 kB / 498 MB, free: 6.781 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.58e-05/0.3274, allocations: 5.906 kB / 498 MB, free: 6.781 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003793/0.3278, allocations: 300.6 kB / 498.3 MB, free: 6.727 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.001254/0.329, allocations: 0.9001 MB / 499.2 MB, free: 6.172 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002229/0.3293, allocations: 177.8 kB / 499.4 MB, free: 6.078 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.3294, allocations: 110.4 kB / 499.5 MB, free: 6.043 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000385/0.3298, allocations: 116.4 kB / 499.6 MB, free: 6.008 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.3298, allocations: 39.55 kB / 499.6 MB, free: 5.965 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 2.635e-06/0.3298, allocations: 0 / 499.6 MB, free: 5.965 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.001002/0.3308, allocations: 466 kB / 0.4884 GB, free: 5.828 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.3308, allocations: 88.22 kB / 0.4884 GB, free: 5.727 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.367e-05/0.3309, allocations: 188.2 kB / 0.4886 GB, free: 5.555 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/0.3309, allocations: 35.73 kB / 0.4887 GB, free: 5.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.403e-05/0.331, allocations: 159.8 kB / 0.4888 GB, free: 5.367 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.878e-05/0.331, allocations: 110.6 kB / 0.4889 GB, free: 5.289 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.847e-05/0.3311, allocations: 80.23 kB / 0.489 GB, free: 5.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.997e-05/0.3312, allocations: 0.4968 MB / 0.4895 GB, free: 4.754 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.3313, allocations: 99.48 kB / 0.4896 GB, free: 4.742 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.3315, allocations: 250.8 kB / 0.4898 GB, free: 4.543 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003303/0.3318, allocations: 378 kB / 0.4902 GB, free: 4.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.3318, allocations: 3.312 kB / 0.4902 GB, free: 4.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004878/0.3323, allocations: 390.9 kB / 0.4905 GB, free: 4.242 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.3324, allocations: 6.062 kB / 0.4905 GB, free: 4.242 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.3324, allocations: 2.906 kB / 0.4905 GB, free: 4.242 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.3324, allocations: 9.625 kB / 0.4906 GB, free: 4.238 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000267/0.3326, allocations: 76.33 kB / 0.4906 GB, free: 4.223 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.3327, allocations: 13.66 kB / 0.4906 GB, free: 4.215 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/0.3328, allocations: 33.89 kB / 0.4907 GB, free: 4.199 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.78e-05/0.3329, allocations: 21.92 kB / 0.4907 GB, free: 4.195 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 0.000107/0.333, allocations: 175.8 kB / 0.4909 GB, free: 4.027 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.149e-05/0.3331, allocations: 25.81 kB / 0.4909 GB, free: 4.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005486/0.3336, allocations: 371.7 kB / 0.4912 GB, free: 3.914 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.3336, allocations: 7.062 kB / 0.4913 GB, free: 3.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.3336, allocations: 2.906 kB / 0.4913 GB, free: 3.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.3336, allocations: 0 / 0.4913 GB, free: 3.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004056/0.334, allocations: 315.8 kB / 0.4916 GB, free: 3.684 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.334, allocations: 0 / 0.4916 GB, free: 3.684 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002433/0.3343, allocations: 61.62 kB / 0.4916 GB, free: 3.668 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.3343, allocations: 2.906 kB / 0.4916 GB, free: 3.668 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.69e-05/0.3343, allocations: 10.42 kB / 0.4916 GB, free: 3.664 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.257e-06/0.3343, allocations: 2.906 kB / 0.4916 GB, free: 3.664 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.3343, allocations: 3.938 kB / 0.4916 GB, free: 3.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006075/0.3349, allocations: 0.6715 MB / 0.4923 GB, free: 3.297 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.373e-05/0.335, allocations: 13.48 kB / 0.4923 GB, free: 3.289 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.039e-05/0.335, allocations: 9.844 kB / 0.4923 GB, free: 3.289 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002132/0.3352, allocations: 27.28 kB / 0.4923 GB, free: 3.277 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.174e-05/0.3353, allocations: 23.97 kB / 0.4924 GB, free: 3.266 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.81e-05/0.3353, allocations: 11.98 kB / 0.4924 GB, free: 3.262 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.242e-05/0.3353, allocations: 141.8 kB / 0.4925 GB, free: 3.141 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3353, allocations: 0 / 0.4925 GB, free: 3.141 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005513/0.3359, allocations: 164 kB / 0.4927 GB, free: 3.113 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.0005717/0.3365, allocations: 339.3 kB / 0.493 GB, free: 2.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003924/0.3368, allocations: 293.5 kB / 0.4933 GB, free: 2.867 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3368, allocations: 2.969 kB / 0.4933 GB, free: 2.867 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.337, allocations: 161.9 kB / 0.4934 GB, free: 2.828 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004667/0.3375, allocations: 93.45 kB / 0.4935 GB, free: 2.797 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.3387, allocations: 0.6661 MB / 0.4942 GB, free: 2.309 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.121e-05/0.3388, allocations: 87.27 kB / 0.4942 GB, free: 2.227 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000291/0.339, allocations: 107.8 kB / 0.4943 GB, free: 2.152 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.3391, allocations: 29.47 kB / 0.4944 GB, free: 2.141 MB / 362.7 MB Notification: Performance of SimCode: time 1.462e-06/0.3391, allocations: 0 / 0.4944 GB, free: 2.141 MB / 362.7 MB Notification: Performance of Templates: time 0.009311/0.3485, allocations: 8.395 MB / 0.5026 GB, free: 10.89 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.5286287220660597]