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.001073/0.001073, allocations: 91.31 kB / 20.43 MB, free: 4.152 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.0009714/0.0009714, allocations: 165 kB / 23.79 MB, free: 0.7891 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 0.9206/0.9206, allocations: 158.6 MB / 185.7 MB, free: 2.91 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.132/0.132, allocations: 32.37 MB / 270.4 MB, free: 14.72 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.663e-06/1.663e-06, allocations: 0 / 347.6 MB, free: 9.473 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.244e-05/2.411e-05, allocations: 4.281 kB / 347.7 MB, free: 9.469 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.2999/0.2999, allocations: 144 MB / 491.6 MB, free: 9.516 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002233/0.3022, allocations: 2.135 MB / 493.7 MB, free: 9.129 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.3023, allocations: 0 / 493.7 MB, free: 9.129 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005128/0.3028, allocations: 48.02 kB / 493.8 MB, free: 9.102 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001934/0.3047, allocations: 0.6449 MB / 494.4 MB, free: 8.773 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003482/0.3051, allocations: 105 kB / 494.5 MB, free: 8.742 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003359/0.3054, allocations: 262.1 kB / 494.8 MB, free: 8.652 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.949e-05/0.3055, allocations: 3.375 kB / 494.8 MB, free: 8.652 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000352/0.3058, allocations: 171.9 kB / 495 MB, free: 8.59 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002245/0.306, allocations: 88.12 kB / 495.1 MB, free: 8.559 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.426e-05/0.3061, allocations: 8.719 kB / 495.1 MB, free: 8.559 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001501/0.3076, allocations: 0.7506 MB / 495.8 MB, free: 8.316 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.3077, allocations: 85.22 kB / 495.9 MB, free: 8.289 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.413e-05/0.3078, allocations: 80.84 kB / 496 MB, free: 8.273 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008702/0.3086, allocations: 0.6668 MB / 496.6 MB, free: 8.055 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/0.3087, allocations: 0 / 496.6 MB, free: 8.055 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.3087, allocations: 0 / 496.6 MB, free: 8.055 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.098e-06/0.3087, allocations: 0 / 496.6 MB, free: 8.055 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.0007157/0.3094, allocations: 0.5355 MB / 497.2 MB, free: 7.586 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.296e-05/0.3094, allocations: 8.969 kB / 497.2 MB, free: 7.586 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001291/0.3107, allocations: 330.3 kB / 497.5 MB, free: 7.461 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003412/0.3111, allocations: 210.6 kB / 497.7 MB, free: 7.305 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.3111, allocations: 21.05 kB / 497.7 MB, free: 7.297 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.495e-05/0.3112, allocations: 21.34 kB / 497.8 MB, free: 7.297 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005035/0.3117, allocations: 0.5046 MB / 498.3 MB, free: 6.949 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.3117, allocations: 3.938 kB / 498.3 MB, free: 6.945 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.478e-05/0.3117, allocations: 7.062 kB / 498.3 MB, free: 6.945 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.569e-05/0.3118, allocations: 9 kB / 498.3 MB, free: 6.945 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004138/0.3122, allocations: 302.8 kB / 498.6 MB, free: 6.887 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.001484/0.3137, allocations: 0.8958 MB / 499.5 MB, free: 6.336 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002659/0.3139, allocations: 182.8 kB / 499.7 MB, free: 6.238 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/0.3141, allocations: 107 kB / 499.8 MB, free: 6.203 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004635/0.3145, allocations: 119.8 kB / 499.9 MB, free: 6.168 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.3146, allocations: 40.02 kB / 499.9 MB, free: 6.125 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 3.917e-06/0.3146, allocations: 0 / 499.9 MB, free: 6.125 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.001125/0.3157, allocations: 460.6 kB / 0.4886 GB, free: 5.988 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.3157, allocations: 87.66 kB / 0.4887 GB, free: 5.887 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.86e-05/0.3158, allocations: 185 kB / 0.4889 GB, free: 5.715 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/0.3158, allocations: 35.39 kB / 0.4889 GB, free: 5.684 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.795e-05/0.3159, allocations: 166.8 kB / 0.4891 GB, free: 5.527 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.433e-05/0.316, allocations: 110.3 kB / 0.4892 GB, free: 5.449 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.3161, allocations: 73.62 kB / 0.4893 GB, free: 5.418 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.817e-05/0.3162, allocations: 0.4998 MB / 0.4898 GB, free: 4.918 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.3163, allocations: 100.5 kB / 0.4898 GB, free: 4.906 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001969/0.3165, allocations: 250.5 kB / 0.4901 GB, free: 4.707 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003584/0.3169, allocations: 371.9 kB / 0.4904 GB, free: 4.508 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.3169, allocations: 6.75 kB / 0.4904 GB, free: 4.504 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005059/0.3174, allocations: 380.4 kB / 0.4908 GB, free: 4.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.3174, allocations: 5.844 kB / 0.4908 GB, free: 4.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.3174, allocations: 14.36 kB / 0.4908 GB, free: 4.402 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.989e-05/0.3174, allocations: 9.188 kB / 0.4908 GB, free: 4.398 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002946/0.3177, allocations: 80.48 kB / 0.4909 GB, free: 4.383 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.3177, allocations: 13.38 kB / 0.4909 GB, free: 4.375 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/0.3179, allocations: 34.33 kB / 0.491 GB, free: 4.359 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.245e-05/0.318, allocations: 17.81 kB / 0.491 GB, free: 4.359 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.0001088/0.3181, allocations: 176 kB / 0.4911 GB, free: 4.191 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.346e-05/0.3182, allocations: 29.48 kB / 0.4912 GB, free: 4.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005272/0.3187, allocations: 367.8 kB / 0.4915 GB, free: 4.078 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.3187, allocations: 7.062 kB / 0.4915 GB, free: 4.074 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.3187, allocations: 0 / 0.4915 GB, free: 4.074 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.3187, allocations: 0 / 0.4915 GB, free: 4.074 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004258/0.3191, allocations: 314.5 kB / 0.4918 GB, free: 3.852 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.3191, allocations: 0 / 0.4918 GB, free: 3.852 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000252/0.3194, allocations: 61.86 kB / 0.4919 GB, free: 3.836 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.3194, allocations: 4 kB / 0.4919 GB, free: 3.832 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.405e-05/0.3194, allocations: 13.89 kB / 0.4919 GB, free: 3.828 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.3194, allocations: 0 / 0.4919 GB, free: 3.828 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.3194, allocations: 6.531 kB / 0.4919 GB, free: 3.824 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006214/0.32, allocations: 0.6715 MB / 0.4926 GB, free: 3.461 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.61e-05/0.3201, allocations: 13.58 kB / 0.4926 GB, free: 3.453 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.045e-05/0.3201, allocations: 9.188 kB / 0.4926 GB, free: 3.453 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.3204, allocations: 24.5 kB / 0.4926 GB, free: 3.441 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/0.3204, allocations: 16.06 kB / 0.4926 GB, free: 3.434 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.14e-05/0.3204, allocations: 20.55 kB / 0.4927 GB, free: 3.426 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.286e-05/0.3205, allocations: 141.3 kB / 0.4928 GB, free: 3.301 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3205, allocations: 0 / 0.4928 GB, free: 3.301 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007443/0.3212, allocations: 161.9 kB / 0.4929 GB, free: 3.273 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.0006567/0.3219, allocations: 345.1 kB / 0.4933 GB, free: 3.094 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004298/0.3223, allocations: 294.7 kB / 0.4935 GB, free: 3.031 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.3223, allocations: 0.8125 kB / 0.4936 GB, free: 3.031 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.3225, allocations: 149.3 kB / 0.4937 GB, free: 3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004994/0.323, allocations: 102.9 kB / 0.4938 GB, free: 2.961 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.3243, allocations: 0.6674 MB / 0.4944 GB, free: 2.473 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.78e-05/0.3243, allocations: 87.58 kB / 0.4945 GB, free: 2.391 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002894/0.3246, allocations: 101 kB / 0.4946 GB, free: 2.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.3247, allocations: 29.58 kB / 0.4947 GB, free: 2.309 MB / 362.7 MB Notification: Performance of SimCode: time 1.753e-06/0.3247, allocations: 0 / 0.4947 GB, free: 2.309 MB / 362.7 MB Notification: Performance of Templates: time 0.009504/0.3343, allocations: 8.403 MB / 0.5029 GB, free: 10.92 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.588210802990943]