Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,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.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,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.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001182, allocations: 97.33 kB / 16.02 MB, free: 84 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.001314/0.001314, allocations: 185.3 kB / 16.92 MB, free: 6.891 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.053/2.053, allocations: 205.4 MB / 223.1 MB, free: 5.527 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.5326/0.5326, allocations: 43.58 MB / 315 MB, free: 9.098 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.000608/0.0006083, allocations: 20 kB / 384.6 MB, free: 7.883 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.1752, allocations: 58.86 MB / 443.4 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.002473/0.1778, allocations: 1.421 MB / 444.9 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001475/0.1793, allocations: 0.7768 MB / 445.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.1794, allocations: 0 / 445.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004037/0.1798, allocations: 79.83 kB / 445.7 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003092/0.1801, allocations: 67.73 kB / 445.8 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003523/0.1805, allocations: 79.83 kB / 445.9 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002568/0.1808, allocations: 107.7 kB / 446 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.1809, allocations: 12.22 kB / 446 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001623/0.1811, allocations: 47.78 kB / 446 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.1812, allocations: 55.81 kB / 446.1 MB, free: 10.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.337e-05/0.1813, allocations: 4 kB / 446.1 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001688/0.1815, allocations: 43.97 kB / 446.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.733e-05/0.1815, allocations: 19.86 kB / 446.2 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.1817, allocations: 69.38 kB / 446.2 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002697/0.1819, allocations: 115.9 kB / 446.3 MB, free: 10 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1819, allocations: 0 / 446.3 MB, free: 10 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.182, allocations: 0 / 446.3 MB, free: 10 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.182, allocations: 0 / 446.3 MB, free: 10 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.0006618/0.1826, allocations: 407 kB / 446.7 MB, free: 9.559 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.1827, allocations: 8.031 kB / 446.7 MB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.884e-05/0.1828, allocations: 20.73 kB / 446.8 MB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003029/0.1831, allocations: 212.1 kB / 447 MB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.1831, allocations: 4.375 kB / 447 MB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.656e-05/0.1832, allocations: 11.97 kB / 447 MB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.1833, allocations: 57.67 kB / 447 MB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.1834, allocations: 3.984 kB / 447 MB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.1834, allocations: 0 / 447 MB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.1834, allocations: 0 / 447 MB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.457e-05/0.1835, allocations: 19.98 kB / 447.1 MB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004896/0.184, allocations: 300.8 kB / 447.4 MB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.1842, allocations: 62.59 kB / 447.4 MB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.511e-05/0.1842, allocations: 20.86 kB / 447.4 MB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.028e-05/0.1843, allocations: 0 / 447.4 MB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002925/0.1846, allocations: 67.39 kB / 447.5 MB, free: 8.668 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.1846, allocations: 4 kB / 447.5 MB, free: 8.664 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006147/0.1852, allocations: 181.1 kB / 447.7 MB, free: 8.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/0.1853, allocations: 51.41 kB / 447.7 MB, free: 8.418 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002519/0.1855, allocations: 218.7 kB / 447.9 MB, free: 8.191 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.1856, allocations: 25.7 kB / 448 MB, free: 8.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.245e-05/0.1856, allocations: 108.1 kB / 448.1 MB, free: 8.051 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.89e-05/0.1857, allocations: 23.66 kB / 448.1 MB, free: 8.027 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.389e-05/0.1857, allocations: 21.7 kB / 448.1 MB, free: 8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.1859, allocations: 334.8 kB / 448.5 MB, free: 7.664 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.811e-05/0.1859, allocations: 15.94 kB / 448.5 MB, free: 7.648 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.57e-05/0.186, allocations: 37.7 kB / 448.5 MB, free: 7.605 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.1862, allocations: 57.7 kB / 448.6 MB, free: 7.543 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1862, allocations: 0 / 448.6 MB, free: 7.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002042/0.1864, allocations: 105.5 kB / 448.7 MB, free: 7.434 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.1864, allocations: 4 kB / 448.7 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.1864, allocations: 0 / 448.7 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-05/0.1864, allocations: 4 kB / 448.7 MB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.731e-05/0.1865, allocations: 15.94 kB / 448.7 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.1866, allocations: 0 / 448.7 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.774e-05/0.1866, allocations: 15.92 kB / 448.7 MB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.1866, allocations: 0 / 448.7 MB, free: 7.395 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.0001377/0.1868, allocations: 133.8 kB / 448.8 MB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.229e-05/0.1868, allocations: 19.84 kB / 448.9 MB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.931e-05/0.1869, allocations: 13.41 kB / 448.9 MB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.1869, allocations: 4 kB / 448.9 MB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.1869, allocations: 0 / 448.9 MB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.1869, allocations: 3.938 kB / 448.9 MB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000568/0.1875, allocations: 395.3 kB / 449.3 MB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.1875, allocations: 0 / 449.3 MB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.528e-05/0.1876, allocations: 8 kB / 449.3 MB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.807e-06/0.1876, allocations: 8.031 kB / 449.3 MB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.1876, allocations: 4.125 kB / 449.3 MB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.1876, allocations: 0 / 449.3 MB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.1876, allocations: 3.938 kB / 449.3 MB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003099/0.1879, allocations: 216.3 kB / 449.5 MB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.164e-05/0.188, allocations: 88.92 kB / 449.6 MB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.995e-05/0.1881, allocations: 7.938 kB / 449.6 MB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.596e-05/0.1881, allocations: 8 kB / 449.6 MB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.1882, allocations: 7.984 kB / 449.6 MB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.1882, allocations: 384 / 449.6 MB, free: 6.383 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001812/0.1884, allocations: 176.3 kB / 449.8 MB, free: 6.211 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1884, allocations: 0 / 449.8 MB, free: 6.211 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002714/0.1887, allocations: 24 kB / 449.8 MB, free: 6.188 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.00131/0.19, allocations: 472.4 kB / 450.3 MB, free: 5.754 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002146/0.1902, allocations: 59.91 kB / 450.3 MB, free: 5.695 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1902, allocations: 0 / 450.3 MB, free: 5.695 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.1903, allocations: 35.92 kB / 450.4 MB, free: 5.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003941/0.1908, allocations: 24.11 kB / 450.4 MB, free: 5.637 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006601/0.1914, allocations: 286 kB / 450.7 MB, free: 5.328 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004446/0.1919, allocations: 0.7082 MB / 451.4 MB, free: 4.594 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.077e-05/0.192, allocations: 13.19 kB / 451.4 MB, free: 4.578 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.486e-05/0.192, allocations: 23.42 kB / 451.4 MB, free: 4.559 MB / 382.1 MB Notification: Performance of SimCode: time 7.32e-07/0.192, allocations: 0 / 451.4 MB, free: 4.559 MB / 382.1 MB Notification: Performance of Templates: time 0.005753/0.1978, allocations: 1.634 MB / 453 MB, free: 2.926 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches