Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001919/0.001919, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002405/0.002405, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.517/1.517, allocations: 227.4 MB / 247.1 MB, free: 10.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2266/0.2266, allocations: 46.12 MB / 344.5 MB, free: 11.7 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002249/0.002249, allocations: 82.73 kB / 417.8 MB, free: 20.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.132, allocations: 62.45 MB / 480.2 MB, free: 5.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.004021/0.136, allocations: 2.151 MB / 482.4 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002279/0.1384, allocations: 1.267 MB / 483.6 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.1385, allocations: 7.938 kB / 483.6 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002652/0.1388, allocations: 39.77 kB / 483.7 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004996/0.1393, allocations: 191.3 kB / 483.9 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.1404, allocations: 432.6 kB / 484.3 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004145/0.1408, allocations: 323 kB / 484.6 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001763/0.141, allocations: 76.67 kB / 484.7 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002509/0.1412, allocations: 139.4 kB / 484.8 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002823/0.1415, allocations: 203.2 kB / 485 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.45e-05/0.1416, allocations: 16 kB / 485 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001603/0.1417, allocations: 67.97 kB / 485.1 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001572/0.1419, allocations: 143.6 kB / 485.2 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001685/0.1421, allocations: 182.5 kB / 485.4 MB, free: 364 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003556/0.1424, allocations: 295.8 kB / 485.7 MB, free: 68 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.1425, allocations: 3.984 kB / 485.7 MB, free: 64 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1425, allocations: 0 / 485.7 MB, free: 64 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.413e-06/0.1425, allocations: 0 / 485.7 MB, free: 64 kB / 350.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.001143/0.1436, allocations: 0.8006 MB / 486.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.1437, allocations: 13.05 kB / 486.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004316/0.1441, allocations: 96.14 kB / 486.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005941/0.1447, allocations: 480.4 kB / 487.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.1448, allocations: 4.375 kB / 487.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.777e-05/0.1448, allocations: 16.12 kB / 487.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003285/0.1451, allocations: 142.2 kB / 487.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.1452, allocations: 7.984 kB / 487.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/0.1452, allocations: 4 kB / 487.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1452, allocations: 4 kB / 487.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003066/0.1455, allocations: 99.86 kB / 487.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009587/0.1465, allocations: 0.68 MB / 488 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000285/0.1468, allocations: 121.4 kB / 488.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.1469, allocations: 65.81 kB / 488.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.147, allocations: 7.875 kB / 488.2 MB, free: 13.37 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.147, allocations: 38.56 kB / 488.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.412e-06/0.147, allocations: 0 / 488.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.00204/0.1491, allocations: 0.6734 MB / 488.9 MB, free: 12.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.477e-05/0.1492, allocations: 85.05 kB / 489 MB, free: 12.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001103/0.1503, allocations: 0.8946 MB / 489.9 MB, free: 11.63 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.1503, allocations: 33.7 kB / 490 MB, free: 11.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002354/0.1506, allocations: 268.2 kB / 490.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.999e-05/0.1506, allocations: 59.11 kB / 490.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.078e-05/0.1507, allocations: 37.69 kB / 490.3 MB, free: 11.22 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002229/0.151, allocations: 378.7 kB / 490.7 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002667/0.1512, allocations: 91.92 kB / 490.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002816/0.1515, allocations: 109.6 kB / 490.9 MB, free: 10.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000536/0.1521, allocations: 209.7 kB / 491.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1521, allocations: 0 / 491.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007568/0.1528, allocations: 300.7 kB / 491.4 MB, free: 10.13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.1529, allocations: 11.98 kB / 491.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1529, allocations: 0 / 491.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.1529, allocations: 4 kB / 491.4 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002912/0.1532, allocations: 48.7 kB / 491.4 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.1532, allocations: 0 / 491.4 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002087/0.1534, allocations: 23.97 kB / 491.5 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.1535, allocations: 8 kB / 491.5 MB, free: 10.04 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.0002928/0.1538, allocations: 221.7 kB / 491.7 MB, free: 9.809 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.1539, allocations: 55.25 kB / 491.7 MB, free: 9.754 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000863/0.1548, allocations: 362.5 kB / 492.1 MB, free: 9.391 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.1548, allocations: 4 kB / 492.1 MB, free: 9.387 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.1548, allocations: 3.984 kB / 492.1 MB, free: 9.383 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1548, allocations: 0 / 492.1 MB, free: 9.383 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001506/0.1563, allocations: 0.88 MB / 493 MB, free: 8.445 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.1563, allocations: 7.938 kB / 493 MB, free: 8.438 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002617/0.1566, allocations: 55.88 kB / 493 MB, free: 8.383 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.1566, allocations: 0 / 493 MB, free: 8.383 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/0.1566, allocations: 8 kB / 493.1 MB, free: 8.375 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.1566, allocations: 3.938 kB / 493.1 MB, free: 8.371 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.1567, allocations: 4 kB / 493.1 MB, free: 8.367 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000797/0.1575, allocations: 476.6 kB / 493.5 MB, free: 7.887 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001728/0.1576, allocations: 136.4 kB / 493.7 MB, free: 7.734 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.354e-05/0.1577, allocations: 12 kB / 493.7 MB, free: 7.723 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002439/0.158, allocations: 23.91 kB / 493.7 MB, free: 7.699 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.459e-05/0.158, allocations: 23.91 kB / 493.7 MB, free: 7.676 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.1581, allocations: 4 kB / 493.7 MB, free: 7.672 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007976/0.1589, allocations: 0.6591 MB / 494.4 MB, free: 7.016 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1589, allocations: 0 / 494.4 MB, free: 7.016 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003774/0.1593, allocations: 56 kB / 494.4 MB, free: 6.961 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.001488/0.1608, allocations: 411.7 kB / 494.8 MB, free: 6.688 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007331/0.1615, allocations: 231.7 kB / 495.1 MB, free: 6.461 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.1615, allocations: 0 / 495.1 MB, free: 6.461 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003238/0.1619, allocations: 135.7 kB / 495.2 MB, free: 6.328 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000709/0.1626, allocations: 74.19 kB / 495.3 MB, free: 6.262 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001694/0.1643, allocations: 1.09 MB / 496.4 MB, free: 5.133 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005355/0.1648, allocations: 0.8653 MB / 497.2 MB, free: 4.242 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001476/0.165, allocations: 43.42 kB / 497.3 MB, free: 4.199 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.165, allocations: 0 / 497.3 MB, free: 4.199 MB / 366.1 MB Notification: Performance of Templates: time 0.01051/0.1755, allocations: 6.05 MB / 0.4915 GB, free: 14.16 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches