Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.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.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00164/0.00164, 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.002209/0.002209, 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 2.55/2.55, allocations: 227.4 MB / 246.9 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3774/0.3774, allocations: 46.11 MB / 344.3 MB, free: 11.83 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002939/0.002939, allocations: 80.06 kB / 417.5 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1717, allocations: 62.44 MB / 479.9 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.005532/0.1773, allocations: 1.757 MB / 481.7 MB, free: 3.973 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003157/0.1805, allocations: 0.99 MB / 482.7 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.866e-05/0.1806, allocations: 0 / 482.7 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004082/0.181, allocations: 55.88 kB / 482.7 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004639/0.1816, allocations: 91.66 kB / 482.8 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003174/0.1819, allocations: 55.88 kB / 482.9 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002454/0.1822, allocations: 99.69 kB / 483 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.192e-05/0.1823, allocations: 8.234 kB / 483 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.1824, allocations: 47.72 kB / 483 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.1826, allocations: 31.84 kB / 483.1 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.589e-05/0.1826, allocations: 0 / 483.1 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.1828, allocations: 27.98 kB / 483.1 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.778e-05/0.1829, allocations: 27.86 kB / 483.1 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.171e-05/0.183, allocations: 43.66 kB / 483.2 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.1832, allocations: 92.06 kB / 483.3 MB, free: 2.406 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.126e-05/0.1833, allocations: 7.984 kB / 483.3 MB, free: 2.398 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1833, allocations: 4 kB / 483.3 MB, free: 2.395 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1833, allocations: 0 / 483.3 MB, free: 2.395 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0008134/0.1841, allocations: 422.9 kB / 483.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.1842, allocations: 12.88 kB / 483.7 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.247e-05/0.1843, allocations: 12.75 kB / 483.7 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003501/0.1846, allocations: 220.8 kB / 483.9 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.1847, allocations: 4.375 kB / 483.9 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.773e-05/0.1847, allocations: 8.125 kB / 483.9 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.185, allocations: 53.61 kB / 484 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.185, allocations: 3.938 kB / 484 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.185, allocations: 0 / 484 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.185, allocations: 0 / 484 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.1852, allocations: 15.98 kB / 484 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003073/0.1855, allocations: 193.7 kB / 484.2 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002811/0.1858, allocations: 54.55 kB / 484.2 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.1859, allocations: 32.78 kB / 484.3 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.186, allocations: 4 kB / 484.3 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003238/0.1863, allocations: 67.33 kB / 484.4 MB, free: 1.148 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 2.144e-06/0.1863, allocations: 0 / 484.4 MB, free: 1.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005064/0.1868, allocations: 97.48 kB / 484.4 MB, free: 1.047 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.695e-05/0.1869, allocations: 51.41 kB / 484.5 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004508/0.1874, allocations: 271 kB / 484.8 MB, free: 0.707 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.1874, allocations: 25.7 kB / 484.8 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.63e-05/0.1875, allocations: 112.1 kB / 484.9 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.061e-05/0.1876, allocations: 15.89 kB / 484.9 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.579e-05/0.1877, allocations: 17.72 kB / 484.9 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.1879, allocations: 322.8 kB / 485.2 MB, free: 204 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.55e-05/0.188, allocations: 19.92 kB / 485.3 MB, free: 184 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.1881, allocations: 33.72 kB / 485.3 MB, free: 144 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.1883, allocations: 41.7 kB / 485.3 MB, free: 96 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1883, allocations: 0 / 485.3 MB, free: 96 kB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002345/0.1885, allocations: 89.38 kB / 485.4 MB, free: 0 / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.51e-05/0.1886, allocations: 8.047 kB / 485.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1886, allocations: 0 / 485.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.1886, allocations: 4 kB / 485.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.1888, allocations: 8 kB / 485.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.1888, allocations: 4.031 kB / 485.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.963e-05/0.1889, allocations: 11.84 kB / 485.5 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.495e-06/0.1889, allocations: 0 / 485.5 MB, free: 15.96 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: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001424/0.189, allocations: 145.6 kB / 485.6 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.795e-05/0.1891, allocations: 15.89 kB / 485.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.935e-05/0.1891, allocations: 13 kB / 485.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.1892, allocations: 4 kB / 485.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.1892, allocations: 0 / 485.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.1892, allocations: 3.938 kB / 485.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/0.1894, allocations: 205.8 kB / 485.8 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.1894, allocations: 4 kB / 485.8 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.187e-05/0.1895, allocations: 7.984 kB / 485.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.1895, allocations: 0 / 485.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.1895, allocations: 4 kB / 485.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1895, allocations: 0 / 485.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1895, allocations: 0 / 485.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002516/0.1898, allocations: 109 kB / 486 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.619e-05/0.1899, allocations: 92.92 kB / 486.1 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.274e-05/0.1899, allocations: 4 kB / 486.1 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.387e-05/0.19, allocations: 0 / 486.1 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.19, allocations: 15.86 kB / 486.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.19, allocations: 0 / 486.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000251/0.1903, allocations: 208.4 kB / 486.3 MB, free: 15.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1903, allocations: 0 / 486.3 MB, free: 15.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003507/0.1907, allocations: 19.98 kB / 486.3 MB, free: 15.04 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001713/0.1924, allocations: 412.2 kB / 486.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000271/0.1927, allocations: 39.92 kB / 486.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1927, allocations: 0 / 486.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.1928, allocations: 23.92 kB / 486.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004832/0.1933, allocations: 31.48 kB / 486.8 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008516/0.1942, allocations: 322 kB / 487.1 MB, free: 14.33 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004381/0.1947, allocations: 0.7121 MB / 487.8 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.741e-05/0.1947, allocations: 19.44 kB / 487.8 MB, free: 13.57 MB / 366.1 MB Notification: Performance of SimCode: time 8.02e-07/0.1948, allocations: 0 / 487.8 MB, free: 13.57 MB / 366.1 MB Notification: Performance of Templates: time 0.00668/0.2015, allocations: 1.865 MB / 489.7 MB, free: 11.7 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches