Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,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.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007915/0.0007915, 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.0008776/0.0008776, allocations: 176.4 kB / 16.58 MB, free: 6.844 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.652 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.4637/0.4637, allocations: 43.58 MB / 314.6 MB, free: 8.852 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.0006789/0.000679, allocations: 16 kB / 384 MB, free: 7.988 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1771, allocations: 58.86 MB / 442.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.002215/0.1794, allocations: 1.26 MB / 444.1 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006444/0.18, allocations: 291.8 kB / 444.4 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.88e-05/0.1801, allocations: 8 kB / 444.4 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002994/0.1804, allocations: 63.84 kB / 444.4 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001993/0.1806, allocations: 59.8 kB / 444.5 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002351/0.1809, allocations: 55.94 kB / 444.5 MB, free: 11.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.1811, allocations: 55.83 kB / 444.6 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.1812, allocations: 19.95 kB / 444.6 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.359e-05/0.1813, allocations: 23.86 kB / 444.6 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.1814, allocations: 51.81 kB / 444.7 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.1814, allocations: 4 kB / 444.7 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.651e-05/0.1815, allocations: 23.94 kB / 444.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.745e-05/0.1815, allocations: 11.98 kB / 444.7 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.538e-05/0.1816, allocations: 33.64 kB / 444.8 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.1817, allocations: 68.12 kB / 444.8 MB, free: 10.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.1818, allocations: 0 / 444.8 MB, free: 10.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1818, allocations: 0 / 444.8 MB, free: 10.99 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.1818, allocations: 0 / 444.8 MB, free: 10.99 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.0005647/0.1824, allocations: 398.9 kB / 445.2 MB, free: 10.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.1824, allocations: 19.95 kB / 445.2 MB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.942e-05/0.1825, allocations: 11.86 kB / 445.2 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.1827, allocations: 186.9 kB / 445.4 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.1827, allocations: 0 / 445.4 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.1827, allocations: 4 kB / 445.4 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.1829, allocations: 49.67 kB / 445.5 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.1829, allocations: 4 kB / 445.5 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.1829, allocations: 0 / 445.5 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.183, allocations: 0 / 445.5 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.557e-05/0.1831, allocations: 35.86 kB / 445.5 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004175/0.1835, allocations: 280.9 kB / 445.8 MB, free: 9.875 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002183/0.1837, allocations: 42.56 kB / 445.8 MB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.483e-05/0.1838, allocations: 24.86 kB / 445.9 MB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.1838, allocations: 4.078 kB / 445.9 MB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.1838, allocations: 30.56 kB / 445.9 MB, free: 9.754 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.1838, allocations: 0 / 445.9 MB, free: 9.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005816/0.1844, allocations: 169.1 kB / 446.1 MB, free: 9.582 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.1845, allocations: 51.41 kB / 446.1 MB, free: 9.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002185/0.1847, allocations: 206.2 kB / 446.3 MB, free: 9.309 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.1847, allocations: 29.64 kB / 446.3 MB, free: 9.273 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.902e-05/0.1848, allocations: 100.1 kB / 446.4 MB, free: 9.172 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.08e-05/0.1849, allocations: 27.64 kB / 446.5 MB, free: 9.145 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/0.1849, allocations: 0 / 446.5 MB, free: 9.145 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.185, allocations: 322.8 kB / 446.8 MB, free: 8.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.594e-05/0.1851, allocations: 19.98 kB / 446.8 MB, free: 8.801 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.411e-05/0.1851, allocations: 27.98 kB / 446.8 MB, free: 8.773 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.251e-05/0.1852, allocations: 19.98 kB / 446.8 MB, free: 8.754 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1852, allocations: 4 kB / 446.9 MB, free: 8.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001705/0.1854, allocations: 85.58 kB / 446.9 MB, free: 8.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.1854, allocations: 7.953 kB / 446.9 MB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.1854, allocations: 4 kB / 446.9 MB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.1855, allocations: 0 / 446.9 MB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.208e-05/0.1855, allocations: 15.98 kB / 447 MB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.1855, allocations: 0 / 447 MB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.052e-05/0.1856, allocations: 4 kB / 447 MB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.1856, allocations: 3.938 kB / 447 MB, free: 8.625 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.0001052/0.1857, allocations: 133.8 kB / 447.1 MB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.934e-05/0.1857, allocations: 7.906 kB / 447.1 MB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002348/0.186, allocations: 101.9 kB / 447.2 MB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.186, allocations: 0 / 447.2 MB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.186, allocations: 0 / 447.2 MB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.186, allocations: 7.984 kB / 447.2 MB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003985/0.1864, allocations: 354.9 kB / 447.6 MB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.1864, allocations: 0 / 447.6 MB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.766e-05/0.1865, allocations: 27.88 kB / 447.6 MB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1865, allocations: 4 kB / 447.6 MB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.1865, allocations: 4 kB / 447.6 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1865, allocations: 0 / 447.6 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1865, allocations: 4 kB / 447.6 MB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002229/0.1868, allocations: 191.3 kB / 447.8 MB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.156e-05/0.1868, allocations: 85 kB / 447.9 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.1869, allocations: 7.953 kB / 447.9 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.093e-05/0.1869, allocations: 4 kB / 447.9 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.714e-05/0.187, allocations: 3.984 kB / 447.9 MB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.187, allocations: 4 kB / 447.9 MB, free: 7.598 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001331/0.1871, allocations: 164 kB / 448.1 MB, free: 7.438 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1871, allocations: 0 / 448.1 MB, free: 7.438 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000235/0.1874, allocations: 12 kB / 448.1 MB, free: 7.426 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.0009977/0.1884, allocations: 413.3 kB / 448.5 MB, free: 7.055 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002105/0.1886, allocations: 51.97 kB / 448.5 MB, free: 7.004 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1886, allocations: 0 / 448.5 MB, free: 7.004 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.713e-05/0.1887, allocations: 31.92 kB / 448.5 MB, free: 6.973 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.1891, allocations: 19.92 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.0005232/0.1896, 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.0003487/0.19, allocations: 0.7004 MB / 449.5 MB, free: 5.969 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.244e-05/0.19, allocations: 7.984 kB / 449.5 MB, free: 5.961 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.065e-05/0.19, allocations: 11.44 kB / 449.5 MB, free: 5.949 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.19, allocations: 0 / 449.5 MB, free: 5.949 MB / 382.1 MB Notification: Performance of Templates: time 0.004074/0.1941, allocations: 1.041 MB / 450.6 MB, free: 4.906 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches