Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.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.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008873/0.0008875, allocations: 97.72 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.001358/0.001358, allocations: 177.7 kB / 16.92 MB, free: 6.668 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.986/1.986, allocations: 205.4 MB / 223.1 MB, free: 5.547 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.5021/0.5021, allocations: 43.57 MB / 315 MB, free: 8.738 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.0005854/0.0005855, allocations: 16 kB / 384.6 MB, free: 7.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1738, allocations: 58.86 MB / 443.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.002277/0.1761, allocations: 1.275 MB / 444.7 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006442/0.1768, allocations: 303.7 kB / 445 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.985e-05/0.1768, allocations: 4 kB / 445 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002944/0.1771, allocations: 111.8 kB / 445.1 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001535/0.1773, allocations: 71.8 kB / 445.2 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002038/0.1775, allocations: 51.92 kB / 445.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.1777, allocations: 67.83 kB / 445.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.1778, allocations: 23.95 kB / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.509e-05/0.1779, allocations: 35.84 kB / 445.4 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.178, allocations: 55.88 kB / 445.4 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.178, allocations: 0 / 445.4 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.644e-05/0.1781, allocations: 31.94 kB / 445.5 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.672e-05/0.1782, allocations: 23.92 kB / 445.5 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.058e-05/0.1782, allocations: 61.36 kB / 445.5 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.1784, allocations: 91.94 kB / 445.6 MB, free: 10.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1784, allocations: 4 kB / 445.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1784, allocations: 0 / 445.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.1785, allocations: 0 / 445.6 MB, free: 10.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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.00062/0.1791, allocations: 403.1 kB / 446 MB, free: 10.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.1791, allocations: 8.031 kB / 446 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.592e-05/0.1792, allocations: 16.75 kB / 446.1 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.1794, allocations: 204 kB / 446.3 MB, free: 9.762 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.105e-06/0.1794, allocations: 4.312 kB / 446.3 MB, free: 9.758 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.1794, allocations: 384 / 446.3 MB, free: 9.758 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.1796, allocations: 57.78 kB / 446.3 MB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.1796, allocations: 4 kB / 446.3 MB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.1796, allocations: 4 kB / 446.3 MB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.1796, allocations: 0 / 446.3 MB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.36e-05/0.1797, allocations: 27.92 kB / 446.3 MB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004609/0.1802, allocations: 292.7 kB / 446.6 MB, free: 9.324 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002857/0.1805, allocations: 50.56 kB / 446.7 MB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.044e-05/0.1806, allocations: 12.86 kB / 446.7 MB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.1806, allocations: 0 / 446.7 MB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.1807, allocations: 30.56 kB / 446.7 MB, free: 9.211 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.1807, allocations: 0 / 446.7 MB, free: 9.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0008029/0.1815, allocations: 165.3 kB / 446.9 MB, free: 9.043 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/0.1815, allocations: 59.39 kB / 446.9 MB, free: 8.973 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003423/0.1819, allocations: 234.7 kB / 447.2 MB, free: 8.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.1819, allocations: 29.7 kB / 447.2 MB, free: 8.695 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.1821, allocations: 116 kB / 447.3 MB, free: 8.578 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.097e-05/0.1821, allocations: 11.81 kB / 447.3 MB, free: 8.566 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.398e-05/0.1821, allocations: 13.72 kB / 447.3 MB, free: 8.547 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002228/0.1824, allocations: 326.8 kB / 447.7 MB, free: 8.219 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.459e-05/0.1825, allocations: 23.98 kB / 447.7 MB, free: 8.195 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.019e-05/0.1825, allocations: 23.92 kB / 447.7 MB, free: 8.172 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.1827, allocations: 56.83 kB / 447.8 MB, free: 8.113 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1827, allocations: 0 / 447.8 MB, free: 8.113 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001784/0.1829, allocations: 89.58 kB / 447.9 MB, free: 8.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.1829, allocations: 4 kB / 447.9 MB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1829, allocations: 0 / 447.9 MB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.1829, allocations: 0 / 447.9 MB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.313e-05/0.183, allocations: 15.98 kB / 447.9 MB, free: 8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.183, allocations: 0 / 447.9 MB, free: 8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.566e-05/0.1831, allocations: 16.23 kB / 447.9 MB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.1831, allocations: 0 / 447.9 MB, free: 7.984 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 9.757e-05/0.1832, allocations: 133.7 kB / 448 MB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.517e-05/0.1832, allocations: 19.8 kB / 448 MB, free: 7.824 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002447/0.1835, allocations: 106.7 kB / 448.1 MB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1835, allocations: 0 / 448.1 MB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1835, allocations: 0 / 448.1 MB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1835, allocations: 0 / 448.1 MB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004361/0.1839, allocations: 370.4 kB / 448.5 MB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.184, allocations: 0 / 448.5 MB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.139e-05/0.184, allocations: 19.94 kB / 448.5 MB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.09e-05/0.1841, allocations: 7.922 kB / 448.5 MB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.1841, allocations: 0 / 448.5 MB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.1841, allocations: 3.938 kB / 448.5 MB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1841, allocations: 0 / 448.5 MB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/0.1843, allocations: 195.3 kB / 448.7 MB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.1844, allocations: 89 kB / 448.8 MB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.1845, allocations: 4 kB / 448.8 MB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.736e-05/0.1845, allocations: 7.938 kB / 448.8 MB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.963e-05/0.1846, allocations: 3.984 kB / 448.8 MB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-06/0.1846, allocations: 4 kB / 448.8 MB, free: 6.926 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001856/0.1848, allocations: 184.3 kB / 449 MB, free: 6.746 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1848, allocations: 4 kB / 449 MB, free: 6.742 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002259/0.185, allocations: 15.98 kB / 449 MB, free: 6.727 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001023/0.186, allocations: 410 kB / 449.4 MB, free: 6.355 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002017/0.1863, allocations: 51.97 kB / 449.5 MB, free: 6.305 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1863, allocations: 0 / 449.5 MB, free: 6.305 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.876e-05/0.1864, allocations: 31.92 kB / 449.5 MB, free: 6.273 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.1867, allocations: 31.78 kB / 449.5 MB, free: 6.242 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004696/0.1872, allocations: 265.6 kB / 449.8 MB, free: 5.957 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006139/0.1878, allocations: 0.7121 MB / 450.5 MB, free: 5.219 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.969e-05/0.1879, allocations: 4 kB / 450.5 MB, free: 5.215 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.1879, allocations: 11.44 kB / 450.5 MB, free: 5.203 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1879, allocations: 4 kB / 450.5 MB, free: 5.199 MB / 382.1 MB Notification: Performance of Templates: time 0.005027/0.1929, allocations: 1.051 MB / 451.6 MB, free: 4.148 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches