Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 103.5 kB / 15.98 MB, free: 6.352 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.001077/0.001077, allocations: 197.2 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.908/1.908, allocations: 205.1 MB / 222.8 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.483/0.483, allocations: 43.5 MB / 313.6 MB, free: 8.273 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 67.91 kB / 382.2 MB, free: 8.383 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1742, allocations: 57.78 MB / 440 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003535/0.1778, allocations: 1.76 MB / 441.8 MB, free: 12.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002438/0.1803, allocations: 1.367 MB / 443.1 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.033e-05/0.1804, allocations: 3.938 kB / 443.1 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003514/0.1807, allocations: 31.91 kB / 443.2 MB, free: 11.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002328/0.181, allocations: 51.81 kB / 443.2 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002547/0.1813, allocations: 71.86 kB / 443.3 MB, free: 11.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001812/0.1815, allocations: 103.7 kB / 443.4 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.1816, allocations: 8.219 kB / 443.4 MB, free: 11.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.907e-05/0.1817, allocations: 47.73 kB / 443.5 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.1818, allocations: 39.83 kB / 443.5 MB, free: 10.99 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.1818, allocations: 4 kB / 443.5 MB, free: 10.99 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.182, allocations: 63.97 kB / 443.6 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.688e-05/0.182, allocations: 15.92 kB / 443.6 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.366e-05/0.1821, allocations: 35.73 kB / 443.6 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002203/0.1823, allocations: 123.9 kB / 443.7 MB, free: 10.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.1823, allocations: 0 / 443.7 MB, free: 10.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1824, allocations: 0 / 443.7 MB, free: 10.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.1824, allocations: 4 kB / 443.7 MB, free: 10.75 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006122/0.183, allocations: 399.1 kB / 444.1 MB, free: 10.31 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.183, allocations: 15.89 kB / 444.1 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.528e-05/0.1831, allocations: 12.78 kB / 444.1 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.1833, allocations: 212.1 kB / 444.4 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.1834, allocations: 384 / 444.4 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/0.1834, allocations: 8.125 kB / 444.4 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.1836, allocations: 75.33 kB / 444.4 MB, free: 9.945 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.1836, allocations: 3.938 kB / 444.4 MB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.1836, allocations: 0 / 444.4 MB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.1836, allocations: 0 / 444.4 MB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.417e-05/0.1837, allocations: 19.98 kB / 444.5 MB, free: 9.922 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003996/0.1841, allocations: 288.8 kB / 444.7 MB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.1843, allocations: 58.61 kB / 444.8 MB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.242e-05/0.1844, allocations: 24.84 kB / 444.8 MB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.1844, allocations: 0 / 444.8 MB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002178/0.1846, allocations: 67.39 kB / 444.9 MB, free: 9.418 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 3.106e-06/0.1846, allocations: 3.984 kB / 444.9 MB, free: 9.414 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005525/0.1852, allocations: 165.2 kB / 445.1 MB, free: 9.246 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.967e-05/0.1853, allocations: 89.09 kB / 445.1 MB, free: 9.141 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.1854, allocations: 142.5 kB / 445.3 MB, free: 8.992 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.1854, allocations: 29.7 kB / 445.3 MB, free: 8.957 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.621e-05/0.1855, allocations: 96.12 kB / 445.4 MB, free: 8.859 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/0.1855, allocations: 31.64 kB / 445.4 MB, free: 8.828 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.1856, allocations: 29.7 kB / 445.5 MB, free: 8.793 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.1857, allocations: 326.8 kB / 445.8 MB, free: 8.465 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.537e-05/0.1858, allocations: 19.94 kB / 445.8 MB, free: 8.445 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.248e-05/0.1858, allocations: 38.56 kB / 445.8 MB, free: 8.398 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.1859, allocations: 65.73 kB / 445.9 MB, free: 8.328 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1859, allocations: 0 / 445.9 MB, free: 8.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001764/0.1861, allocations: 101.5 kB / 446 MB, free: 8.223 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.1862, allocations: 4 kB / 446 MB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.1862, allocations: 4 kB / 446 MB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.1862, allocations: 0 / 446 MB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.794e-05/0.1863, allocations: 12 kB / 446 MB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.1863, allocations: 4.141 kB / 446 MB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.946e-05/0.1863, allocations: 11.92 kB / 446 MB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.1864, allocations: 8.031 kB / 446 MB, free: 8.18 MB / 382.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 (10): * Single equations (assignments): 10 * 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.0001006/0.1865, allocations: 121.8 kB / 446.2 MB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/0.1865, allocations: 12 kB / 446.2 MB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.076e-05/0.1865, allocations: 16.7 kB / 446.2 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1866, allocations: 7.938 kB / 446.2 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1866, allocations: 384 / 446.2 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.1866, allocations: 3.938 kB / 446.2 MB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000424/0.187, allocations: 391.3 kB / 446.6 MB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.187, allocations: 4 kB / 446.6 MB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.944e-05/0.1871, allocations: 8 kB / 446.6 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1871, allocations: 0 / 446.6 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.1871, allocations: 11.92 kB / 446.6 MB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1871, allocations: 4 kB / 446.6 MB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1871, allocations: 0 / 446.6 MB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002097/0.1873, allocations: 208.2 kB / 446.8 MB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.119e-05/0.1874, allocations: 85.02 kB / 446.9 MB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/0.1874, allocations: 7.938 kB / 446.9 MB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.717e-05/0.1875, allocations: 3.984 kB / 446.9 MB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/0.1875, allocations: 4 kB / 446.9 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.1875, allocations: 8 kB / 446.9 MB, free: 7.199 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.006e-05/0.1876, allocations: 118.7 kB / 447 MB, free: 7.086 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1876, allocations: 0 / 447 MB, free: 7.086 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000283/0.1879, allocations: 39.98 kB / 447.1 MB, free: 7.047 MB / 382.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001169/0.1891, allocations: 0.4969 MB / 447.6 MB, free: 6.578 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002075/0.1893, allocations: 67.89 kB / 447.6 MB, free: 6.512 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1893, allocations: 0 / 447.6 MB, free: 6.512 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.063e-05/0.1894, allocations: 31.92 kB / 447.7 MB, free: 6.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.1897, allocations: 23.84 kB / 447.7 MB, free: 6.457 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000488/0.1902, allocations: 215 kB / 447.9 MB, free: 6.215 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.1906, allocations: 0.6962 MB / 448.6 MB, free: 5.492 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.263e-05/0.1907, allocations: 20.88 kB / 448.6 MB, free: 5.473 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.22e-05/0.1908, allocations: 23.42 kB / 448.6 MB, free: 5.449 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1908, allocations: 0 / 448.6 MB, free: 5.449 MB / 382.1 MB Notification: Performance of Templates: time 0.005101/0.1959, allocations: 1.925 MB / 450.6 MB, free: 3.527 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches