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.001051/0.001051, allocations: 96.7 kB / 15.7 MB, free: 468 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.001197/0.001197, allocations: 172.2 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.987/1.987, allocations: 205.4 MB / 222.8 MB, free: 5.66 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.4873/0.4873, allocations: 43.57 MB / 314.6 MB, free: 9.043 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.0005749/0.0005754, allocations: 12 kB / 384 MB, free: 8.223 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1732, allocations: 58.88 MB / 442.8 MB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.002153/0.1755, allocations: 1.252 MB / 444.1 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006387/0.1761, allocations: 295.8 kB / 444.4 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.615e-05/0.1762, allocations: 0 / 444.4 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003554/0.1766, allocations: 95.8 kB / 444.5 MB, free: 11.6 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001791/0.1767, allocations: 75.84 kB / 444.5 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000229/0.177, allocations: 63.84 kB / 444.6 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.1771, allocations: 55.83 kB / 444.7 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.1773, allocations: 19.97 kB / 444.7 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.556e-05/0.1773, allocations: 27.91 kB / 444.7 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.1775, allocations: 51.81 kB / 444.7 MB, free: 11.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.1775, allocations: 4 kB / 444.8 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.593e-05/0.1776, allocations: 31.98 kB / 444.8 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.142e-05/0.1776, allocations: 19.92 kB / 444.8 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.623e-05/0.1777, allocations: 37.64 kB / 444.8 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.1778, allocations: 72.11 kB / 444.9 MB, free: 11.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.1779, allocations: 4 kB / 444.9 MB, free: 11.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.887e-06/0.1779, allocations: 0 / 444.9 MB, free: 11.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1779, allocations: 3.938 kB / 444.9 MB, free: 11.13 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.0005722/0.1784, allocations: 394.9 kB / 445.3 MB, free: 10.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.892e-05/0.1785, allocations: 20.02 kB / 445.3 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.517e-05/0.1786, allocations: 15.77 kB / 445.3 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.1788, allocations: 194.8 kB / 445.5 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.1788, allocations: 0 / 445.5 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.1789, allocations: 4 kB / 445.5 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.179, allocations: 41.69 kB / 445.6 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.179, allocations: 4 kB / 445.6 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.1791, allocations: 4 kB / 445.6 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.1791, allocations: 0 / 445.6 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.057e-05/0.1792, allocations: 27.94 kB / 445.6 MB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004185/0.1796, allocations: 288.9 kB / 445.9 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000226/0.1798, allocations: 46.56 kB / 445.9 MB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.984e-05/0.1799, allocations: 16.86 kB / 446 MB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.1799, allocations: 4.078 kB / 446 MB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.18, allocations: 30.56 kB / 446 MB, free: 9.898 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.18, allocations: 0 / 446 MB, free: 9.898 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006111/0.1806, allocations: 173.3 kB / 446.2 MB, free: 9.723 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/0.1806, allocations: 55.41 kB / 446.2 MB, free: 9.656 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.1809, allocations: 230.7 kB / 446.4 MB, free: 9.418 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.1809, allocations: 29.7 kB / 446.5 MB, free: 9.383 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.296e-05/0.181, allocations: 120 kB / 446.6 MB, free: 9.262 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.181, allocations: 7.812 kB / 446.6 MB, free: 9.254 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.461e-06/0.181, allocations: 0 / 446.6 MB, free: 9.254 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.1812, allocations: 330.8 kB / 446.9 MB, free: 8.922 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.506e-05/0.1813, allocations: 23.92 kB / 446.9 MB, free: 8.898 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.246e-05/0.1813, allocations: 28.05 kB / 447 MB, free: 8.871 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.185e-05/0.1814, allocations: 23.98 kB / 447 MB, free: 8.848 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.1814, allocations: 0 / 447 MB, free: 8.848 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001761/0.1816, allocations: 97.47 kB / 447.1 MB, free: 8.746 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.1816, allocations: 7.953 kB / 447.1 MB, free: 8.738 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.1816, allocations: 4 kB / 447.1 MB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.1816, allocations: 4 kB / 447.1 MB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.08e-05/0.1817, allocations: 15.98 kB / 447.1 MB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.1817, allocations: 0 / 447.1 MB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.807e-05/0.1818, allocations: 7.984 kB / 447.1 MB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.1818, allocations: 0 / 447.1 MB, free: 8.707 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.0001166/0.1819, allocations: 138.8 kB / 447.3 MB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.668e-05/0.1819, allocations: 11.81 kB / 447.3 MB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002395/0.1822, allocations: 102.6 kB / 447.4 MB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1822, allocations: 0 / 447.4 MB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.1822, allocations: 4 kB / 447.4 MB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.1822, allocations: 0 / 447.4 MB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004363/0.1827, allocations: 366.5 kB / 447.7 MB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1827, allocations: 0 / 447.7 MB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.35e-05/0.1827, allocations: 19.94 kB / 447.7 MB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1827, allocations: 0 / 447.7 MB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.966e-06/0.1828, allocations: 320 / 447.7 MB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.1828, allocations: 4 kB / 447.8 MB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.1828, allocations: 8 kB / 447.8 MB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002262/0.183, allocations: 183.4 kB / 447.9 MB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.669e-05/0.1831, allocations: 88.92 kB / 448 MB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.1831, allocations: 7.891 kB / 448 MB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.564e-05/0.1832, allocations: 15.98 kB / 448 MB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.552e-05/0.1832, allocations: 4 kB / 448.1 MB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.1832, allocations: 0 / 448.1 MB, free: 7.656 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001588/0.1834, allocations: 183.2 kB / 448.2 MB, free: 7.477 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1834, allocations: 0 / 448.2 MB, free: 7.477 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002948/0.1837, allocations: 20 kB / 448.3 MB, free: 7.457 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.001025/0.1847, allocations: 404.9 kB / 448.6 MB, free: 7.094 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001984/0.1849, allocations: 51.97 kB / 448.7 MB, free: 7.043 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1849, allocations: 0 / 448.7 MB, free: 7.043 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.324e-05/0.185, allocations: 31.92 kB / 448.7 MB, free: 7.012 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.1854, allocations: 24.11 kB / 448.8 MB, free: 6.988 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004707/0.1859, allocations: 257.5 kB / 449 MB, free: 6.711 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.1862, allocations: 0.7083 MB / 449.7 MB, free: 5.977 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.808e-05/0.1862, allocations: 11.97 kB / 449.7 MB, free: 5.965 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.019e-05/0.1863, allocations: 11.44 kB / 449.7 MB, free: 5.957 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1863, allocations: 3.938 kB / 449.7 MB, free: 5.953 MB / 382.1 MB Notification: Performance of Templates: time 0.003722/0.19, allocations: 1.05 MB / 450.8 MB, free: 4.902 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