Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.00168/0.00168, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001497/0.001497, allocations: 170.4 kB / 24.82 MB, free: 9.273 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.193/1.193, allocations: 177.1 MB / 205.3 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3207/0.3207, allocations: 34.27 MB / 296.1 MB, free: 0.6523 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.[0-9,]+.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.[0-9,]+.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.555e-06/2.555e-06, allocations: 0 / 378.5 MB, free: 2.359 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.953e-05/4.208e-05, allocations: 2.312 kB / 378.5 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.003658/0.0037, allocations: 2.018 MB / 380.5 MB, free: 332 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001733/0.005433, allocations: 0.9967 MB / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002164/0.005649, allocations: 0 / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006094/0.006259, allocations: 263 kB / 381.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006248/0.006883, allocations: 266.9 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.008026, allocations: 470.8 kB / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005754/0.008601, allocations: 343 kB / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001721/0.008773, allocations: 40.92 kB / 382.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002777/0.009051, allocations: 187.4 kB / 383.1 MB, free: 13.78 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002348/0.009286, allocations: 199.5 kB / 383.3 MB, free: 13.58 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.877e-05/0.009315, allocations: 12 kB / 383.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002309/0.009546, allocations: 99.83 kB / 383.4 MB, free: 13.47 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.009667, allocations: 95.62 kB / 383.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.562e-05/0.009722, allocations: 59.66 kB / 383.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00042/0.01014, allocations: 262.9 kB / 383.8 MB, free: 13.06 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.01015, allocations: 0 / 383.8 MB, free: 13.06 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.01015, allocations: 0 / 383.8 MB, free: 13.06 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.01016, allocations: 0 / 383.8 MB, free: 13.06 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006474/0.0108, allocations: 0.7047 MB / 384.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.01085, allocations: 8.031 kB / 384.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.802e-05/0.01093, allocations: 56.61 kB / 384.5 MB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002994/0.01123, allocations: 266.8 kB / 384.8 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.01125, allocations: 12.38 kB / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.442e-05/0.01129, allocations: 16.31 kB / 384.8 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.01148, allocations: 87.58 kB / 384.9 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.01149, allocations: 192 / 384.9 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.0115, allocations: 8.125 kB / 384.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.01151, allocations: 4 kB / 384.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.754e-05/0.01157, allocations: 44.48 kB / 385 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005217/0.01209, allocations: 411.8 kB / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.0122, allocations: 67.03 kB / 385.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.801e-05/0.01223, allocations: 15.69 kB / 385.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.253e-05/0.01228, allocations: 11.97 kB / 385.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.479e-05/0.01231, allocations: 45.33 kB / 385.5 MB, free: 11.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 2.375e-06/0.01232, allocations: 0 / 385.5 MB, free: 11.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005319/0.01285, allocations: 251.9 kB / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.01288, allocations: 51.41 kB / 385.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003602/0.01324, allocations: 474.4 kB / 386.3 MB, free: 10.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.01327, allocations: 37.7 kB / 386.3 MB, free: 10.37 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.01342, allocations: 259.1 kB / 386.6 MB, free: 10.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.387e-05/0.01347, allocations: 63.47 kB / 386.6 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.842e-05/0.01353, allocations: 39.34 kB / 386.7 MB, free: 9.996 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001946/0.01373, allocations: 0.5312 MB / 387.2 MB, free: 9.453 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.103e-05/0.01377, allocations: 27.67 kB / 387.2 MB, free: 9.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.998e-05/0.0138, allocations: 19.98 kB / 387.2 MB, free: 9.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.416e-05/0.01388, allocations: 69.69 kB / 387.3 MB, free: 9.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.01388, allocations: 0 / 387.3 MB, free: 9.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001764/0.01406, allocations: 141.3 kB / 387.4 MB, free: 9.195 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.01408, allocations: 12 kB / 387.5 MB, free: 9.184 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.01409, allocations: 0 / 387.5 MB, free: 9.184 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.0141, allocations: 3.938 kB / 387.5 MB, free: 9.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.01422, allocations: 43.91 kB / 387.5 MB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.01422, allocations: 0 / 387.5 MB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.762e-05/0.01426, allocations: 4 kB / 387.5 MB, free: 9.133 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.01427, allocations: 4 kB / 387.5 MB, free: 9.129 MB / 362.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 9.93e-05/0.01437, allocations: 160.6 kB / 387.7 MB, free: 8.961 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.233e-05/0.01442, allocations: 47.66 kB / 387.7 MB, free: 8.914 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/0.01466, allocations: 176.1 kB / 387.9 MB, free: 8.734 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.01467, allocations: 11.94 kB / 387.9 MB, free: 8.723 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.01467, allocations: 0 / 387.9 MB, free: 8.723 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.01468, allocations: 7.969 kB / 387.9 MB, free: 8.715 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005074/0.01518, allocations: 493.7 kB / 388.4 MB, free: 8.199 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.01519, allocations: 7.938 kB / 388.4 MB, free: 8.191 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.999e-05/0.01527, allocations: 27.98 kB / 388.4 MB, free: 8.164 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.01527, allocations: 0 / 388.4 MB, free: 8.164 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.01528, allocations: 8 kB / 388.4 MB, free: 8.156 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.92e-06/0.01529, allocations: 3.938 kB / 388.4 MB, free: 8.152 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.01529, allocations: 4 kB / 388.4 MB, free: 8.148 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002232/0.01551, allocations: 299.4 kB / 388.7 MB, free: 7.836 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.754e-05/0.01555, allocations: 31.7 kB / 388.8 MB, free: 7.805 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.01557, allocations: 8 kB / 388.8 MB, free: 7.797 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.113e-05/0.01562, allocations: 0 / 388.8 MB, free: 7.797 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.01566, allocations: 15.97 kB / 388.8 MB, free: 7.781 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.533e-06/0.01567, allocations: 4 kB / 388.8 MB, free: 7.777 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002034/0.01587, allocations: 307 kB / 389.1 MB, free: 7.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01587, allocations: 0 / 389.1 MB, free: 7.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002178/0.01609, allocations: 47.94 kB / 389.1 MB, free: 7.434 MB / 362.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.001684/0.01777, allocations: 0.6642 MB / 389.8 MB, free: 7.055 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001563/0.01793, allocations: 75.55 kB / 389.9 MB, free: 6.977 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.01793, allocations: 0 / 389.9 MB, free: 6.977 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.179e-05/0.01798, allocations: 59.58 kB / 389.9 MB, free: 6.914 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.01835, allocations: 98.33 kB / 390 MB, free: 6.824 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007697/0.01912, allocations: 0.5806 MB / 390.6 MB, free: 6.215 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.835e-05/0.0192, allocations: 112.3 kB / 390.7 MB, free: 6.086 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001102/0.01931, allocations: 41.91 kB / 390.8 MB, free: 6.047 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.01944, allocations: 118.2 kB / 390.9 MB, free: 5.93 MB / 362.7 MB Notification: Performance of SimCode: time 1.824e-06/0.01944, allocations: 0 / 390.9 MB, free: 5.93 MB / 362.7 MB Notification: Performance of Templates: time 0.006649/0.02609, allocations: 3.693 MB / 394.6 MB, free: 2.273 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/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.8190245530568063]