Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001013/0.001013, allocations: 94 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001444/0.001444, allocations: 200.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.521/1.521, allocations: 227.7 MB / 246.8 MB, free: 11.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2336/0.2336, allocations: 46.19 MB / 345.2 MB, free: 11.37 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002905/0.0002905, allocations: 8 kB / 419.5 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.1871, allocations: 63.56 MB / 483.1 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.004057/0.1912, allocations: 1.731 MB / 484.8 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003637/0.1949, allocations: 1.329 MB / 486.1 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001754/0.1951, allocations: 0 / 486.1 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003036/0.1955, allocations: 47.69 kB / 486.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006636/0.1961, allocations: 175.4 kB / 486.4 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002227/0.1984, allocations: 0.5696 MB / 486.9 MB, free: 292 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007223/0.1991, allocations: 307.1 kB / 487.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002511/0.1994, allocations: 60.72 kB / 487.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003902/0.1998, allocations: 119.4 kB / 487.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003827/0.2002, allocations: 175.3 kB / 487.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.393e-05/0.2003, allocations: 8 kB / 487.6 MB, free: 15.63 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002289/0.2005, allocations: 55.98 kB / 487.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002496/0.2008, allocations: 143.4 kB / 487.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002297/0.201, allocations: 184.3 kB / 488 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006327/0.2017, allocations: 378.7 kB / 488.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.2017, allocations: 0 / 488.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.779e-06/0.2017, allocations: 4 kB / 488.3 MB, free: 14.87 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.754e-06/0.2017, allocations: 0 / 488.3 MB, free: 14.87 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.001444/0.2032, allocations: 0.7077 MB / 489 MB, free: 14.11 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.2033, allocations: 8.875 kB / 489.1 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004757/0.2038, allocations: 76.27 kB / 489.1 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.2048, allocations: 467.7 kB / 489.6 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.972e-05/0.2048, allocations: 12.36 kB / 489.6 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.559e-05/0.2049, allocations: 16.03 kB / 489.6 MB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005214/0.2054, allocations: 155.1 kB / 489.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.2055, allocations: 0 / 489.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.007e-05/0.2055, allocations: 4 kB / 489.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.2055, allocations: 4 kB / 489.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004386/0.206, allocations: 107.9 kB / 489.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001664/0.2077, allocations: 0.6799 MB / 490.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003911/0.2081, allocations: 125.2 kB / 490.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002122/0.2083, allocations: 49.81 kB / 490.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.027e-05/0.2084, allocations: 11.92 kB / 490.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.116e-05/0.2084, allocations: 42.5 kB / 490.8 MB, free: 12.24 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 3.106e-06/0.2085, allocations: 0 / 490.8 MB, free: 12.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.00183/0.2103, allocations: 0.5804 MB / 491.4 MB, free: 11.65 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.482e-05/0.2104, allocations: 81.11 kB / 491.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.2115, allocations: 0.9024 MB / 492.3 MB, free: 10.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.2115, allocations: 25.7 kB / 492.4 MB, free: 10.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002039/0.2117, allocations: 260.3 kB / 492.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.714e-05/0.2118, allocations: 55.2 kB / 492.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.564e-05/0.2118, allocations: 17.72 kB / 492.7 MB, free: 10.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.212, allocations: 378.7 kB / 493.1 MB, free: 9.887 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002021/0.2122, allocations: 71.95 kB / 493.1 MB, free: 9.816 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001942/0.2124, allocations: 85.67 kB / 493.2 MB, free: 9.727 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003719/0.2128, allocations: 173.6 kB / 493.4 MB, free: 9.551 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.2128, allocations: 0 / 493.4 MB, free: 9.551 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005751/0.2134, allocations: 260.8 kB / 493.6 MB, free: 9.289 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.2134, allocations: 4 kB / 493.6 MB, free: 9.285 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.2135, allocations: 4.188 kB / 493.6 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.2135, allocations: 4 kB / 493.7 MB, free: 9.277 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002126/0.2137, allocations: 51.91 kB / 493.7 MB, free: 9.227 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.2137, allocations: 0 / 493.7 MB, free: 9.227 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.2139, allocations: 15.98 kB / 493.7 MB, free: 9.211 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.2139, allocations: 7.938 kB / 493.7 MB, free: 9.203 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000238/0.2141, allocations: 221.7 kB / 493.9 MB, free: 8.977 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.2142, allocations: 59.25 kB / 494 MB, free: 8.918 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006667/0.2149, allocations: 306.6 kB / 494.3 MB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.2149, allocations: 224 / 494.3 MB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.2149, allocations: 3.984 kB / 494.3 MB, free: 8.605 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.215, allocations: 3.938 kB / 494.3 MB, free: 8.602 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/0.2161, allocations: 0.8253 MB / 495.1 MB, free: 7.719 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.2162, allocations: 4 kB / 495.1 MB, free: 7.715 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000171/0.2163, allocations: 43.95 kB / 495.2 MB, free: 7.672 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.2164, allocations: 4 kB / 495.2 MB, free: 7.668 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.2164, allocations: 4 kB / 495.2 MB, free: 7.664 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.2164, allocations: 7.938 kB / 495.2 MB, free: 7.656 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.2164, allocations: 3.938 kB / 495.2 MB, free: 7.652 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007195/0.2171, allocations: 426.1 kB / 495.6 MB, free: 7.219 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002159/0.2174, allocations: 148.3 kB / 495.8 MB, free: 7.055 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.552e-05/0.2175, allocations: 11.98 kB / 495.8 MB, free: 7.043 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003013/0.2178, allocations: 15.94 kB / 495.8 MB, free: 7.027 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.287e-05/0.2179, allocations: 15.97 kB / 495.8 MB, free: 7.012 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/0.2179, allocations: 8 kB / 495.8 MB, free: 7.004 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001102/0.219, allocations: 0.663 MB / 496.5 MB, free: 6.348 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.219, allocations: 0 / 496.5 MB, free: 6.348 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004464/0.2195, allocations: 60 kB / 496.5 MB, free: 6.289 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 (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.0009724/0.2205, allocations: 394.8 kB / 496.9 MB, free: 6.031 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005519/0.221, allocations: 187.9 kB / 497.1 MB, free: 5.848 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.221, allocations: 0 / 497.1 MB, free: 5.848 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002113/0.2212, allocations: 92.03 kB / 497.2 MB, free: 5.758 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007046/0.222, allocations: 77.14 kB / 497.3 MB, free: 5.684 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.2236, allocations: 1.082 MB / 498.3 MB, free: 4.574 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006021/0.2243, allocations: 0.8773 MB / 499.2 MB, free: 3.672 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002414/0.2245, allocations: 91.52 kB / 499.3 MB, free: 3.582 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.2246, allocations: 39.42 kB / 499.4 MB, free: 3.543 MB / 366.1 MB Notification: Performance of SimCode: time 9.72e-07/0.2246, allocations: 0 / 499.4 MB, free: 3.543 MB / 366.1 MB Notification: Performance of Templates: time 0.009714/0.2344, allocations: 3.81 MB / 0.4914 GB, free: 15.75 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches