Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009501/0.0009501, allocations: 94.27 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 172.1 kB / 18.25 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 223.3 MB / 242.3 MB, free: 14.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2241/0.2241, allocations: 44.24 MB / 337.7 MB, free: 2.434 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004411/0.0004411, allocations: 8 kB / 410.3 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1741, allocations: 61.92 MB / 472.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.002414/0.1766, allocations: 1.374 MB / 473.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001516/0.1781, allocations: 0.8382 MB / 474.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.872e-05/0.1782, allocations: 0 / 474.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003564/0.1786, allocations: 47.86 kB / 474.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000219/0.1788, allocations: 55.81 kB / 474.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002926/0.1791, allocations: 91.53 kB / 474.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.1793, allocations: 99.67 kB / 474.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.203e-05/0.1794, allocations: 4 kB / 474.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.546e-05/0.1795, allocations: 31.86 kB / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.509e-05/0.1796, allocations: 39.72 kB / 474.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.1796, allocations: 3.984 kB / 474.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.193e-05/0.1797, allocations: 28 kB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.058e-05/0.1798, allocations: 27.91 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.465e-05/0.1799, allocations: 61.39 kB / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.1801, allocations: 111.9 kB / 475.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.1801, allocations: 4 kB / 475.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1801, allocations: 0 / 475.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.1802, allocations: 3.938 kB / 475.1 MB, free: 10.49 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.0006673/0.1808, allocations: 413.1 kB / 475.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.1809, allocations: 12.03 kB / 475.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.95e-05/0.1809, allocations: 12.84 kB / 475.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/0.1812, allocations: 215.9 kB / 475.7 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.1813, allocations: 4.375 kB / 475.7 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.1813, allocations: 4.125 kB / 475.7 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.1815, allocations: 49.67 kB / 475.8 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.1815, allocations: 4 kB / 475.8 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.1815, allocations: 0 / 475.8 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.1815, allocations: 0 / 475.8 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.24e-05/0.1816, allocations: 19.92 kB / 475.8 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002464/0.1818, allocations: 189.7 kB / 476 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.182, allocations: 50.62 kB / 476 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.79e-05/0.1821, allocations: 24.78 kB / 476.1 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.1821, allocations: 4 kB / 476.1 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001955/0.1823, allocations: 71.3 kB / 476.1 MB, free: 9.277 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.373e-06/0.1823, allocations: 0 / 476.1 MB, free: 9.277 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004284/0.1828, allocations: 97.52 kB / 476.2 MB, free: 9.176 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.1829, allocations: 51.41 kB / 476.3 MB, free: 9.113 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000536/0.1835, allocations: 262.9 kB / 476.5 MB, free: 8.844 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.644e-05/0.1836, allocations: 29.7 kB / 476.6 MB, free: 8.809 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/0.1837, allocations: 112.1 kB / 476.7 MB, free: 8.695 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.745e-05/0.1838, allocations: 15.8 kB / 476.7 MB, free: 8.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.083e-05/0.1839, allocations: 17.72 kB / 476.7 MB, free: 8.656 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002737/0.1842, allocations: 322.8 kB / 477 MB, free: 8.332 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.1844, allocations: 12 kB / 477 MB, free: 8.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.1845, allocations: 33.7 kB / 477.1 MB, free: 8.281 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/0.1847, allocations: 49.58 kB / 477.1 MB, free: 8.227 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.1848, allocations: 0 / 477.1 MB, free: 8.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003454/0.1851, allocations: 93.38 kB / 477.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.1851, allocations: 4 kB / 477.2 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1852, allocations: 0 / 477.2 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.1852, allocations: 4 kB / 477.2 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.344e-05/0.1853, allocations: 11.98 kB / 477.2 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.1853, allocations: 0 / 477.2 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.248e-05/0.1853, allocations: 7.938 kB / 477.2 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.1854, allocations: 0 / 477.2 MB, free: 8.102 MB / 350.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.0001204/0.1855, allocations: 137.8 kB / 477.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.788e-05/0.1855, allocations: 23.83 kB / 477.4 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.19e-05/0.1856, allocations: 16.98 kB / 477.4 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.1856, allocations: 4 kB / 477.4 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1856, allocations: 3.938 kB / 477.4 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1856, allocations: 0 / 477.4 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.1858, allocations: 197.5 kB / 477.6 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1858, allocations: 0 / 477.6 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.199e-05/0.1858, allocations: 7.938 kB / 477.6 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.1858, allocations: 0 / 477.6 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.1858, allocations: 4 kB / 477.6 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1858, allocations: 4.312 kB / 477.6 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1859, allocations: 0 / 477.6 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/0.186, allocations: 116.9 kB / 477.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.062e-05/0.1861, allocations: 93 kB / 477.8 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.1861, allocations: 0 / 477.8 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.038e-05/0.1862, allocations: 4 kB / 477.8 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.453e-05/0.1862, allocations: 3.984 kB / 477.8 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.1863, allocations: 8 kB / 477.8 MB, free: 7.391 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001788/0.1864, allocations: 200.2 kB / 478 MB, free: 7.195 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1864, allocations: 0 / 478 MB, free: 7.195 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002275/0.1867, allocations: 12 kB / 478 MB, free: 7.184 MB / 350.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.0009857/0.1877, allocations: 420.2 kB / 478.5 MB, free: 6.926 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001763/0.1879, allocations: 39.97 kB / 478.5 MB, free: 6.887 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.1879, allocations: 0 / 478.5 MB, free: 6.887 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.143e-05/0.1879, allocations: 20.06 kB / 478.5 MB, free: 6.867 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.1883, allocations: 31.91 kB / 478.5 MB, free: 6.836 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006459/0.1889, allocations: 281.7 kB / 478.8 MB, free: 6.531 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/0.1893, allocations: 0.716 MB / 479.5 MB, free: 5.789 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.723e-05/0.1894, allocations: 16.41 kB / 479.5 MB, free: 5.773 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.782e-05/0.1895, allocations: 15.42 kB / 479.6 MB, free: 5.758 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1895, allocations: 0 / 479.6 MB, free: 5.758 MB / 350.1 MB Notification: Performance of Templates: time 0.005998/0.1955, allocations: 1.434 MB / 481 MB, free: 4.332 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches