Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,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.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,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.Test52") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 96.14 kB / 15.87 MB, free: 16 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.001481/0.001481, allocations: 203.5 kB / 16.79 MB, free: 6.84 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.796/1.796, allocations: 205.1 MB / 222.6 MB, free: 4.77 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.4651/0.4651, allocations: 43.49 MB / 313.5 MB, free: 8.309 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.001537/0.001537, allocations: 74.55 kB / 382 MB, free: 8.504 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1744, allocations: 57.79 MB / 439.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003946/0.1784, allocations: 1.753 MB / 441.6 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001562/0.18, allocations: 0.7924 MB / 442.4 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.882e-05/0.1801, allocations: 0 / 442.4 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004498/0.1805, allocations: 47.8 kB / 442.4 MB, free: 12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002119/0.1808, allocations: 51.83 kB / 442.5 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000262/0.181, allocations: 79.86 kB / 442.6 MB, free: 11.87 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001875/0.1812, allocations: 95.67 kB / 442.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.1813, allocations: 16.22 kB / 442.7 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.145e-05/0.1814, allocations: 39.78 kB / 442.7 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.788e-05/0.1815, allocations: 35.84 kB / 442.7 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.1816, allocations: 0 / 442.7 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.1817, allocations: 39.92 kB / 442.8 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.911e-05/0.1818, allocations: 23.92 kB / 442.8 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.116e-05/0.1818, allocations: 35.67 kB / 442.8 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000209/0.182, allocations: 123.9 kB / 443 MB, free: 11.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1821, allocations: 0 / 443 MB, free: 11.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1821, allocations: 0 / 443 MB, free: 11.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1821, allocations: 0 / 443 MB, free: 11.46 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.0006061/0.1827, allocations: 426.8 kB / 443.4 MB, free: 11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.1827, allocations: 12.03 kB / 443.4 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.593e-05/0.1828, allocations: 12.84 kB / 443.4 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000368/0.1832, allocations: 215.9 kB / 443.6 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.1832, allocations: 4.375 kB / 443.6 MB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.481e-05/0.1832, allocations: 8.125 kB / 443.6 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.1834, allocations: 53.67 kB / 443.7 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.1834, allocations: 0 / 443.7 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.1834, allocations: 0 / 443.7 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.1834, allocations: 0 / 443.7 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.824e-05/0.1835, allocations: 23.98 kB / 443.7 MB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004106/0.1839, allocations: 292.8 kB / 444 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.1841, allocations: 54.67 kB / 444 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.34e-05/0.1842, allocations: 20.86 kB / 444.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.748e-05/0.1842, allocations: 7.969 kB / 444.1 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002037/0.1844, allocations: 75.31 kB / 444.1 MB, free: 10.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.1845, allocations: 0 / 444.1 MB, free: 10.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005914/0.1851, allocations: 173.4 kB / 444.3 MB, free: 9.941 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/0.1851, allocations: 59.33 kB / 444.4 MB, free: 9.871 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/0.1854, allocations: 214.7 kB / 444.6 MB, free: 9.652 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.1854, allocations: 37.64 kB / 444.6 MB, free: 9.609 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.724e-05/0.1855, allocations: 108.1 kB / 444.7 MB, free: 9.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.55e-05/0.1855, allocations: 27.64 kB / 444.7 MB, free: 9.473 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.932e-05/0.1856, allocations: 21.72 kB / 444.8 MB, free: 9.445 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.1857, allocations: 330.8 kB / 445.1 MB, free: 9.113 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.389e-05/0.1858, allocations: 23.98 kB / 445.1 MB, free: 9.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.219e-05/0.1858, allocations: 33.7 kB / 445.1 MB, free: 9.051 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.186, allocations: 61.64 kB / 445.2 MB, free: 8.984 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.186, allocations: 0 / 445.2 MB, free: 8.984 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000179/0.1862, allocations: 105.5 kB / 445.3 MB, free: 8.875 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.1862, allocations: 4 kB / 445.3 MB, free: 8.871 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.1862, allocations: 3.938 kB / 445.3 MB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.1862, allocations: 4 kB / 445.3 MB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.1863, allocations: 19.92 kB / 445.3 MB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.1864, allocations: 0 / 445.3 MB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.638e-05/0.1864, allocations: 7.938 kB / 445.3 MB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.1864, allocations: 8.031 kB / 445.4 MB, free: 8.828 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.0001123/0.1865, allocations: 133.8 kB / 445.5 MB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.193e-05/0.1866, allocations: 7.906 kB / 445.5 MB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.795e-05/0.1866, allocations: 21.39 kB / 445.5 MB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.1866, allocations: 0 / 445.5 MB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1866, allocations: 0 / 445.5 MB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1866, allocations: 3.938 kB / 445.5 MB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004628/0.1871, allocations: 399.2 kB / 445.9 MB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.1871, allocations: 4 kB / 445.9 MB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.022e-05/0.1872, allocations: 7.984 kB / 445.9 MB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.1872, allocations: 4 kB / 445.9 MB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.1872, allocations: 7.938 kB / 445.9 MB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1872, allocations: 0 / 445.9 MB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.1872, allocations: 7.938 kB / 445.9 MB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.1874, allocations: 196.3 kB / 446.1 MB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.94e-05/0.1875, allocations: 92.92 kB / 446.2 MB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.823e-05/0.1876, allocations: 7.922 kB / 446.2 MB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.695e-05/0.1876, allocations: 4 kB / 446.2 MB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.392e-05/0.1877, allocations: 0 / 446.2 MB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.1877, allocations: 7.984 kB / 446.2 MB, free: 7.836 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001434/0.1878, allocations: 172.5 kB / 446.4 MB, free: 7.668 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1879, allocations: 0 / 446.4 MB, free: 7.668 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002475/0.1881, allocations: 31.94 kB / 446.4 MB, free: 7.637 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.001099/0.1892, allocations: 473.2 kB / 446.9 MB, free: 7.211 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001877/0.1894, allocations: 51.98 kB / 447 MB, free: 7.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1894, allocations: 0 / 447 MB, free: 7.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.525e-05/0.1895, allocations: 35.92 kB / 447 MB, free: 7.125 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.1899, allocations: 27.92 kB / 447 MB, free: 7.098 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005507/0.1904, allocations: 280.8 kB / 447.3 MB, free: 6.793 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.1908, allocations: 0.7083 MB / 448 MB, free: 6.059 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.705e-05/0.1909, allocations: 20.81 kB / 448 MB, free: 6.039 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.454e-05/0.191, allocations: 19.44 kB / 448 MB, free: 6.02 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.191, allocations: 0 / 448 MB, free: 6.02 MB / 382.1 MB Notification: Performance of Templates: time 0.00465/0.1956, allocations: 1.654 MB / 449.7 MB, free: 4.367 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches