Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001517/0.001517, allocations: 118.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001832/0.001832, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2314/0.2314, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 75.89 kB / 481.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.44/0.4414, allocations: 62.44 MB / 0.531 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.004051/0.4455, allocations: 2.035 MB / 0.533 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001981/0.4475, allocations: 1.026 MB / 0.534 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.4476, allocations: 2.75 kB / 0.534 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000573/0.4482, allocations: 255.4 kB / 0.5342 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005278/0.4487, allocations: 262.8 kB / 0.5345 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.4499, allocations: 496.7 kB / 0.535 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004418/0.4503, allocations: 324.3 kB / 0.5353 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002004/0.4505, allocations: 71.91 kB / 0.5353 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001939/0.4507, allocations: 140.2 kB / 0.5355 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003098/0.451, allocations: 210.4 kB / 0.5357 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.708e-05/0.4511, allocations: 11.12 kB / 0.5357 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002272/0.4513, allocations: 98.12 kB / 0.5358 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001473/0.4515, allocations: 88.3 kB / 0.5359 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.4516, allocations: 124.3 kB / 0.536 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004865/0.4521, allocations: 342 kB / 0.5363 GB, free: 9.992 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.4521, allocations: 0 / 0.5363 GB, free: 9.992 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4521, allocations: 0 / 0.5363 GB, free: 9.992 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.4521, allocations: 0 / 0.5363 GB, free: 9.992 MB / 398.1 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.0008206/0.453, allocations: 0.6504 MB / 0.5369 GB, free: 9.383 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.453, allocations: 10.27 kB / 0.537 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.661e-05/0.4531, allocations: 46.75 kB / 0.537 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00039/0.4535, allocations: 319.8 kB / 0.5373 GB, free: 9.047 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.4535, allocations: 12.16 kB / 0.5373 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/0.4536, allocations: 12.12 kB / 0.5373 GB, free: 9.035 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002644/0.4538, allocations: 114.6 kB / 0.5374 GB, free: 8.953 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.4539, allocations: 5.281 kB / 0.5374 GB, free: 8.949 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.4539, allocations: 1.281 kB / 0.5374 GB, free: 8.949 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.4539, allocations: 2.656 kB / 0.5374 GB, free: 8.949 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001767/0.4541, allocations: 70.05 kB / 0.5375 GB, free: 8.918 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006971/0.4548, allocations: 486.1 kB / 0.538 GB, free: 8.488 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001819/0.455, allocations: 95.31 kB / 0.5381 GB, free: 8.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.617e-05/0.4551, allocations: 33.22 kB / 0.5381 GB, free: 8.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.348e-05/0.4551, allocations: 7.109 kB / 0.5381 GB, free: 8.406 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.4551, allocations: 38.5 kB / 0.5381 GB, free: 8.359 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.4551, allocations: 1.312 kB / 0.5381 GB, free: 8.359 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009842/0.4561, allocations: 399.6 kB / 0.5385 GB, free: 8.133 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/0.4562, allocations: 53.31 kB / 0.5386 GB, free: 8.07 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007171/0.4569, allocations: 0.5559 MB / 0.5391 GB, free: 7.785 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.4569, allocations: 25.7 kB / 0.5391 GB, free: 7.754 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.4571, allocations: 206.7 kB / 0.5393 GB, free: 7.566 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.193e-05/0.4572, allocations: 61.61 kB / 0.5394 GB, free: 7.512 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.647e-05/0.4572, allocations: 33.47 kB / 0.5394 GB, free: 7.484 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.4574, allocations: 355.5 kB / 0.5398 GB, free: 7.141 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.4575, allocations: 45.73 kB / 0.5398 GB, free: 7.121 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.4577, allocations: 52.41 kB / 0.5399 GB, free: 7.098 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002482/0.4579, allocations: 127.2 kB / 0.54 GB, free: 7.031 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.4579, allocations: 5 kB / 0.54 GB, free: 7.027 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003483/0.4583, allocations: 196.5 kB / 0.5402 GB, free: 6.918 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.4583, allocations: 4.656 kB / 0.5402 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.4583, allocations: 0 / 0.5402 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.4584, allocations: 1.062 kB / 0.5402 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.4585, allocations: 38.94 kB / 0.5402 GB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.4585, allocations: 1.25 kB / 0.5402 GB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.624e-05/0.4586, allocations: 7.5 kB / 0.5402 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.4586, allocations: 8.609 kB / 0.5402 GB, free: 6.898 MB / 398.1 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.0001597/0.4588, allocations: 176.1 kB / 0.5404 GB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.02e-05/0.4589, allocations: 42.22 kB / 0.5404 GB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005181/0.4594, allocations: 247.6 kB / 0.5407 GB, free: 6.574 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.4594, allocations: 2.375 kB / 0.5407 GB, free: 6.574 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.4594, allocations: 3.938 kB / 0.5407 GB, free: 6.57 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.4594, allocations: 5.078 kB / 0.5407 GB, free: 6.566 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008482/0.4603, allocations: 0.6208 MB / 0.5413 GB, free: 6.051 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4603, allocations: 0 / 0.5413 GB, free: 6.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.4604, allocations: 31.08 kB / 0.5413 GB, free: 6.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.4604, allocations: 1.094 kB / 0.5413 GB, free: 6.047 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.4605, allocations: 10.27 kB / 0.5413 GB, free: 6.039 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.4605, allocations: 0 / 0.5413 GB, free: 6.039 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.4605, allocations: 9.078 kB / 0.5413 GB, free: 6.031 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004116/0.4609, allocations: 303.4 kB / 0.5416 GB, free: 5.812 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.971e-05/0.461, allocations: 100.5 kB / 0.5417 GB, free: 5.703 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.474e-05/0.461, allocations: 5.125 kB / 0.5417 GB, free: 5.699 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.348e-05/0.4611, allocations: 7.328 kB / 0.5417 GB, free: 5.695 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.191e-05/0.4612, allocations: 18.61 kB / 0.5418 GB, free: 5.684 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.4612, allocations: 4.531 kB / 0.5418 GB, free: 5.684 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004634/0.4617, allocations: 420.2 kB / 0.5422 GB, free: 5.473 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4617, allocations: 3.938 kB / 0.5422 GB, free: 5.469 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000322/0.462, allocations: 58.92 kB / 0.5422 GB, free: 5.445 MB / 398.1 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.001664/0.4637, allocations: 0.6693 MB / 0.5429 GB, free: 5.125 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003452/0.464, allocations: 137.5 kB / 0.543 GB, free: 5.066 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.464, allocations: 1.375 kB / 0.543 GB, free: 5.066 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001645/0.4642, allocations: 74.56 kB / 0.5431 GB, free: 5.035 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005912/0.4648, allocations: 81.11 kB / 0.5432 GB, free: 4.996 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.466, allocations: 0.6884 MB / 0.5438 GB, free: 4.578 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004545/0.4664, allocations: 0.8146 MB / 0.5446 GB, free: 3.82 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001201/0.4666, allocations: 50.45 kB / 0.5447 GB, free: 3.797 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.313e-05/0.4666, allocations: 24.5 kB / 0.5447 GB, free: 3.777 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4667, allocations: 7.938 kB / 0.5447 GB, free: 3.77 MB / 398.1 MB Notification: Performance of Templates: time 0.00734/0.474, allocations: 3.314 MB / 0.5479 GB, free: 480 kB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches