Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 101 kB / 15.98 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 197 kB / 16.91 MB, free: 6.191 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.788/1.788, allocations: 205.1 MB / 222.8 MB, free: 4.715 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.5145/0.5145, allocations: 43.5 MB / 313.6 MB, free: 8.527 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.001948/0.001949, allocations: 71.89 kB / 382.2 MB, free: 8.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1756, allocations: 57.79 MB / 440 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.004407/0.1801, allocations: 1.606 MB / 441.6 MB, free: 13.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008663/0.181, allocations: 323.5 kB / 441.9 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.806e-05/0.1811, allocations: 0 / 441.9 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000354/0.1815, allocations: 15.92 kB / 441.9 MB, free: 12.78 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003164/0.1819, allocations: 35.91 kB / 442 MB, free: 12.74 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003977/0.1823, allocations: 55.86 kB / 442 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002542/0.1825, allocations: 51.92 kB / 442.1 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001744/0.1827, allocations: 23.95 kB / 442.1 MB, free: 12.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.202e-05/0.1828, allocations: 19.88 kB / 442.1 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.1829, allocations: 19.86 kB / 442.1 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.868e-05/0.183, allocations: 4 kB / 442.2 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.1831, allocations: 27.98 kB / 442.2 MB, free: 12.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.028e-05/0.1832, allocations: 15.92 kB / 442.2 MB, free: 12.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.966e-05/0.1833, allocations: 19.86 kB / 442.2 MB, free: 12.51 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002676/0.1835, allocations: 80.02 kB / 442.3 MB, free: 12.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/0.1836, allocations: 0 / 442.3 MB, free: 12.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.64e-06/0.1836, allocations: 4 kB / 442.3 MB, free: 12.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.382e-05/0.1836, allocations: 0 / 442.3 MB, free: 12.43 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.0007467/0.1844, allocations: 371.2 kB / 442.7 MB, free: 12.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.176e-05/0.1844, allocations: 15.89 kB / 442.7 MB, free: 12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.838e-05/0.1845, allocations: 16.77 kB / 442.7 MB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.1848, allocations: 180.2 kB / 442.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.1848, allocations: 4.375 kB / 442.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.885e-05/0.1849, allocations: 4.375 kB / 442.9 MB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.185, allocations: 53.81 kB / 442.9 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.1851, allocations: 0 / 442.9 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.1851, allocations: 0 / 442.9 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.1851, allocations: 3.984 kB / 442.9 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.693e-05/0.1852, allocations: 19.98 kB / 443 MB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005039/0.1857, allocations: 276.8 kB / 443.2 MB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002583/0.186, allocations: 46.55 kB / 443.3 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.281e-05/0.1861, allocations: 16.86 kB / 443.3 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.1861, allocations: 0 / 443.3 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.1861, allocations: 30.56 kB / 443.3 MB, free: 11.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 7.31e-07/0.1861, allocations: 0 / 443.3 MB, free: 11.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006804/0.1868, allocations: 141.6 kB / 443.5 MB, free: 11.1 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.1869, allocations: 55.41 kB / 443.5 MB, free: 11.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.1871, allocations: 149.9 kB / 443.7 MB, free: 10.88 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.862e-05/0.1871, allocations: 25.7 kB / 443.7 MB, free: 10.85 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.565e-05/0.1872, allocations: 92.14 kB / 443.8 MB, free: 10.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.005e-05/0.1873, allocations: 23.64 kB / 443.8 MB, free: 10.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.233e-05/0.1873, allocations: 13.72 kB / 443.8 MB, free: 10.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001982/0.1875, allocations: 326.8 kB / 444.1 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.283e-05/0.1876, allocations: 19.98 kB / 444.1 MB, free: 10.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.327e-05/0.1877, allocations: 23.91 kB / 444.2 MB, free: 10.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.1878, allocations: 44.78 kB / 444.2 MB, free: 10.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1879, allocations: 0 / 444.2 MB, free: 10.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001919/0.1881, allocations: 85.66 kB / 444.3 MB, free: 10.2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.1881, allocations: 7.984 kB / 444.3 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.1881, allocations: 0 / 444.3 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.1881, allocations: 256 / 444.3 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.097e-05/0.1882, allocations: 12 kB / 444.3 MB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.1882, allocations: 4 kB / 444.3 MB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.124e-05/0.1882, allocations: 7.984 kB / 444.3 MB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.1883, allocations: 3.938 kB / 444.3 MB, free: 10.17 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 0.0001111/0.1884, allocations: 121.8 kB / 444.4 MB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.958e-05/0.1884, allocations: 11.91 kB / 444.5 MB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002317/0.1887, allocations: 81.97 kB / 444.5 MB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1887, allocations: 4 kB / 444.5 MB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.1887, allocations: 0 / 444.5 MB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1887, allocations: 0 / 444.5 MB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004666/0.1892, allocations: 358.3 kB / 444.9 MB, free: 9.527 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1892, allocations: 3.938 kB / 444.9 MB, free: 9.523 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.894e-05/0.1892, allocations: 8 kB / 444.9 MB, free: 9.516 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.1892, allocations: 0 / 444.9 MB, free: 9.516 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.1893, allocations: 0 / 444.9 MB, free: 9.516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.1893, allocations: 3.938 kB / 444.9 MB, free: 9.512 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.1893, allocations: 4 kB / 444.9 MB, free: 9.508 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002644/0.1895, allocations: 175.5 kB / 445.1 MB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.663e-05/0.1896, allocations: 85.02 kB / 445.2 MB, free: 9.219 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.1896, allocations: 0 / 445.2 MB, free: 9.219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.405e-05/0.1897, allocations: 11.92 kB / 445.2 MB, free: 9.207 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.1897, allocations: 192 / 445.2 MB, free: 9.207 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.1898, allocations: 12 kB / 445.2 MB, free: 9.195 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.2e-05/0.1899, allocations: 111.2 kB / 445.3 MB, free: 9.086 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1899, allocations: 0 / 445.3 MB, free: 9.086 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002323/0.1901, allocations: 8 kB / 445.3 MB, free: 9.078 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.001006/0.1911, allocations: 414.9 kB / 445.7 MB, free: 8.703 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002103/0.1913, allocations: 47.91 kB / 445.8 MB, free: 8.656 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1914, allocations: 0 / 445.8 MB, free: 8.656 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.169e-05/0.1914, allocations: 23.98 kB / 445.8 MB, free: 8.633 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000429/0.1919, allocations: 23.78 kB / 445.8 MB, free: 8.609 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004854/0.1924, allocations: 181.4 kB / 446 MB, free: 8.402 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.1927, allocations: 0.6885 MB / 446.7 MB, free: 7.688 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.34e-05/0.1928, allocations: 16.23 kB / 446.7 MB, free: 7.672 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.564e-05/0.1928, allocations: 19.42 kB / 446.7 MB, free: 7.656 MB / 382.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1929, allocations: 0 / 446.7 MB, free: 7.656 MB / 382.1 MB Notification: Performance of Templates: time 0.004009/0.1969, allocations: 1.038 MB / 447.7 MB, free: 6.617 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches