Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,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.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,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.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 102.8 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002499/0.002499, allocations: 184.5 kB / 16.92 MB, free: 6.918 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.956/1.956, allocations: 205.4 MB / 223.1 MB, free: 5.523 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.5201/0.5201, allocations: 43.57 MB / 315 MB, free: 9.09 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.000565/0.000565, allocations: 20.56 kB / 384.6 MB, free: 7.875 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1734, allocations: 58.86 MB / 443.5 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002276/0.1757, allocations: 1.414 MB / 444.9 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001387/0.1771, allocations: 0.7769 MB / 445.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.875e-05/0.1772, allocations: 3.938 kB / 445.7 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003442/0.1776, allocations: 31.91 kB / 445.7 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002092/0.1778, allocations: 47.83 kB / 445.7 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002784/0.1781, allocations: 79.84 kB / 445.8 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001795/0.1783, allocations: 95.69 kB / 445.9 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.1784, allocations: 8.219 kB / 445.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.6e-05/0.1785, allocations: 39.78 kB / 445.9 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.793e-05/0.1786, allocations: 31.8 kB / 446 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.1786, allocations: 0 / 446 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.1788, allocations: 35.98 kB / 446 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.43e-05/0.1788, allocations: 19.91 kB / 446 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.784e-05/0.1789, allocations: 65.44 kB / 446.1 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002048/0.1791, allocations: 107.9 kB / 446.2 MB, free: 10.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1791, allocations: 0 / 446.2 MB, free: 10.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1791, allocations: 0 / 446.2 MB, free: 10.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1792, allocations: 0 / 446.2 MB, free: 10.13 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.0006512/0.1798, allocations: 395 kB / 446.6 MB, free: 9.699 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.1799, allocations: 8.031 kB / 446.6 MB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.35e-05/0.1799, allocations: 16.75 kB / 446.6 MB, free: 9.676 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002711/0.1802, allocations: 200.1 kB / 446.8 MB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/0.1802, allocations: 8.375 kB / 446.8 MB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.907e-05/0.1803, allocations: 8.125 kB / 446.8 MB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.1805, allocations: 53.67 kB / 446.9 MB, free: 9.367 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.1805, allocations: 0 / 446.9 MB, free: 9.367 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.1805, allocations: 0 / 446.9 MB, free: 9.367 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.1805, allocations: 4 kB / 446.9 MB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.455e-05/0.1806, allocations: 19.92 kB / 446.9 MB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004429/0.1811, allocations: 284.9 kB / 447.2 MB, free: 9.016 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.1812, allocations: 58.67 kB / 447.2 MB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.906e-05/0.1813, allocations: 20.86 kB / 447.3 MB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.234e-05/0.1813, allocations: 7.938 kB / 447.3 MB, free: 8.918 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002147/0.1816, allocations: 67.38 kB / 447.3 MB, free: 8.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.1816, allocations: 4 kB / 447.3 MB, free: 8.836 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006898/0.1823, allocations: 165.2 kB / 447.5 MB, free: 8.668 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.1823, allocations: 51.41 kB / 447.5 MB, free: 8.605 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/0.1825, allocations: 174.2 kB / 447.7 MB, free: 8.422 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.1826, allocations: 25.7 kB / 447.7 MB, free: 8.391 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.987e-05/0.1826, allocations: 96.14 kB / 447.8 MB, free: 8.293 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.955e-05/0.1827, allocations: 27.64 kB / 447.9 MB, free: 8.266 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.535e-05/0.1828, allocations: 17.72 kB / 447.9 MB, free: 8.242 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.183, allocations: 334.7 kB / 448.2 MB, free: 7.906 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.77e-05/0.183, allocations: 19.98 kB / 448.2 MB, free: 7.887 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.831e-05/0.1831, allocations: 37.7 kB / 448.3 MB, free: 7.844 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.1832, allocations: 57.64 kB / 448.3 MB, free: 7.781 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1832, allocations: 0 / 448.3 MB, free: 7.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001817/0.1834, allocations: 101.5 kB / 448.4 MB, free: 7.676 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.1834, allocations: 12.03 kB / 448.4 MB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.1835, allocations: 0 / 448.4 MB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.1835, allocations: 192 / 448.4 MB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.975e-05/0.1836, allocations: 19.98 kB / 448.4 MB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.1836, allocations: 3.938 kB / 448.5 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.711e-05/0.1837, allocations: 3.938 kB / 448.5 MB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.1837, allocations: 4 kB / 448.5 MB, free: 7.633 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.0001319/0.1838, allocations: 125.8 kB / 448.6 MB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.1838, allocations: 16.19 kB / 448.6 MB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.568e-05/0.1839, allocations: 12.72 kB / 448.6 MB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1839, allocations: 4 kB / 448.6 MB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.1839, allocations: 0 / 448.6 MB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.1839, allocations: 11.92 kB / 448.6 MB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00047/0.1844, allocations: 391.5 kB / 449 MB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.1844, allocations: 3.984 kB / 449 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.247e-05/0.1845, allocations: 11.94 kB / 449 MB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.1845, allocations: 8.031 kB / 449 MB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.1845, allocations: 3.938 kB / 449 MB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1845, allocations: 0 / 449 MB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.1845, allocations: 0 / 449 MB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002414/0.1847, allocations: 196.3 kB / 449.2 MB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.152e-05/0.1848, allocations: 89 kB / 449.3 MB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/0.1848, allocations: 7.938 kB / 449.3 MB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.622e-05/0.1849, allocations: 8 kB / 449.3 MB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.96e-05/0.185, allocations: 7.984 kB / 449.3 MB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.185, allocations: 7.938 kB / 449.3 MB, free: 6.645 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001214/0.1851, allocations: 135.9 kB / 449.5 MB, free: 6.512 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1851, allocations: 0 / 449.5 MB, free: 6.512 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002596/0.1854, allocations: 27.89 kB / 449.5 MB, free: 6.484 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.001189/0.1866, allocations: 476.5 kB / 450 MB, free: 6.043 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001845/0.1868, allocations: 55.86 kB / 450 MB, free: 5.988 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1868, allocations: 0 / 450 MB, free: 5.988 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.181e-05/0.1869, allocations: 31.98 kB / 450.1 MB, free: 5.957 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.1873, allocations: 32.09 kB / 450.1 MB, free: 5.926 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005423/0.1878, allocations: 234 kB / 450.3 MB, free: 5.672 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003836/0.1882, allocations: 0.7082 MB / 451 MB, free: 4.938 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.148e-05/0.1883, allocations: 17.17 kB / 451 MB, free: 4.914 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.857e-05/0.1883, allocations: 19.42 kB / 451.1 MB, free: 4.895 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1883, allocations: 0 / 451.1 MB, free: 4.895 MB / 382.1 MB Notification: Performance of Templates: time 0.004762/0.1931, allocations: 1.604 MB / 452.7 MB, free: 3.293 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches