Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,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.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008103/0.0008096, allocations: 88.19 kB / 15.7 MB, free: 460 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.001263/0.001263, allocations: 183.5 kB / 16.59 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.98/1.98, allocations: 205.4 MB / 222.8 MB, free: 5.648 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.4642/0.4642, allocations: 43.58 MB / 314.6 MB, free: 8.715 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.0005808/0.0005809, allocations: 16 kB / 384 MB, free: 7.984 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1729, allocations: 58.87 MB / 442.8 MB, free: 13.01 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.002454/0.1755, allocations: 1.256 MB / 444.1 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006681/0.1761, allocations: 299.8 kB / 444.4 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.865e-05/0.1762, allocations: 0 / 444.4 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000301/0.1765, allocations: 71.84 kB / 444.4 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001685/0.1767, allocations: 47.86 kB / 444.5 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002487/0.177, allocations: 67.86 kB / 444.6 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.1771, allocations: 55.84 kB / 444.6 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.1772, allocations: 15.97 kB / 444.6 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.578e-05/0.1773, allocations: 31.84 kB / 444.7 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.1774, allocations: 47.81 kB / 444.7 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.1775, allocations: 0 / 444.7 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.576e-05/0.1775, allocations: 20 kB / 444.7 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.321e-05/0.1776, allocations: 15.92 kB / 444.7 MB, free: 11.08 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.035e-05/0.1777, allocations: 37.64 kB / 444.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001438/0.1778, allocations: 64.12 kB / 444.8 MB, free: 10.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.1779, allocations: 4 kB / 444.8 MB, free: 10.97 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1779, allocations: 0 / 444.8 MB, free: 10.97 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.1779, allocations: 4 kB / 444.8 MB, free: 10.97 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.0005978/0.1785, allocations: 391 kB / 445.2 MB, free: 10.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.1785, allocations: 12.02 kB / 445.2 MB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.431e-05/0.1786, allocations: 11.86 kB / 445.2 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.1788, allocations: 190.9 kB / 445.4 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.1789, allocations: 4 kB / 445.4 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.1789, allocations: 0 / 445.4 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.1791, allocations: 53.62 kB / 445.5 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.1791, allocations: 0 / 445.5 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.1791, allocations: 4 kB / 445.5 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.1791, allocations: 7.938 kB / 445.5 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.512e-05/0.1792, allocations: 35.92 kB / 445.5 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004596/0.1797, allocations: 269 kB / 445.8 MB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.1799, allocations: 54.48 kB / 445.9 MB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.306e-05/0.18, allocations: 20.94 kB / 445.9 MB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.18, allocations: 0 / 445.9 MB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.1801, allocations: 30.56 kB / 445.9 MB, free: 9.742 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.1801, allocations: 0 / 445.9 MB, free: 9.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005992/0.1807, allocations: 169.1 kB / 446.1 MB, free: 9.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.1807, allocations: 55.41 kB / 446.1 MB, free: 9.504 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000237/0.181, allocations: 202.2 kB / 446.3 MB, free: 9.297 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.181, allocations: 29.64 kB / 446.3 MB, free: 9.262 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.322e-05/0.1811, allocations: 104.1 kB / 446.4 MB, free: 9.156 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.1811, allocations: 15.72 kB / 446.5 MB, free: 9.141 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-06/0.1812, allocations: 0 / 446.5 MB, free: 9.141 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.1814, allocations: 322.8 kB / 446.8 MB, free: 8.816 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.8e-05/0.1814, allocations: 23.98 kB / 446.8 MB, free: 8.793 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.407e-05/0.1815, allocations: 23.98 kB / 446.8 MB, free: 8.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.82e-05/0.1816, allocations: 23.98 kB / 446.9 MB, free: 8.746 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.1816, allocations: 0 / 446.9 MB, free: 8.746 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002013/0.1818, allocations: 89.52 kB / 446.9 MB, free: 8.652 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.1818, allocations: 11.95 kB / 446.9 MB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.1818, allocations: 0 / 446.9 MB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.1818, allocations: 0 / 446.9 MB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.012e-05/0.1819, allocations: 15.98 kB / 447 MB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1819, allocations: 0 / 447 MB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.908e-05/0.182, allocations: 8 kB / 447 MB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.182, allocations: 11.98 kB / 447 MB, free: 8.605 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001144/0.1821, allocations: 117.8 kB / 447.1 MB, free: 8.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.756e-05/0.1821, allocations: 7.906 kB / 447.1 MB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002674/0.1824, allocations: 109.8 kB / 447.2 MB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1824, allocations: 4 kB / 447.2 MB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.1824, allocations: 7.984 kB / 447.2 MB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1825, allocations: 0 / 447.2 MB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004607/0.1829, allocations: 346.9 kB / 447.6 MB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1829, allocations: 7.938 kB / 447.6 MB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.827e-05/0.183, allocations: 27.94 kB / 447.6 MB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.183, allocations: 0 / 447.6 MB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.183, allocations: 4 kB / 447.6 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.183, allocations: 3.938 kB / 447.6 MB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.183, allocations: 0 / 447.6 MB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002459/0.1833, allocations: 191.3 kB / 447.8 MB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.785e-05/0.1834, allocations: 85.02 kB / 447.9 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.1834, allocations: 3.953 kB / 447.9 MB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.644e-05/0.1835, allocations: 7.984 kB / 447.9 MB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/0.1835, allocations: 8 kB / 447.9 MB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.1835, allocations: 0 / 447.9 MB, free: 7.586 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001552/0.1837, allocations: 160 kB / 448.1 MB, free: 7.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1837, allocations: 0 / 448.1 MB, free: 7.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002362/0.1839, allocations: 16 kB / 448.1 MB, free: 7.414 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001069/0.185, allocations: 401.6 kB / 448.5 MB, free: 7.055 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002168/0.1852, allocations: 55.91 kB / 448.5 MB, free: 7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.405e-06/0.1853, allocations: 4 kB / 448.5 MB, free: 6.996 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.563e-05/0.1853, allocations: 31.92 kB / 448.6 MB, free: 6.965 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000377/0.1857, allocations: 11.98 kB / 448.6 MB, free: 6.953 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005383/0.1863, allocations: 229.2 kB / 448.8 MB, free: 6.695 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003976/0.1867, allocations: 0.7043 MB / 449.5 MB, free: 5.965 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.865e-05/0.1867, allocations: 11.97 kB / 449.5 MB, free: 5.953 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.46e-05/0.1868, allocations: 15.44 kB / 449.5 MB, free: 5.938 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1868, allocations: 0 / 449.5 MB, free: 5.938 MB / 382.1 MB Notification: Performance of Templates: time 0.00395/0.1907, allocations: 1.034 MB / 450.6 MB, free: 4.902 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches