Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.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.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001301/0.001301, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001585/0.001585, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2221/0.2221, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002262/0.002262, allocations: 79.31 kB / 417.6 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1749, allocations: 62.44 MB / 480 MB, free: 5.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003196/0.1781, allocations: 1.616 MB / 481.6 MB, free: 3.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001006/0.1792, allocations: 0.5377 MB / 482.2 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.839e-05/0.1793, allocations: 0 / 482.2 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002736/0.1795, allocations: 75.78 kB / 482.2 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002916/0.1798, allocations: 103.6 kB / 482.3 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002632/0.1801, allocations: 99.25 kB / 482.4 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.1803, allocations: 75.83 kB / 482.5 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.1804, allocations: 23.97 kB / 482.5 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.329e-05/0.1805, allocations: 31.86 kB / 482.6 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.674e-05/0.1806, allocations: 51.83 kB / 482.6 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.1806, allocations: 0 / 482.6 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.489e-05/0.1807, allocations: 47.98 kB / 482.7 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.508e-05/0.1807, allocations: 19.91 kB / 482.7 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.865e-05/0.1808, allocations: 31.75 kB / 482.7 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.181, allocations: 103.7 kB / 482.8 MB, free: 2.488 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.181, allocations: 0 / 482.8 MB, free: 2.488 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.181, allocations: 0 / 482.8 MB, free: 2.488 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.181, allocations: 0 / 482.8 MB, free: 2.488 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005379/0.1816, allocations: 407.3 kB / 483.2 MB, free: 2.043 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.1816, allocations: 8.031 kB / 483.2 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.275e-05/0.1817, allocations: 16.69 kB / 483.2 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.1819, allocations: 196.1 kB / 483.4 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.1819, allocations: 12.36 kB / 483.4 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.1819, allocations: 384 / 483.4 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.1821, allocations: 57.78 kB / 483.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.1821, allocations: 8 kB / 483.5 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.1821, allocations: 4 kB / 483.5 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.1821, allocations: 0 / 483.5 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.1823, allocations: 31.91 kB / 483.5 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003617/0.1826, allocations: 284.8 kB / 483.8 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001/0.1827, allocations: 42.56 kB / 483.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.176e-05/0.1828, allocations: 24.88 kB / 483.9 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.1828, allocations: 0 / 483.9 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.1829, allocations: 38.56 kB / 483.9 MB, free: 1.219 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.1829, allocations: 0 / 483.9 MB, free: 1.219 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000906/0.1838, allocations: 221 kB / 484.1 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.1838, allocations: 51.41 kB / 484.2 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/0.184, allocations: 207.3 kB / 484.4 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.184, allocations: 25.7 kB / 484.4 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.508e-05/0.1841, allocations: 112.1 kB / 484.5 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.225e-05/0.1842, allocations: 27.55 kB / 484.6 MB, free: 0.543 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-05/0.1842, allocations: 25.7 kB / 484.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.1843, allocations: 326.8 kB / 484.9 MB, free: 188 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.998e-05/0.1844, allocations: 19.98 kB / 484.9 MB, free: 168 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.88e-05/0.1845, allocations: 28 kB / 484.9 MB, free: 140 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.1847, allocations: 64.77 kB / 485 MB, free: 72 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1847, allocations: 0 / 485 MB, free: 72 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002319/0.1849, allocations: 97.56 kB / 485.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.1849, allocations: 4 kB / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.185, allocations: 4 kB / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.185, allocations: 0 / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.1851, allocations: 19.92 kB / 485.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.1851, allocations: 320 / 485.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.945e-05/0.1852, allocations: 11.94 kB / 485.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.1852, allocations: 8 kB / 485.2 MB, free: 15.92 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 (8): * Single equations (assignments): 8 * 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 9.839e-05/0.1853, allocations: 125.8 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.796e-05/0.1853, allocations: 15.81 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003015/0.1856, allocations: 127 kB / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1857, allocations: 0 / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.1857, allocations: 0 / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.1857, allocations: 3.938 kB / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005598/0.1862, allocations: 403.7 kB / 485.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1863, allocations: 0 / 485.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.344e-05/0.1863, allocations: 15.98 kB / 485.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.1863, allocations: 11.88 kB / 485.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.1864, allocations: 4 kB / 485.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.1864, allocations: 0 / 485.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1864, allocations: 0 / 485.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002819/0.1867, allocations: 212.2 kB / 486 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.065e-05/0.1867, allocations: 88.95 kB / 486.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.1868, allocations: 3.984 kB / 486.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.61e-05/0.1868, allocations: 8 kB / 486.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.963e-05/0.1869, allocations: 4 kB / 486.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.1869, allocations: 7.984 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001492/0.1871, allocations: 152 kB / 486.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1871, allocations: 0 / 486.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002611/0.1873, allocations: 23.98 kB / 486.3 MB, free: 14.63 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 (8): * Single equations (assignments): 8 * 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.00114/0.1885, allocations: 453.9 kB / 486.8 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002654/0.1887, allocations: 63.95 kB / 486.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.1888, allocations: 0 / 486.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.1889, allocations: 35.92 kB / 486.9 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004243/0.1893, allocations: 15.98 kB / 486.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005859/0.1899, allocations: 247.5 kB / 487.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.1902, allocations: 0.704 MB / 487.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.155e-05/0.1903, allocations: 24.64 kB / 487.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.754e-05/0.1904, allocations: 23.38 kB / 487.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1904, allocations: 0 / 487.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of Templates: time 0.00421/0.1946, allocations: 1.344 MB / 489.2 MB, free: 11.84 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches