Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.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.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001386/0.001386, allocations: 115.8 kB / 17.33 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001256/0.001256, allocations: 205.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.4 MB / 246.4 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2212/0.2212, allocations: 46.1 MB / 343.8 MB, free: 11.73 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 80.02 kB / 417 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1313, allocations: 62.45 MB / 479.5 MB, free: 5.598 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.00402/0.1353, allocations: 2.162 MB / 481.6 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002351/0.1377, allocations: 1.376 MB / 483 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001536/0.1379, allocations: 7.938 kB / 483 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003263/0.1382, allocations: 51.69 kB / 483.1 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005244/0.1388, allocations: 187.4 kB / 483.3 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001483/0.1403, allocations: 0.5865 MB / 483.9 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004638/0.1408, allocations: 347 kB / 484.2 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002091/0.141, allocations: 68.7 kB / 484.3 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000265/0.1413, allocations: 155.4 kB / 484.4 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002872/0.1416, allocations: 207.2 kB / 484.6 MB, free: 472 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.702e-05/0.1416, allocations: 16 kB / 484.6 MB, free: 456 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001785/0.1418, allocations: 67.97 kB / 484.7 MB, free: 388 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001659/0.142, allocations: 159.4 kB / 484.8 MB, free: 228 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001664/0.1422, allocations: 174.6 kB / 485 MB, free: 52 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004766/0.1427, allocations: 410.7 kB / 485.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1427, allocations: 0 / 485.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1427, allocations: 0 / 485.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.1427, allocations: 4 kB / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001064/0.1438, allocations: 0.8123 MB / 486.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.682e-05/0.1438, allocations: 8.031 kB / 486.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000446/0.1443, allocations: 92.14 kB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005459/0.1449, allocations: 484.4 kB / 486.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.1449, allocations: 4.375 kB / 486.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.654e-05/0.1449, allocations: 12.12 kB / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003547/0.1453, allocations: 171.1 kB / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.1453, allocations: 0 / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.1453, allocations: 4 kB / 487 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.1453, allocations: 4 kB / 487 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003129/0.1457, allocations: 119.8 kB / 487.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009973/0.1467, allocations: 0.719 MB / 487.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003224/0.147, allocations: 137.2 kB / 488 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/0.1472, allocations: 65.8 kB / 488 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.282e-05/0.1472, allocations: 7.984 kB / 488 MB, free: 12.85 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.1472, allocations: 34.56 kB / 488.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.283e-06/0.1472, allocations: 0 / 488.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.002093/0.1493, allocations: 0.7441 MB / 488.8 MB, free: 12.05 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.867e-05/0.1494, allocations: 85.09 kB / 488.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.1505, allocations: 0.9025 MB / 489.8 MB, free: 11.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.858e-05/0.1505, allocations: 29.7 kB / 489.8 MB, free: 11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002437/0.1508, allocations: 272.2 kB / 490.1 MB, free: 10.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.708e-05/0.1509, allocations: 63.09 kB / 490.2 MB, free: 10.67 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.151, allocations: 41.69 kB / 490.2 MB, free: 10.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001987/0.1512, allocations: 382.7 kB / 490.6 MB, free: 10.24 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000293/0.1515, allocations: 107.9 kB / 490.7 MB, free: 10.13 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002934/0.1518, allocations: 125.8 kB / 490.8 MB, free: 10 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005974/0.1524, allocations: 261.6 kB / 491.1 MB, free: 9.742 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1524, allocations: 0 / 491.1 MB, free: 9.742 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007543/0.1532, allocations: 348.6 kB / 491.4 MB, free: 9.395 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.1532, allocations: 6.969 kB / 491.4 MB, free: 9.391 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.1533, allocations: 224 / 491.4 MB, free: 9.391 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.1533, allocations: 0 / 491.4 MB, free: 9.391 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002914/0.1536, allocations: 55.89 kB / 491.5 MB, free: 9.336 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.1536, allocations: 3.984 kB / 491.5 MB, free: 9.332 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000182/0.1538, allocations: 23.97 kB / 491.5 MB, free: 9.309 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/0.1538, allocations: 12 kB / 491.5 MB, free: 9.297 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0002519/0.1541, allocations: 225.6 kB / 491.7 MB, free: 9.066 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.1542, allocations: 55.25 kB / 491.8 MB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000879/0.1551, allocations: 398.2 kB / 492.2 MB, free: 8.613 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.1551, allocations: 4.375 kB / 492.2 MB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1551, allocations: 0 / 492.2 MB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1551, allocations: 0 / 492.2 MB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00152/0.1566, allocations: 0.9464 MB / 493.1 MB, free: 7.605 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1567, allocations: 4 kB / 493.1 MB, free: 7.602 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002488/0.1569, allocations: 59.88 kB / 493.2 MB, free: 7.543 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.1569, allocations: 0 / 493.2 MB, free: 7.543 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.071e-05/0.157, allocations: 4 kB / 493.2 MB, free: 7.539 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.157, allocations: 7.938 kB / 493.2 MB, free: 7.531 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.157, allocations: 8 kB / 493.2 MB, free: 7.523 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007759/0.1578, allocations: 0.5117 MB / 493.7 MB, free: 6.996 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.1579, allocations: 140.3 kB / 493.8 MB, free: 6.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.796e-05/0.158, allocations: 11.98 kB / 493.9 MB, free: 6.828 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002403/0.1582, allocations: 19.92 kB / 493.9 MB, free: 6.809 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.531e-05/0.1583, allocations: 19.97 kB / 493.9 MB, free: 6.789 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.952e-05/0.1583, allocations: 11.98 kB / 493.9 MB, free: 6.777 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000736/0.1591, allocations: 0.6591 MB / 494.6 MB, free: 6.121 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1591, allocations: 0 / 494.6 MB, free: 6.121 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003836/0.1595, allocations: 72 kB / 494.6 MB, free: 6.051 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.001024/0.1605, allocations: 393.9 kB / 495 MB, free: 5.793 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007033/0.1612, allocations: 279.8 kB / 495.3 MB, free: 5.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1612, allocations: 0 / 495.3 MB, free: 5.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003096/0.1615, allocations: 143.8 kB / 495.4 MB, free: 5.379 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006731/0.1622, allocations: 81.94 kB / 495.5 MB, free: 5.305 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.1639, allocations: 1.166 MB / 496.7 MB, free: 4.105 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005242/0.1645, allocations: 0.8917 MB / 497.6 MB, free: 3.191 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002639/0.1647, allocations: 103.2 kB / 497.7 MB, free: 3.094 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.1649, allocations: 39.36 kB / 497.7 MB, free: 3.055 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1649, allocations: 0 / 497.7 MB, free: 3.055 MB / 366.1 MB Notification: Performance of Templates: time 0.01005/0.1749, allocations: 4.349 MB / 0.4903 GB, free: 14.72 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches