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.001985/0.001985, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002027/0.002027, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 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.619/1.619, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.3744/0.3744, allocations: 34.26 MB / 295.3 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 179] 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.1.|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.1.|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.374e-06/2.374e-06, allocations: 0 / 377.3 MB, free: 2.945 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.056e-05/3.293e-05, allocations: 2.312 kB / 377.3 MB, free: 2.941 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.006466/0.006499, allocations: 2.008 MB / 379.3 MB, free: 0.918 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004186/0.01068, allocations: 1 MB / 380.3 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001737/0.01086, allocations: 4 kB / 380.3 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008794/0.01174, allocations: 259 kB / 380.6 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009764/0.01271, allocations: 270.9 kB / 380.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002095/0.01481, allocations: 482.8 kB / 381.3 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008249/0.01563, allocations: 331.1 kB / 381.6 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002166/0.01585, allocations: 44.89 kB / 381.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003913/0.01624, allocations: 175.5 kB / 381.8 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005038/0.01675, allocations: 203.5 kB / 382 MB, free: 14.18 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.356e-05/0.01681, allocations: 12 kB / 382.1 MB, free: 14.16 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003787/0.01719, allocations: 103.8 kB / 382.2 MB, free: 14.06 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002431/0.01743, allocations: 91.67 kB / 382.3 MB, free: 13.97 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001347/0.01757, allocations: 59.66 kB / 382.3 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007858/0.01835, allocations: 326.7 kB / 382.6 MB, free: 13.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.01836, allocations: 0 / 382.6 MB, free: 13.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.021e-06/0.01836, allocations: 0 / 382.6 MB, free: 13.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.01836, allocations: 0 / 382.6 MB, free: 13.59 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.001302/0.01966, allocations: 0.7123 MB / 383.3 MB, free: 12.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.0197, allocations: 8.031 kB / 383.3 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000147/0.01985, allocations: 52.66 kB / 383.4 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006582/0.02051, allocations: 274.7 kB / 383.7 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.02053, allocations: 8.375 kB / 383.7 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.895e-05/0.02057, allocations: 12.38 kB / 383.7 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003341/0.0209, allocations: 98.2 kB / 383.8 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.885e-05/0.02092, allocations: 8.078 kB / 383.8 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.451e-05/0.02094, allocations: 8.125 kB / 383.8 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.148e-06/0.02095, allocations: 4 kB / 383.8 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002994/0.02125, allocations: 67.84 kB / 383.9 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00122/0.02247, allocations: 0.511 MB / 384.4 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003234/0.0228, allocations: 91.03 kB / 384.5 MB, free: 11.63 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.02292, allocations: 31.69 kB / 384.5 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.778e-05/0.02296, allocations: 7.984 kB / 384.5 MB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.167e-05/0.02301, allocations: 37.33 kB / 384.5 MB, free: 11.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/0.02301, allocations: 0 / 384.5 MB, free: 11.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.001573/0.02459, allocations: 400.6 kB / 384.9 MB, free: 11.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.959e-05/0.02465, allocations: 51.41 kB / 385 MB, free: 11.08 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/0.02578, allocations: 0.53 MB / 385.5 MB, free: 10.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.528e-05/0.02581, allocations: 25.7 kB / 385.5 MB, free: 10.51 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000405/0.02622, allocations: 275.2 kB / 385.8 MB, free: 10.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.02633, allocations: 63.47 kB / 385.9 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.02645, allocations: 43.36 kB / 385.9 MB, free: 10.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0005296/0.02698, allocations: 0.5508 MB / 386.5 MB, free: 9.555 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/0.02718, allocations: 43.98 kB / 386.5 MB, free: 9.512 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002194/0.0274, allocations: 59.81 kB / 386.6 MB, free: 9.453 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007062/0.0281, allocations: 122.2 kB / 386.7 MB, free: 9.332 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.02811, allocations: 0 / 386.7 MB, free: 9.332 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006976/0.0288, allocations: 197.3 kB / 386.9 MB, free: 9.133 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.23e-05/0.02884, allocations: 14.28 kB / 386.9 MB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.02885, allocations: 4 kB / 386.9 MB, free: 9.117 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.02886, allocations: 0 / 386.9 MB, free: 9.117 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002674/0.02913, allocations: 35.92 kB / 386.9 MB, free: 9.082 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.02914, allocations: 3.984 kB / 386.9 MB, free: 9.078 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.02926, allocations: 8 kB / 386.9 MB, free: 9.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.02929, allocations: 8 kB / 387 MB, free: 9.062 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 0.0002558/0.02954, allocations: 172.6 kB / 387.1 MB, free: 8.883 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/0.02969, allocations: 47.72 kB / 387.2 MB, free: 8.836 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000806/0.0305, allocations: 225.5 kB / 387.4 MB, free: 8.605 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.03051, allocations: 4 kB / 387.4 MB, free: 8.602 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.03051, allocations: 0 / 387.4 MB, free: 8.602 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.03052, allocations: 0 / 387.4 MB, free: 8.602 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001657/0.03217, allocations: 0.6454 MB / 388 MB, free: 7.914 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.03218, allocations: 4 kB / 388 MB, free: 7.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002416/0.03242, allocations: 27.98 kB / 388.1 MB, free: 7.883 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-05/0.03243, allocations: 4 kB / 388.1 MB, free: 7.879 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.03246, allocations: 7.984 kB / 388.1 MB, free: 7.871 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.03246, allocations: 0 / 388.1 MB, free: 7.871 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/0.03246, allocations: 0 / 388.1 MB, free: 7.871 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008738/0.03333, allocations: 361.4 kB / 388.4 MB, free: 7.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.812e-05/0.03342, allocations: 31.77 kB / 388.5 MB, free: 7.469 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.373e-05/0.03348, allocations: 4 kB / 388.5 MB, free: 7.465 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.03367, allocations: 7.984 kB / 388.5 MB, free: 7.457 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.063e-05/0.03373, allocations: 15.98 kB / 388.5 MB, free: 7.441 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.551e-05/0.03376, allocations: 4 kB / 388.5 MB, free: 7.438 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007375/0.0345, allocations: 355 kB / 388.8 MB, free: 7.094 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.0345, allocations: 4 kB / 388.8 MB, free: 7.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005867/0.03508, allocations: 47.92 kB / 388.9 MB, free: 7.043 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.00876/0.04384, allocations: 0.7588 MB / 389.7 MB, free: 6.648 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006622/0.0445, allocations: 142.5 kB / 389.8 MB, free: 6.508 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.04451, allocations: 0 / 389.8 MB, free: 6.508 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000301/0.04481, allocations: 83.59 kB / 389.9 MB, free: 6.422 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009503/0.04576, allocations: 84.81 kB / 390 MB, free: 6.344 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001908/0.04767, allocations: 0.6173 MB / 390.6 MB, free: 5.695 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003898/0.04806, allocations: 204.2 kB / 390.8 MB, free: 5.473 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002219/0.04828, allocations: 53.88 kB / 390.8 MB, free: 5.422 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.04842, allocations: 28.5 kB / 390.9 MB, free: 5.395 MB / 362.7 MB Notification: Performance of SimCode: time 1.263e-06/0.04842, allocations: 0 / 390.9 MB, free: 5.395 MB / 362.7 MB Notification: Performance of Templates: time 0.0162/0.06462, allocations: 3.319 MB / 394.2 MB, free: 2.117 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.1632608730578795]