Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.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.Test22") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.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.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001201/0.001201, allocations: 96.72 kB / 17 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001203/0.001204, allocations: 197.4 kB / 17.91 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.519/1.519, allocations: 227.7 MB / 246.4 MB, free: 11.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2252/0.2252, allocations: 46.19 MB / 344.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004269/0.0004271, allocations: 8.219 kB / 418.8 MB, free: 20.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1827, allocations: 63.56 MB / 482.4 MB, free: 4.562 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.002924/0.1857, allocations: 1.68 MB / 484.1 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002031/0.1878, allocations: 1.17 MB / 485.3 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.1879, allocations: 0 / 485.3 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000221/0.1881, allocations: 31.78 kB / 485.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004165/0.1885, allocations: 187.4 kB / 485.5 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009089/0.1895, allocations: 396.9 kB / 485.9 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00032/0.1898, allocations: 251.2 kB / 486.1 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.19, allocations: 52.89 kB / 486.2 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000352/0.1903, allocations: 115.4 kB / 486.3 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000231/0.1906, allocations: 159.4 kB / 486.4 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.426e-05/0.1906, allocations: 4 kB / 486.4 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/0.1908, allocations: 51.98 kB / 486.5 MB, free: 496 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001444/0.1909, allocations: 131.6 kB / 486.6 MB, free: 364 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.533e-05/0.191, allocations: 81.39 kB / 486.7 MB, free: 276 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003025/0.1913, allocations: 275.8 kB / 487 MB, free: 0 / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.1913, allocations: 0 / 487 MB, free: 0 / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1913, allocations: 0 / 487 MB, free: 0 / 350.1 MB Notification: Performance of Transformations before backend: time 7.884e-06/0.1914, allocations: 4.047 kB / 487 MB, free: 15.99 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.00104/0.1924, allocations: 0.7037 MB / 487.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.1925, allocations: 9.109 kB / 487.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002687/0.1927, allocations: 79.22 kB / 487.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005338/0.1933, allocations: 427.1 kB / 488.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.1933, allocations: 8 kB / 488.2 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.192e-05/0.1933, allocations: 12 kB / 488.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002631/0.1936, allocations: 143.1 kB / 488.3 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.1936, allocations: 3.906 kB / 488.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.1937, allocations: 4 kB / 488.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1937, allocations: 0 / 488.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002043/0.1939, allocations: 91.94 kB / 488.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009619/0.1949, allocations: 0.6721 MB / 489.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001991/0.1951, allocations: 109.2 kB / 489.2 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.1952, allocations: 53.75 kB / 489.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.271e-05/0.1952, allocations: 7.891 kB / 489.3 MB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.1953, allocations: 42.56 kB / 489.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.1953, allocations: 0 / 489.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001534/0.1968, allocations: 0.5415 MB / 489.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.355e-05/0.1969, allocations: 81.11 kB / 489.9 MB, free: 12.81 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/0.198, allocations: 0.8906 MB / 490.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.198, allocations: 29.7 kB / 490.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002126/0.1983, allocations: 256.3 kB / 491.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.809e-05/0.1983, allocations: 51.2 kB / 491.1 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.119e-05/0.1983, allocations: 4 kB / 491.1 MB, free: 11.56 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.1985, allocations: 378.8 kB / 491.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.1987, allocations: 55.97 kB / 491.6 MB, free: 11.13 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001594/0.1988, allocations: 81.89 kB / 491.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/0.199, allocations: 71.92 kB / 491.7 MB, free: 10.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.199, allocations: 7.938 kB / 491.7 MB, free: 10.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004469/0.1995, allocations: 236.8 kB / 492 MB, free: 10.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.1995, allocations: 10.66 kB / 492 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.1995, allocations: 0 / 492 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.1995, allocations: 0 / 492 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/0.1997, allocations: 48.09 kB / 492 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.1998, allocations: 3.984 kB / 492 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.1999, allocations: 20 kB / 492 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.1999, allocations: 7.984 kB / 492 MB, free: 10.64 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 (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002103/0.2001, allocations: 205.8 kB / 492.2 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.025e-05/0.2002, allocations: 55.33 kB / 492.3 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005791/0.2008, allocations: 294.4 kB / 492.6 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.2008, allocations: 0 / 492.6 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-05/0.2009, allocations: 4 kB / 492.6 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2009, allocations: 0 / 492.6 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.202, allocations: 0.7824 MB / 493.4 MB, free: 9.238 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.202, allocations: 4 kB / 493.4 MB, free: 9.234 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.2022, allocations: 35.97 kB / 493.4 MB, free: 9.199 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-06/0.2022, allocations: 8 kB / 493.4 MB, free: 9.191 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.2022, allocations: 7.984 kB / 493.4 MB, free: 9.184 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.2022, allocations: 4 kB / 493.4 MB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2022, allocations: 0 / 493.4 MB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000562/0.2028, allocations: 416.7 kB / 493.8 MB, free: 8.758 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.2029, allocations: 152.3 kB / 494 MB, free: 8.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.407e-05/0.203, allocations: 0 / 494 MB, free: 8.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001787/0.2032, allocations: 23.98 kB / 494 MB, free: 8.566 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.202e-05/0.2032, allocations: 7.984 kB / 494 MB, free: 8.559 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.2032, allocations: 7.938 kB / 494 MB, free: 8.551 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000694/0.2039, allocations: 0.6591 MB / 494.7 MB, free: 7.898 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.2039, allocations: 0 / 494.7 MB, free: 7.898 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000349/0.2043, allocations: 52 kB / 494.7 MB, free: 7.848 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 (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009442/0.2052, allocations: 405.4 kB / 495.1 MB, free: 7.578 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003984/0.2057, allocations: 159.8 kB / 495.3 MB, free: 7.422 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2057, allocations: 0 / 495.3 MB, free: 7.422 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001789/0.2059, allocations: 88.36 kB / 495.4 MB, free: 7.336 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005742/0.2064, allocations: 79.03 kB / 495.5 MB, free: 7.258 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001413/0.2079, allocations: 0.98 MB / 496.4 MB, free: 6.246 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004302/0.2083, allocations: 0.8617 MB / 497.3 MB, free: 5.359 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001765/0.2085, allocations: 74.92 kB / 497.4 MB, free: 5.285 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.164e-05/0.2086, allocations: 39.42 kB / 497.4 MB, free: 5.246 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2086, allocations: 0 / 497.4 MB, free: 5.246 MB / 366.1 MB Notification: Performance of Templates: time 0.008389/0.217, allocations: 3.658 MB / 0.4893 GB, free: 1.605 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches