Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.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.CombiTable1D.Test7,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.CombiTable1D.Test7") translateModel(ModelicaTest.Tables.CombiTable1D.Test7,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.CombiTable1D.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009923/0.0009924, 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.001397/0.001397, allocations: 178.5 kB / 16.58 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 2.068/2.068, allocations: 205.4 MB / 222.7 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.4826/0.4826, allocations: 43.58 MB / 314.6 MB, free: 8.73 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.0009262/0.0009263, allocations: 22.97 kB / 383.9 MB, free: 7.996 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1792, allocations: 58.87 MB / 442.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test7): time 0.002234/0.1815, allocations: 1.256 MB / 444.1 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006145/0.1821, allocations: 291.9 kB / 444.4 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.229e-05/0.1822, allocations: 0 / 444.4 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002266/0.1824, allocations: 27.91 kB / 444.4 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001452/0.1826, allocations: 19.92 kB / 444.4 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002796/0.1828, allocations: 95.81 kB / 444.5 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000133/0.183, allocations: 47.84 kB / 444.6 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.1831, allocations: 11.98 kB / 444.6 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.447e-05/0.1832, allocations: 19.91 kB / 444.6 MB, free: 11.24 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.196e-05/0.1832, allocations: 23.81 kB / 444.6 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.1833, allocations: 0 / 444.6 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.346e-05/0.1834, allocations: 23.98 kB / 444.6 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.519e-05/0.1834, allocations: 15.92 kB / 444.6 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.701e-05/0.1834, allocations: 33.7 kB / 444.7 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001499/0.1836, allocations: 60.12 kB / 444.7 MB, free: 11.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.1836, allocations: 0 / 444.7 MB, free: 11.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1836, allocations: 0 / 444.7 MB, free: 11.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.1836, allocations: 0 / 444.7 MB, free: 11.08 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.000517/0.1842, allocations: 383 kB / 445.1 MB, free: 10.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.1842, allocations: 8.031 kB / 445.1 MB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.806e-05/0.1842, allocations: 15.86 kB / 445.1 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.1845, allocations: 175.1 kB / 445.3 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.1845, allocations: 0 / 445.3 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.1845, allocations: 4 kB / 445.3 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.1847, allocations: 53.67 kB / 445.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1847, allocations: 0 / 445.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.1847, allocations: 4 kB / 445.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.1847, allocations: 0 / 445.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.974e-05/0.1848, allocations: 39.81 kB / 445.4 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004308/0.1853, allocations: 284.9 kB / 445.7 MB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000224/0.1855, allocations: 46.5 kB / 445.7 MB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.553e-05/0.1856, allocations: 20.95 kB / 445.7 MB, free: 9.914 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.1856, allocations: 3.984 kB / 445.8 MB, free: 9.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.1857, allocations: 34.5 kB / 445.8 MB, free: 9.867 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.532e-06/0.1857, allocations: 0 / 445.8 MB, free: 9.867 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005816/0.1863, allocations: 173.2 kB / 446 MB, free: 9.691 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/0.1863, allocations: 55.34 kB / 446 MB, free: 9.625 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.1865, allocations: 150 kB / 446.2 MB, free: 9.469 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.947e-05/0.1865, allocations: 29.7 kB / 446.2 MB, free: 9.434 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.849e-05/0.1866, allocations: 100.1 kB / 446.3 MB, free: 9.332 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.64e-05/0.1866, allocations: 19.73 kB / 446.3 MB, free: 9.312 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.1866, allocations: 0 / 446.3 MB, free: 9.312 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.1868, allocations: 322.8 kB / 446.6 MB, free: 8.988 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.906e-05/0.1869, allocations: 19.98 kB / 446.6 MB, free: 8.969 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.846e-05/0.1869, allocations: 23.98 kB / 446.7 MB, free: 8.945 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.36e-05/0.187, allocations: 35.98 kB / 446.7 MB, free: 8.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.187, allocations: 0 / 446.7 MB, free: 8.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001775/0.1872, allocations: 89.56 kB / 446.8 MB, free: 8.816 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.1872, allocations: 11.23 kB / 446.8 MB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.1873, allocations: 4 kB / 446.8 MB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.1873, allocations: 0 / 446.8 MB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.457e-05/0.1873, allocations: 19.92 kB / 446.8 MB, free: 8.785 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.1874, allocations: 0 / 446.8 MB, free: 8.785 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.895e-05/0.1874, allocations: 12 kB / 446.8 MB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-06/0.1874, allocations: 0 / 446.8 MB, free: 8.773 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.0001013/0.1875, allocations: 121.8 kB / 446.9 MB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.669e-05/0.1876, allocations: 11.91 kB / 447 MB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002363/0.1878, allocations: 105.9 kB / 447.1 MB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.1878, allocations: 0 / 447.1 MB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.1878, allocations: 320 / 447.1 MB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1878, allocations: 0 / 447.1 MB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004332/0.1883, allocations: 366.5 kB / 447.4 MB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.1883, allocations: 0 / 447.4 MB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.343e-05/0.1883, allocations: 23.88 kB / 447.4 MB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1884, allocations: 0 / 447.4 MB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.1884, allocations: 0 / 447.4 MB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.1884, allocations: 4 kB / 447.4 MB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1884, allocations: 4 kB / 447.5 MB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.1886, allocations: 191.4 kB / 447.6 MB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.182e-05/0.1887, allocations: 85.02 kB / 447.7 MB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.1887, allocations: 3.953 kB / 447.7 MB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.384e-05/0.1888, allocations: 11.98 kB / 447.7 MB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.97e-05/0.1888, allocations: 7.938 kB / 447.7 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.1888, allocations: 0 / 447.7 MB, free: 7.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.951e-05/0.189, allocations: 119.2 kB / 447.9 MB, free: 7.633 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.189, allocations: 0 / 447.9 MB, free: 7.633 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002351/0.1892, allocations: 23.91 kB / 447.9 MB, free: 7.609 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.0009748/0.1902, allocations: 397.6 kB / 448.3 MB, free: 7.254 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002045/0.1904, allocations: 59.89 kB / 448.3 MB, free: 7.195 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1904, allocations: 0 / 448.3 MB, free: 7.195 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.808e-05/0.1905, allocations: 27.98 kB / 448.4 MB, free: 7.168 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.1908, allocations: 23.92 kB / 448.4 MB, free: 7.145 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004235/0.1913, allocations: 192.6 kB / 448.6 MB, free: 6.926 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.1916, allocations: 0.6965 MB / 449.3 MB, free: 6.203 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.432e-05/0.1916, allocations: 19.97 kB / 449.3 MB, free: 6.184 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.983e-05/0.1916, allocations: 11.44 kB / 449.3 MB, free: 6.172 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1917, allocations: 0 / 449.3 MB, free: 6.172 MB / 382.1 MB Notification: Performance of Templates: time 0.004015/0.1957, allocations: 1.022 MB / 450.3 MB, free: 5.148 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test7/Test7.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches