Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001077/0.001077, allocations: 97.12 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001755/0.001755, allocations: 206.3 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 227.7 MB / 246.8 MB, free: 11.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2142/0.2142, allocations: 46.19 MB / 345.2 MB, free: 11.37 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003067/0.0003066, allocations: 12 kB / 419.5 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1686, allocations: 63.57 MB / 483.1 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002336/0.171, allocations: 1.532 MB / 484.6 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00252/0.1735, allocations: 1.655 MB / 486.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.425e-05/0.1736, allocations: 0 / 486.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003415/0.174, allocations: 43.83 kB / 486.3 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003608/0.1744, allocations: 123.5 kB / 486.4 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001958/0.1746, allocations: 79.86 kB / 486.5 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002647/0.1749, allocations: 195.4 kB / 486.7 MB, free: 496 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.062e-05/0.1749, allocations: 13.69 kB / 486.7 MB, free: 484 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.1751, allocations: 79.56 kB / 486.8 MB, free: 404 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002168/0.1753, allocations: 83.56 kB / 486.9 MB, free: 320 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.388e-05/0.1753, allocations: 4 kB / 486.9 MB, free: 316 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001891/0.1755, allocations: 99.92 kB / 487 MB, free: 216 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.916e-05/0.1756, allocations: 31.84 kB / 487 MB, free: 184 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.484e-05/0.1757, allocations: 93.17 kB / 487.1 MB, free: 84 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003189/0.176, allocations: 215.6 kB / 487.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.176, allocations: 4 kB / 487.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1761, allocations: 0 / 487.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.1761, allocations: 0 / 487.3 MB, free: 15.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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006866/0.1768, allocations: 478.6 kB / 487.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.1768, allocations: 8.875 kB / 487.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.15e-05/0.1769, allocations: 20.75 kB / 487.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003205/0.1772, allocations: 248.9 kB / 488.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.1772, allocations: 4.375 kB / 488.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.1773, allocations: 12.12 kB / 488.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.1775, allocations: 105 kB / 488.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.1775, allocations: 0 / 488.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.1775, allocations: 0 / 488.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.1775, allocations: 3.984 kB / 488.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.1776, allocations: 31.97 kB / 488.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002583/0.1779, allocations: 222.5 kB / 488.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002688/0.1782, allocations: 105.2 kB / 488.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.411e-05/0.1783, allocations: 45.64 kB / 488.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.485e-05/0.1783, allocations: 4 kB / 488.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002489/0.1786, allocations: 105 kB / 488.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.532e-06/0.1786, allocations: 0 / 488.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004436/0.179, allocations: 169.4 kB / 488.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.252e-05/0.1791, allocations: 132.5 kB / 489 MB, free: 13.97 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002614/0.1794, allocations: 237.6 kB / 489.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.1794, allocations: 25.7 kB / 489.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.92e-05/0.1795, allocations: 116.1 kB / 489.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.064e-05/0.1796, allocations: 35.55 kB / 489.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.831e-05/0.1796, allocations: 17.72 kB / 489.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.1797, allocations: 326.8 kB / 489.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.207e-05/0.1798, allocations: 27.98 kB / 489.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.1799, allocations: 77.06 kB / 489.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.1801, allocations: 79.42 kB / 489.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.1801, allocations: 0 / 489.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002672/0.1804, allocations: 157.8 kB / 490.1 MB, free: 12.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.1804, allocations: 8 kB / 490.1 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1804, allocations: 3.938 kB / 490.1 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.1805, allocations: 0 / 490.1 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.1806, allocations: 23.98 kB / 490.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.1806, allocations: 0 / 490.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.33e-05/0.1807, allocations: 11.91 kB / 490.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.1807, allocations: 8 kB / 490.1 MB, free: 12.77 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001802/0.1809, allocations: 146.3 kB / 490.2 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.616e-05/0.181, allocations: 15.81 kB / 490.3 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.881e-05/0.181, allocations: 16.98 kB / 490.3 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.181, allocations: 4 kB / 490.3 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.1811, allocations: 0 / 490.3 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.1811, allocations: 0 / 490.3 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002719/0.1813, allocations: 233.4 kB / 490.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1814, allocations: 0 / 490.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.565e-05/0.1814, allocations: 11.98 kB / 490.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1814, allocations: 4 kB / 490.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.1814, allocations: 0 / 490.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.1814, allocations: 4 kB / 490.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.1814, allocations: 0 / 490.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00032/0.1818, allocations: 169.6 kB / 490.7 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.692e-05/0.1819, allocations: 108.8 kB / 490.8 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.458e-05/0.1819, allocations: 0 / 490.8 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.433e-05/0.182, allocations: 15.98 kB / 490.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.438e-05/0.182, allocations: 7.938 kB / 490.8 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.272e-05/0.1821, allocations: 11.98 kB / 490.8 MB, free: 11.94 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002061/0.1823, allocations: 176.5 kB / 491 MB, free: 11.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1823, allocations: 0 / 491 MB, free: 11.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003225/0.1826, allocations: 55.98 kB / 491.1 MB, free: 11.71 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001397/0.184, allocations: 0.4891 MB / 491.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002614/0.1843, allocations: 87.89 kB / 491.6 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.1843, allocations: 0 / 491.6 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.1844, allocations: 39.92 kB / 491.7 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/0.1848, allocations: 59.5 kB / 491.7 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006092/0.1854, allocations: 315.1 kB / 492 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.1858, allocations: 0.7245 MB / 492.8 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001017/0.1859, allocations: 29.52 kB / 492.8 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.293e-05/0.186, allocations: 27.42 kB / 492.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.186, allocations: 3.938 kB / 492.8 MB, free: 10.04 MB / 366.1 MB Notification: Performance of Templates: time 0.007387/0.1934, allocations: 2.991 MB / 495.8 MB, free: 7.078 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches