Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.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.001066/0.001066, 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.0009538/0.0009538, 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 1.264/1.264, allocations: 158.6 MB / 186 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 178] 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.1784/0.1784, allocations: 32.37 MB / 270.7 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 179] 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.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.[0-9,]+.|combiTable2D1DT.y.[0-9,]+.|clock1.y|combiTable1D.y.[0-9,]+.|combiTable2D.y.[0-9,]+.|combiTable2DT.y.[0-9,]+.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.[0-9,]+.|combiTable2D1DT.y.[0-9,]+.|clock1.y|combiTable1D.y.[0-9,]+.|combiTable2D.y.[0-9,]+.|combiTable2DT.y.[0-9,]+.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.655e-06/2.655e-06, allocations: 0 / 347.7 MB, free: 9.773 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.689e-05/3.954e-05, allocations: 8.219 kB / 347.7 MB, free: 9.766 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003052/0.003091, allocations: 1.957 MB / 349.6 MB, free: 7.797 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.004245, allocations: 0.7591 MB / 350.4 MB, free: 7.031 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.246e-05/0.004338, allocations: 7.938 kB / 350.4 MB, free: 7.023 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003883/0.004726, allocations: 267 kB / 350.7 MB, free: 6.762 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000281/0.005007, allocations: 199.2 kB / 350.9 MB, free: 6.566 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008272/0.005834, allocations: 0.5846 MB / 351.4 MB, free: 5.98 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002949/0.006129, allocations: 311.1 kB / 351.7 MB, free: 5.676 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.006282, allocations: 48.89 kB / 351.8 MB, free: 5.633 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/0.00643, allocations: 163.6 kB / 352 MB, free: 5.473 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/0.006615, allocations: 195.6 kB / 352.1 MB, free: 5.281 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.468e-05/0.006639, allocations: 8 kB / 352.1 MB, free: 5.273 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.006749, allocations: 75.83 kB / 352.2 MB, free: 5.199 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.006854, allocations: 103.6 kB / 352.3 MB, free: 5.098 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.519e-05/0.006909, allocations: 51.72 kB / 352.4 MB, free: 5.047 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002717/0.007181, allocations: 243 kB / 352.6 MB, free: 4.809 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.007184, allocations: 0 / 352.6 MB, free: 4.809 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.007184, allocations: 0 / 352.6 MB, free: 4.809 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.007189, allocations: 0 / 352.6 MB, free: 4.809 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0004656/0.007655, allocations: 0.67 MB / 353.3 MB, free: 4.102 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.007692, allocations: 8.031 kB / 353.3 MB, free: 4.094 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.245e-05/0.007754, allocations: 52.7 kB / 353.3 MB, free: 4.043 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002165/0.007971, allocations: 258.8 kB / 353.6 MB, free: 3.762 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.007981, allocations: 8.375 kB / 353.6 MB, free: 3.754 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.008003, allocations: 12.38 kB / 353.6 MB, free: 3.742 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.008148, allocations: 94.91 kB / 353.7 MB, free: 3.641 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.008159, allocations: 4.125 kB / 353.7 MB, free: 3.637 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.008175, allocations: 16.11 kB / 353.7 MB, free: 3.621 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.00818, allocations: 0 / 353.7 MB, free: 3.621 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.931e-05/0.00826, allocations: 39.95 kB / 353.8 MB, free: 3.582 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004125/0.008672, allocations: 471.2 kB / 354.2 MB, free: 3.086 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.008774, allocations: 82.95 kB / 354.3 MB, free: 2.992 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.925e-05/0.008813, allocations: 27.67 kB / 354.3 MB, free: 2.961 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.008832, allocations: 4 kB / 354.3 MB, free: 2.957 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.00885, allocations: 37.39 kB / 354.4 MB, free: 2.91 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 8.61e-07/0.008851, allocations: 0 / 354.4 MB, free: 2.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005357/0.009387, allocations: 320.6 kB / 354.7 MB, free: 2.59 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.176e-05/0.009409, allocations: 59.34 kB / 354.7 MB, free: 2.52 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003114/0.00972, allocations: 454.7 kB / 355.2 MB, free: 2.059 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.009731, allocations: 25.7 kB / 355.2 MB, free: 2.027 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.892e-05/0.00983, allocations: 255.2 kB / 355.5 MB, free: 1.773 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/0.009865, allocations: 63.48 kB / 355.5 MB, free: 1.711 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.602e-05/0.009911, allocations: 35.38 kB / 355.6 MB, free: 1.668 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.4e-05/0.009995, allocations: 0.5235 MB / 356.1 MB, free: 1.133 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.63e-05/0.01005, allocations: 31.97 kB / 356.1 MB, free: 1.102 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.96e-05/0.0101, allocations: 30.33 kB / 356.1 MB, free: 1.074 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/0.01021, allocations: 75.59 kB / 356.2 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.01021, allocations: 0 / 356.2 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001893/0.0104, allocations: 159.7 kB / 356.4 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.01041, allocations: 11.88 kB / 356.4 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.01042, allocations: 4 kB / 356.4 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.417e-06/0.01043, allocations: 4 kB / 356.4 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.01053, allocations: 31.92 kB / 356.4 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.01053, allocations: 0 / 356.4 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.977e-05/0.01057, allocations: 8 kB / 356.4 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.01058, allocations: 4 kB / 356.4 MB, free: 0.7734 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (17): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.85e-05/0.01065, allocations: 168.5 kB / 356.6 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.427e-05/0.0107, allocations: 43.77 kB / 356.6 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002592/0.01096, allocations: 189.2 kB / 356.8 MB, free: 368 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.01097, allocations: 0 / 356.8 MB, free: 368 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.01097, allocations: 0 / 356.8 MB, free: 368 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.01097, allocations: 4 kB / 356.8 MB, free: 364 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005629/0.01154, allocations: 0.5496 MB / 357.4 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.01154, allocations: 4 kB / 357.4 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.633e-05/0.01162, allocations: 35.92 kB / 357.4 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.01163, allocations: 0 / 357.4 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.01164, allocations: 7.984 kB / 357.4 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.01164, allocations: 0 / 357.4 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01164, allocations: 0 / 357.4 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003232/0.01196, allocations: 311.4 kB / 357.7 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.258e-05/0.01199, allocations: 31.77 kB / 357.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.01202, allocations: 7.984 kB / 357.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.767e-05/0.01209, allocations: 8 kB / 357.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/0.01212, allocations: 7.984 kB / 357.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.01214, allocations: 7.984 kB / 357.8 MB, free: 15.33 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002754/0.01241, allocations: 307.1 kB / 358.1 MB, free: 15.03 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01241, allocations: 0 / 358.1 MB, free: 15.03 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002775/0.01269, allocations: 47.92 kB / 358.1 MB, free: 14.98 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (17): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001682/0.01437, allocations: 0.658 MB / 358.8 MB, free: 14.43 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001731/0.01454, allocations: 99.17 kB / 358.9 MB, free: 14.34 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.01455, allocations: 4 kB / 358.9 MB, free: 14.33 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.925e-05/0.01463, allocations: 59.59 kB / 359 MB, free: 14.27 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003913/0.01502, allocations: 84.81 kB / 359 MB, free: 14.19 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000817/0.01583, allocations: 0.5744 MB / 359.6 MB, free: 13.59 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.01594, allocations: 116.3 kB / 359.7 MB, free: 13.45 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001014/0.01604, allocations: 53.89 kB / 359.8 MB, free: 13.4 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.651e-05/0.01609, allocations: 32.48 kB / 359.8 MB, free: 13.37 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01609, allocations: 0 / 359.8 MB, free: 13.37 MB / 298.7 MB Notification: Performance of Templates: time 0.006168/0.02226, allocations: 3.361 MB / 363.2 MB, free: 10.02 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.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.699014878831804]