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.001132/0.001132, allocations: 81.08 kB / 20.65 MB, free: 3.84 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.001128/0.001128, allocations: 173 kB / 24.05 MB, free: 456 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.9201/0.9201, allocations: 158.6 MB / 185.9 MB, free: 2.812 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.1317/0.1317, allocations: 32.38 MB / 270.7 MB, free: 14.54 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.223e-06/1.223e-06, allocations: 0 / 348.1 MB, free: 9.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.684e-05/1.806e-05, allocations: 6.25 kB / 348.1 MB, free: 9.18 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.367/0.3671, allocations: 141.2 MB / 489.3 MB, free: 10.08 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002152/0.3692, allocations: 2.106 MB / 491.4 MB, free: 9.695 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.365e-05/0.3693, allocations: 0 / 491.4 MB, free: 9.695 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003995/0.3697, allocations: 51.88 kB / 491.5 MB, free: 9.668 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001443/0.3711, allocations: 0.6444 MB / 492.1 MB, free: 9.336 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002805/0.3714, allocations: 104.2 kB / 492.2 MB, free: 9.309 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003074/0.3717, allocations: 263 kB / 492.5 MB, free: 9.215 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.917e-05/0.3718, allocations: 6.844 kB / 492.5 MB, free: 9.215 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002956/0.3721, allocations: 164.9 kB / 492.7 MB, free: 9.156 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.3722, allocations: 83.44 kB / 492.7 MB, free: 9.129 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.893e-05/0.3723, allocations: 11.17 kB / 492.7 MB, free: 9.129 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001116/0.3734, allocations: 0.7582 MB / 493.5 MB, free: 8.879 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.912e-05/0.3735, allocations: 89.16 kB / 493.6 MB, free: 8.852 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.465e-05/0.3736, allocations: 75.16 kB / 493.7 MB, free: 8.836 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000889/0.3745, allocations: 0.6673 MB / 494.3 MB, free: 8.617 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.3745, allocations: 0 / 494.3 MB, free: 8.617 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.524e-06/0.3745, allocations: 2.812 kB / 494.3 MB, free: 8.617 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.106e-06/0.3745, allocations: 0 / 494.3 MB, free: 8.617 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.0006109/0.3751, allocations: 0.527 MB / 494.9 MB, free: 8.156 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.3751, allocations: 11.03 kB / 494.9 MB, free: 8.156 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001284/0.3764, allocations: 303.4 kB / 495.2 MB, free: 8.039 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002964/0.3767, allocations: 204.5 kB / 495.4 MB, free: 7.883 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.3767, allocations: 12.52 kB / 495.4 MB, free: 7.883 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.759e-05/0.3768, allocations: 24.83 kB / 495.4 MB, free: 7.879 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004292/0.3772, allocations: 485.1 kB / 495.9 MB, free: 7.531 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.3772, allocations: 3.938 kB / 495.9 MB, free: 7.527 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.073e-05/0.3773, allocations: 6.094 kB / 495.9 MB, free: 7.527 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.528e-05/0.3773, allocations: 16.61 kB / 495.9 MB, free: 7.523 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003849/0.3777, allocations: 252.7 kB / 496.2 MB, free: 7.469 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.001301/0.379, allocations: 0.8554 MB / 497 MB, free: 6.949 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/0.3792, allocations: 161.7 kB / 497.2 MB, free: 6.852 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.3793, allocations: 95.53 kB / 497.3 MB, free: 6.816 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003633/0.3797, allocations: 103.9 kB / 497.4 MB, free: 6.789 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.3797, allocations: 46.66 kB / 497.4 MB, free: 6.742 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 2.084e-06/0.3797, allocations: 0 / 497.4 MB, free: 6.742 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.001106/0.3808, allocations: 410.6 kB / 497.8 MB, free: 6.609 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.3809, allocations: 86.97 kB / 497.9 MB, free: 6.508 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.209e-05/0.3809, allocations: 184.9 kB / 498.1 MB, free: 6.336 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/0.381, allocations: 35.11 kB / 498.1 MB, free: 6.305 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.49e-05/0.381, allocations: 167.3 kB / 498.3 MB, free: 6.148 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.504e-05/0.3811, allocations: 111.7 kB / 498.4 MB, free: 6.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.3812, allocations: 73.33 kB / 498.5 MB, free: 6.035 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.919e-05/0.3813, allocations: 0.502 MB / 499 MB, free: 5.539 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.3814, allocations: 75.2 kB / 499 MB, free: 5.527 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/0.3816, allocations: 230.2 kB / 499.3 MB, free: 5.324 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003298/0.3819, allocations: 334.7 kB / 499.6 MB, free: 5.125 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.3819, allocations: 0 / 499.6 MB, free: 5.125 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004935/0.3824, allocations: 338.3 kB / 499.9 MB, free: 5.027 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.3825, allocations: 9.344 kB / 499.9 MB, free: 5.023 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.3825, allocations: 9.766 kB / 499.9 MB, free: 5.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.3825, allocations: 5.656 kB / 499.9 MB, free: 5.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003036/0.3828, allocations: 73.38 kB / 0.4883 GB, free: 5.008 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.3828, allocations: 17.2 kB / 0.4883 GB, free: 4.996 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001961/0.383, allocations: 26.69 kB / 0.4883 GB, free: 4.984 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-05/0.383, allocations: 17.38 kB / 0.4883 GB, free: 4.984 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.734e-05/0.3831, allocations: 178.5 kB / 0.4885 GB, free: 4.816 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.3832, allocations: 31.7 kB / 0.4885 GB, free: 4.805 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004535/0.3837, allocations: 326 kB / 0.4889 GB, free: 4.699 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.3837, allocations: 2.938 kB / 0.4889 GB, free: 4.699 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.3837, allocations: 7.938 kB / 0.4889 GB, free: 4.691 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.3837, allocations: 6.844 kB / 0.4889 GB, free: 4.688 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004383/0.3841, allocations: 287.3 kB / 0.4891 GB, free: 4.488 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.3841, allocations: 2 kB / 0.4891 GB, free: 4.488 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000277/0.3844, allocations: 54.41 kB / 0.4892 GB, free: 4.477 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.3844, allocations: 6.781 kB / 0.4892 GB, free: 4.477 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.968e-05/0.3845, allocations: 12.3 kB / 0.4892 GB, free: 4.473 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.3845, allocations: 0 / 0.4892 GB, free: 4.473 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.3845, allocations: 3.25 kB / 0.4892 GB, free: 4.473 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000566/0.385, allocations: 0.6321 MB / 0.4898 GB, free: 4.105 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.004e-05/0.385, allocations: 13.14 kB / 0.4899 GB, free: 4.098 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.379e-05/0.3851, allocations: 6.5 kB / 0.4899 GB, free: 4.098 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002641/0.3853, allocations: 12.83 kB / 0.4899 GB, free: 4.094 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.967e-05/0.3854, allocations: 23.91 kB / 0.4899 GB, free: 4.082 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.253e-05/0.3854, allocations: 14.64 kB / 0.4899 GB, free: 4.078 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.409e-05/0.3854, allocations: 138.1 kB / 0.49 GB, free: 3.957 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3854, allocations: 0 / 0.49 GB, free: 3.957 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005289/0.386, allocations: 162.5 kB / 0.4902 GB, free: 3.93 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.0006118/0.3866, allocations: 352.2 kB / 0.4905 GB, free: 3.738 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003531/0.3869, allocations: 247 kB / 0.4908 GB, free: 3.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3869, allocations: 0 / 0.4908 GB, free: 3.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.3871, allocations: 137.1 kB / 0.4909 GB, free: 3.645 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005762/0.3877, allocations: 105.3 kB / 0.491 GB, free: 3.609 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.3888, allocations: 0.6746 MB / 0.4917 GB, free: 3.109 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.931e-05/0.3889, allocations: 90.02 kB / 0.4917 GB, free: 3.027 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003208/0.3892, allocations: 72.14 kB / 0.4918 GB, free: 2.977 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000351/0.3895, allocations: 197.2 kB / 0.492 GB, free: 2.863 MB / 362.7 MB Notification: Performance of SimCode: time 7.01e-07/0.3895, allocations: 0 / 0.492 GB, free: 2.863 MB / 362.7 MB Notification: Performance of Templates: time 0.01373/0.4033, allocations: 9.755 MB / 0.5015 GB, free: 10 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.5939873037859797]