Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, 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.001156/0.001156, allocations: 185 kB / 16.92 MB, free: 6.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.023/2.023, allocations: 205.4 MB / 223.1 MB, free: 5.555 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.4996/0.4996, allocations: 43.57 MB / 315 MB, free: 8.992 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.0006171/0.0006171, allocations: 19.94 kB / 384.6 MB, free: 7.855 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1761, allocations: 58.86 MB / 443.5 MB, free: 12.89 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002486/0.1787, allocations: 1.379 MB / 444.8 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00161/0.1803, allocations: 0.7574 MB / 445.6 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.228e-05/0.1804, allocations: 0 / 445.6 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004267/0.1809, allocations: 51.8 kB / 445.6 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002067/0.1811, allocations: 59.81 kB / 445.7 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002395/0.1813, allocations: 71.84 kB / 445.8 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002157/0.1816, allocations: 91.69 kB / 445.9 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.311e-05/0.1816, allocations: 7.984 kB / 445.9 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.164e-05/0.1817, allocations: 43.78 kB / 445.9 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.1818, allocations: 35.78 kB / 445.9 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.1819, allocations: 0 / 445.9 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.182, allocations: 28 kB / 446 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.824e-05/0.1821, allocations: 27.89 kB / 446 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.1822, allocations: 65.39 kB / 446.1 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001985/0.1824, allocations: 111.9 kB / 446.2 MB, free: 10.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.1824, allocations: 0 / 446.2 MB, free: 10.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.358e-06/0.1824, allocations: 0 / 446.2 MB, free: 10.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.1824, allocations: 3.938 kB / 446.2 MB, free: 10.14 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006479/0.1831, allocations: 414.9 kB / 446.6 MB, free: 9.688 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.1832, allocations: 8.031 kB / 446.6 MB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.831e-05/0.1832, allocations: 20.75 kB / 446.6 MB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.1835, allocations: 215.8 kB / 446.8 MB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.1835, allocations: 384 / 446.8 MB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.1836, allocations: 8.125 kB / 446.8 MB, free: 9.402 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.1837, allocations: 45.67 kB / 446.9 MB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.1838, allocations: 0 / 446.9 MB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.1838, allocations: 0 / 446.9 MB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-06/0.1838, allocations: 4 kB / 446.9 MB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.926e-05/0.1839, allocations: 19.92 kB / 446.9 MB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002705/0.1841, allocations: 197.7 kB / 447.1 MB, free: 9.086 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.1843, allocations: 50.61 kB / 447.1 MB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.155e-05/0.1844, allocations: 24.78 kB / 447.2 MB, free: 9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.131e-05/0.1844, allocations: 0 / 447.2 MB, free: 9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002302/0.1847, allocations: 71.39 kB / 447.2 MB, free: 8.918 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.974e-06/0.1847, allocations: 0 / 447.2 MB, free: 8.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003124/0.185, allocations: 97.61 kB / 447.3 MB, free: 8.816 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/0.1851, allocations: 55.41 kB / 447.4 MB, free: 8.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002794/0.1854, allocations: 255.7 kB / 447.6 MB, free: 8.488 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.613e-05/0.1854, allocations: 25.7 kB / 447.7 MB, free: 8.457 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.638e-05/0.1855, allocations: 116.1 kB / 447.8 MB, free: 8.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.046e-05/0.1855, allocations: 7.906 kB / 447.8 MB, free: 8.332 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.24e-05/0.1856, allocations: 25.64 kB / 447.8 MB, free: 8.301 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002032/0.1858, allocations: 326.8 kB / 448.1 MB, free: 7.973 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.99e-05/0.1859, allocations: 12 kB / 448.1 MB, free: 7.961 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.228e-05/0.1859, allocations: 25.7 kB / 448.2 MB, free: 7.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.186, allocations: 53.7 kB / 448.2 MB, free: 7.871 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.186, allocations: 0 / 448.2 MB, free: 7.871 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001555/0.1862, allocations: 93.38 kB / 448.3 MB, free: 7.773 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.1862, allocations: 4 kB / 448.3 MB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.1862, allocations: 0 / 448.3 MB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.1863, allocations: 0 / 448.3 MB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-05/0.1864, allocations: 11.98 kB / 448.3 MB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.1864, allocations: 4 kB / 448.3 MB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.119e-05/0.1864, allocations: 7.938 kB / 448.3 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.1865, allocations: 4.156 kB / 448.3 MB, free: 7.742 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 (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.0001343/0.1866, allocations: 133.8 kB / 448.5 MB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.094e-05/0.1866, allocations: 15.81 kB / 448.5 MB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.201e-05/0.1867, allocations: 20.98 kB / 448.5 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1867, allocations: 0 / 448.5 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.1867, allocations: 0 / 448.5 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1867, allocations: 0 / 448.5 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.1869, allocations: 201.6 kB / 448.7 MB, free: 7.316 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1869, allocations: 0 / 448.7 MB, free: 7.316 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.929e-05/0.187, allocations: 3.938 kB / 448.7 MB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.187, allocations: 4 kB / 448.7 MB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.187, allocations: 0 / 448.7 MB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.187, allocations: 7.984 kB / 448.7 MB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.187, allocations: 0 / 448.7 MB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002142/0.1872, allocations: 116.9 kB / 448.8 MB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.535e-05/0.1873, allocations: 92.91 kB / 448.9 MB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.1873, allocations: 128 / 448.9 MB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.879e-05/0.1874, allocations: 8 kB / 448.9 MB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.948e-05/0.1874, allocations: 7.984 kB / 448.9 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.1874, allocations: 8 kB / 448.9 MB, free: 7.035 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001833/0.1876, allocations: 195 kB / 449.1 MB, free: 6.844 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1876, allocations: 3.938 kB / 449.1 MB, free: 6.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002171/0.1879, allocations: 20 kB / 449.2 MB, free: 6.82 MB / 382.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.001175/0.189, allocations: 417.7 kB / 449.6 MB, free: 6.441 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001702/0.1892, allocations: 43.97 kB / 449.6 MB, free: 6.398 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.1892, allocations: 0 / 449.6 MB, free: 6.398 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.73e-05/0.1893, allocations: 20.06 kB / 449.6 MB, free: 6.379 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.1896, allocations: 32.16 kB / 449.7 MB, free: 6.348 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006526/0.1903, allocations: 285.8 kB / 449.9 MB, free: 6.043 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004969/0.1908, allocations: 0.7121 MB / 450.7 MB, free: 5.305 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.775e-05/0.1909, allocations: 12.55 kB / 450.7 MB, free: 5.293 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.603e-05/0.1909, allocations: 23.42 kB / 450.7 MB, free: 5.273 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1909, allocations: 0 / 450.7 MB, free: 5.273 MB / 382.1 MB Notification: Performance of Templates: time 0.005593/0.1965, allocations: 1.416 MB / 452.1 MB, free: 3.859 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches