Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008888/0.0008889, allocations: 194 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.219/1.219, allocations: 229.5 MB / 247.7 MB, free: 6.336 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007551/0.0007551, allocations: 100.3 kB / 299.9 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2744/0.2744, allocations: 45.01 MB / 397 MB, free: 31.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000244/0.000244, allocations: 8.219 kB / 470.8 MB, free: 7.074 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2683, allocations: 63.1 MB / 0.5214 GB, free: 38.53 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.001752/0.2701, allocations: 1.701 MB / 0.523 GB, free: 37.3 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.2715, allocations: 1.271 MB / 0.5243 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.317e-05/0.2716, allocations: 10.75 kB / 0.5243 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003683/0.272, allocations: 253.2 kB / 0.5245 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003186/0.2723, allocations: 230.6 kB / 0.5247 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.2734, allocations: 0.6169 MB / 0.5253 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002634/0.2736, allocations: 330.1 kB / 0.5257 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.2738, allocations: 74.92 kB / 0.5257 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.662e-05/0.2739, allocations: 118.7 kB / 0.5258 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.2741, allocations: 192.3 kB / 0.526 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.381e-05/0.2741, allocations: 2.844 kB / 0.526 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.2742, allocations: 81.28 kB / 0.5261 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.2743, allocations: 97.14 kB / 0.5262 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.17e-05/0.2744, allocations: 139.8 kB / 0.5263 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000249/0.2747, allocations: 323.5 kB / 0.5266 GB, free: 35.32 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.2747, allocations: 7.875 kB / 0.5267 GB, free: 35.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2747, allocations: 0 / 0.5267 GB, free: 35.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.2747, allocations: 2.875 kB / 0.5267 GB, free: 35.32 MB / 378.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.0004727/0.2752, allocations: 0.616 MB / 0.5273 GB, free: 34.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.899e-05/0.2752, allocations: 8.75 kB / 0.5273 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.711e-05/0.2753, allocations: 43.78 kB / 0.5273 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002415/0.2755, allocations: 319.2 kB / 0.5276 GB, free: 34.47 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.2755, allocations: 14.19 kB / 0.5276 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.2756, allocations: 17.2 kB / 0.5276 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.2758, allocations: 130.3 kB / 0.5278 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.2758, allocations: 0 / 0.5278 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.2758, allocations: 4 kB / 0.5278 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.2758, allocations: 3.938 kB / 0.5278 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001551/0.276, allocations: 99.3 kB / 0.5279 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004926/0.2765, allocations: 0.5052 MB / 0.5284 GB, free: 33.99 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.2766, allocations: 110.6 kB / 0.5285 GB, free: 33.94 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.447e-05/0.2767, allocations: 46.11 kB / 0.5285 GB, free: 33.92 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.2768, allocations: 2.906 kB / 0.5285 GB, free: 33.92 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.536e-05/0.2768, allocations: 34.56 kB / 0.5285 GB, free: 33.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.2768, allocations: 0 / 0.5285 GB, free: 33.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007628/0.2775, allocations: 466.1 kB / 0.529 GB, free: 33.67 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.217e-05/0.2776, allocations: 58.16 kB / 0.529 GB, free: 33.61 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004156/0.278, allocations: 0.5636 MB / 0.5296 GB, free: 33.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.278, allocations: 25.7 kB / 0.5296 GB, free: 33.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.878e-05/0.2781, allocations: 213.2 kB / 0.5298 GB, free: 33.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.045e-05/0.2782, allocations: 54.56 kB / 0.5299 GB, free: 33.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.032e-06/0.2782, allocations: 0 / 0.5299 GB, free: 33.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.913e-05/0.2782, allocations: 357.3 kB / 0.5302 GB, free: 32.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.2784, allocations: 71.36 kB / 0.5303 GB, free: 32.79 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.963e-05/0.2785, allocations: 66.95 kB / 0.5303 GB, free: 32.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002154/0.2787, allocations: 168.7 kB / 0.5305 GB, free: 32.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2787, allocations: 3.938 kB / 0.5305 GB, free: 32.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002875/0.279, allocations: 239.2 kB / 0.5307 GB, free: 32.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.279, allocations: 8.5 kB / 0.5307 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.279, allocations: 0 / 0.5307 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.279, allocations: 0 / 0.5307 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.2792, allocations: 43.36 kB / 0.5308 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.2792, allocations: 2.625 kB / 0.5308 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.029e-05/0.2793, allocations: 17.19 kB / 0.5308 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.2793, allocations: 5.562 kB / 0.5308 GB, free: 32.57 MB / 378.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.0001156/0.2794, allocations: 187.2 kB / 0.531 GB, free: 32.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.544e-05/0.2794, allocations: 40.94 kB / 0.531 GB, free: 32.4 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003957/0.2799, allocations: 281.3 kB / 0.5313 GB, free: 32.28 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.2799, allocations: 4 kB / 0.5313 GB, free: 32.28 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.2799, allocations: 3.219 kB / 0.5313 GB, free: 32.28 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.2799, allocations: 0 / 0.5313 GB, free: 32.28 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006384/0.2805, allocations: 0.6862 MB / 0.532 GB, free: 31.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2805, allocations: 0 / 0.532 GB, free: 31.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.834e-05/0.2806, allocations: 35.08 kB / 0.532 GB, free: 31.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.2806, allocations: 0 / 0.532 GB, free: 31.83 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.2807, allocations: 6.906 kB / 0.532 GB, free: 31.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2807, allocations: 0 / 0.532 GB, free: 31.83 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.2807, allocations: 6.875 kB / 0.532 GB, free: 31.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002997/0.281, allocations: 342.1 kB / 0.5324 GB, free: 31.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.271e-05/0.281, allocations: 120 kB / 0.5325 GB, free: 31.49 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.98e-05/0.2811, allocations: 2.906 kB / 0.5325 GB, free: 31.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.794e-05/0.2812, allocations: 16.55 kB / 0.5325 GB, free: 31.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.146e-05/0.2812, allocations: 12.75 kB / 0.5325 GB, free: 31.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.2812, allocations: 6.969 kB / 0.5325 GB, free: 31.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003151/0.2816, allocations: 427.5 kB / 0.5329 GB, free: 31.31 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2816, allocations: 0 / 0.5329 GB, free: 31.31 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002514/0.2818, allocations: 58.98 kB / 0.533 GB, free: 31.3 MB / 378.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.001355/0.2832, allocations: 0.7977 MB / 0.5337 GB, free: 30.83 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002797/0.2835, allocations: 168.7 kB / 0.5339 GB, free: 30.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2835, allocations: 4 kB / 0.5339 GB, free: 30.78 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.2836, allocations: 91.91 kB / 0.534 GB, free: 30.76 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004365/0.2841, allocations: 73.5 kB / 0.5341 GB, free: 30.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000792/0.2849, allocations: 0.8557 MB / 0.5349 GB, free: 30.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002067/0.2851, allocations: 0.824 MB / 0.5357 GB, free: 29.53 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001137/0.2852, allocations: 55.23 kB / 0.5358 GB, free: 29.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.521e-05/0.2853, allocations: 34.44 kB / 0.5358 GB, free: 29.5 MB / 378.7 MB Notification: Performance of SimCode: time 2.7e-07/0.2853, allocations: 0 / 0.5358 GB, free: 29.5 MB / 378.7 MB Notification: Performance of Templates: time 0.006369/0.2916, allocations: 3.206 MB / 0.5389 GB, free: 29.16 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches