Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00111/0.00111, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001098/0.001098, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.4 MB / 246.9 MB, free: 9.008 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3145/0.3145, allocations: 46.11 MB / 344.3 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00214/0.00214, allocations: 76.84 kB / 417.5 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.1863, allocations: 62.43 MB / 479.9 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.005517/0.1919, allocations: 2.109 MB / 482 MB, free: 3.559 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002461/0.1944, allocations: 1.103 MB / 483.1 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002528/0.1947, allocations: 0 / 483.1 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006368/0.1953, allocations: 255.3 kB / 483.4 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006574/0.196, allocations: 235.4 kB / 483.6 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001922/0.198, allocations: 0.6129 MB / 484.2 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000668/0.1986, allocations: 331.1 kB / 484.6 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002735/0.1989, allocations: 76.69 kB / 484.6 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000308/0.1992, allocations: 135.4 kB / 484.8 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003495/0.1996, allocations: 207.2 kB / 485 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.095e-05/0.1997, allocations: 8 kB / 485 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003333/0.2, allocations: 99.89 kB / 485.1 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002259/0.2002, allocations: 99.66 kB / 485.2 MB, free: 448 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001829/0.2004, allocations: 122.9 kB / 485.3 MB, free: 324 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006316/0.2011, allocations: 251.8 kB / 485.5 MB, free: 72 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.096e-05/0.2011, allocations: 4 kB / 485.5 MB, free: 68 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.2011, allocations: 0 / 485.5 MB, free: 68 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.686e-05/0.2011, allocations: 7.938 kB / 485.5 MB, free: 60 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001272/0.2024, allocations: 0.665 MB / 486.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.05e-05/0.2025, allocations: 9.953 kB / 486.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001512/0.2026, allocations: 40.47 kB / 486.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005319/0.2032, allocations: 342 kB / 486.6 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.2032, allocations: 4.375 kB / 486.6 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.059e-05/0.2033, allocations: 8.375 kB / 486.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003536/0.2036, allocations: 129.8 kB / 486.7 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.2037, allocations: 0 / 486.7 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.415e-05/0.2037, allocations: 8 kB / 486.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.2037, allocations: 0 / 486.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000248/0.204, allocations: 99.86 kB / 486.8 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008868/0.2049, allocations: 0.4964 MB / 487.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.2051, allocations: 126.4 kB / 487.5 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.108e-05/0.2052, allocations: 36.84 kB / 487.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.775e-05/0.2053, allocations: 3.984 kB / 487.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.086e-05/0.2053, allocations: 38.55 kB / 487.5 MB, free: 13.9 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.693e-06/0.2053, allocations: 4 kB / 487.5 MB, free: 13.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001272/0.2066, allocations: 439.8 kB / 488 MB, free: 13.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/0.2067, allocations: 59.39 kB / 488 MB, free: 13.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000737/0.2074, allocations: 0.5681 MB / 488.6 MB, free: 12.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.2074, allocations: 29.7 kB / 488.6 MB, free: 12.78 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001893/0.2076, allocations: 208.4 kB / 488.8 MB, free: 12.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.374e-05/0.2077, allocations: 59.16 kB / 488.9 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.708e-05/0.2078, allocations: 37.7 kB / 488.9 MB, free: 12.47 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.208, allocations: 350.8 kB / 489.3 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001623/0.2082, allocations: 63.95 kB / 489.3 MB, free: 12.06 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.2083, allocations: 70.14 kB / 489.4 MB, free: 11.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003134/0.2087, allocations: 156.7 kB / 489.6 MB, free: 11.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.2087, allocations: 7.938 kB / 489.6 MB, free: 11.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005004/0.2092, allocations: 235.5 kB / 489.8 MB, free: 11.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/0.2092, allocations: 4 kB / 489.8 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.2092, allocations: 0 / 489.8 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.2093, allocations: 7.938 kB / 489.8 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000194/0.2095, allocations: 35.97 kB / 489.8 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.2095, allocations: 4 kB / 489.8 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.623e-05/0.2096, allocations: 3.938 kB / 489.8 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.2096, allocations: 12 kB / 489.9 MB, free: 11.53 MB / 366.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.0002274/0.2098, allocations: 189.6 kB / 490 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.707e-05/0.2099, allocations: 43.44 kB / 490.1 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006227/0.2106, allocations: 273.6 kB / 490.3 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.2106, allocations: 0 / 490.3 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/0.2106, allocations: 4 kB / 490.4 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.2106, allocations: 4 kB / 490.4 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/0.2117, allocations: 0.6768 MB / 491 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.2117, allocations: 4 kB / 491 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001297/0.2118, allocations: 39.92 kB / 491.1 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.2119, allocations: 0 / 491.1 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.2119, allocations: 8 kB / 491.1 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/0.2119, allocations: 3.984 kB / 491.1 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.2119, allocations: 3.938 kB / 491.1 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004963/0.2124, allocations: 330.8 kB / 491.4 MB, free: 9.867 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.677e-05/0.2125, allocations: 104.6 kB / 491.5 MB, free: 9.746 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.797e-05/0.2126, allocations: 0 / 491.5 MB, free: 9.746 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.2127, allocations: 15.98 kB / 491.5 MB, free: 9.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.299e-05/0.2127, allocations: 15.92 kB / 491.5 MB, free: 9.715 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.2128, allocations: 8 kB / 491.6 MB, free: 9.707 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007503/0.2135, allocations: 431 kB / 492 MB, free: 9.293 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2135, allocations: 0 / 492 MB, free: 9.293 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003536/0.2139, allocations: 48 kB / 492 MB, free: 9.246 MB / 366.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.002138/0.216, allocations: 0.6788 MB / 492.7 MB, free: 8.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004411/0.2165, allocations: 167.8 kB / 492.9 MB, free: 8.676 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.2165, allocations: 0 / 492.9 MB, free: 8.676 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001921/0.2167, allocations: 91.8 kB / 493 MB, free: 8.586 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007175/0.2174, allocations: 77.23 kB / 493 MB, free: 8.516 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.219, allocations: 0.8447 MB / 493.9 MB, free: 7.641 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005161/0.2195, allocations: 0.8184 MB / 494.7 MB, free: 6.797 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.2196, allocations: 39.42 kB / 494.7 MB, free: 6.758 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2196, allocations: 0 / 494.7 MB, free: 6.758 MB / 366.1 MB Notification: Performance of Templates: time 0.01075/0.2304, allocations: 4.781 MB / 499.5 MB, free: 1.98 MB / 366.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches