Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.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.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007598/0.0007599, allocations: 103.3 kB / 16.02 MB, free: 76 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.0008872/0.0008871, allocations: 187.5 kB / 16.92 MB, free: 6.918 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.921/1.921, allocations: 205.4 MB / 223.1 MB, free: 5.531 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.4799/0.4799, allocations: 43.57 MB / 315 MB, free: 8.797 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.000516/0.000516, allocations: 16.42 kB / 384.6 MB, free: 7.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1692, allocations: 58.87 MB / 443.5 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002368/0.1717, allocations: 1.41 MB / 444.9 MB, free: 11.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001689/0.1734, allocations: 0.7769 MB / 445.6 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.1735, allocations: 0 / 445.6 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004518/0.174, allocations: 27.84 kB / 445.7 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002443/0.1743, allocations: 55.77 kB / 445.7 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003479/0.1746, allocations: 75.84 kB / 445.8 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001985/0.1748, allocations: 91.7 kB / 445.9 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.175, allocations: 16.2 kB / 445.9 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.845e-05/0.1751, allocations: 31.8 kB / 445.9 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.653e-05/0.1752, allocations: 31.84 kB / 446 MB, free: 10.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.1752, allocations: 0 / 446 MB, free: 10.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.1753, allocations: 43.92 kB / 446 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.622e-05/0.1754, allocations: 19.92 kB / 446 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.207e-05/0.1754, allocations: 57.44 kB / 446.1 MB, free: 10 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.1757, allocations: 108 kB / 446.2 MB, free: 9.898 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.067e-05/0.1757, allocations: 8 kB / 446.2 MB, free: 9.891 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1757, allocations: 0 / 446.2 MB, free: 9.891 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1757, allocations: 0 / 446.2 MB, free: 9.891 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000623/0.1763, allocations: 383.1 kB / 446.6 MB, free: 9.469 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.627e-05/0.1764, allocations: 12.03 kB / 446.6 MB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.474e-05/0.1764, allocations: 16.75 kB / 446.6 MB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.1767, allocations: 208 kB / 446.8 MB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.1768, allocations: 4.375 kB / 446.8 MB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/0.1768, allocations: 4.125 kB / 446.8 MB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.177, allocations: 53.67 kB / 446.9 MB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.177, allocations: 0 / 446.9 MB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.177, allocations: 4 kB / 446.9 MB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.177, allocations: 0 / 446.9 MB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.733e-05/0.1771, allocations: 15.98 kB / 446.9 MB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004522/0.1776, allocations: 292.8 kB / 447.2 MB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.1778, allocations: 54.67 kB / 447.2 MB, free: 8.715 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.491e-05/0.1778, allocations: 20.86 kB / 447.2 MB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.1779, allocations: 0 / 447.2 MB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002193/0.1781, allocations: 75.31 kB / 447.3 MB, free: 8.605 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.1781, allocations: 0 / 447.3 MB, free: 8.605 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005719/0.1787, allocations: 165.3 kB / 447.5 MB, free: 8.438 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/0.1788, allocations: 59.34 kB / 447.5 MB, free: 8.367 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.1789, allocations: 170.2 kB / 447.7 MB, free: 8.191 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.179, allocations: 29.7 kB / 447.7 MB, free: 8.156 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.766e-05/0.179, allocations: 96.14 kB / 447.8 MB, free: 8.059 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.888e-05/0.1791, allocations: 31.64 kB / 447.9 MB, free: 8.027 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.78e-05/0.1791, allocations: 13.72 kB / 447.9 MB, free: 8.008 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.1792, allocations: 326.8 kB / 448.2 MB, free: 7.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.169e-05/0.1793, allocations: 27.92 kB / 448.2 MB, free: 7.652 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.355e-05/0.1794, allocations: 37.64 kB / 448.3 MB, free: 7.609 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001099/0.1795, allocations: 57.73 kB / 448.3 MB, free: 7.547 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1795, allocations: 4 kB / 448.3 MB, free: 7.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001838/0.1797, allocations: 105.5 kB / 448.4 MB, free: 7.434 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.1797, allocations: 4 kB / 448.4 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1797, allocations: 0 / 448.4 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.1798, allocations: 4 kB / 448.4 MB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.1799, allocations: 19.92 kB / 448.4 MB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.1799, allocations: 0 / 448.4 MB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.966e-05/0.18, allocations: 11.94 kB / 448.5 MB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.18, allocations: 0 / 448.5 MB, free: 7.395 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001093/0.1801, allocations: 129.8 kB / 448.6 MB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.28e-05/0.1801, allocations: 16.19 kB / 448.6 MB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.685e-05/0.1802, allocations: 12.72 kB / 448.6 MB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.1802, allocations: 0 / 448.6 MB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.1802, allocations: 0 / 448.6 MB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.1802, allocations: 7.938 kB / 448.6 MB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004509/0.1807, allocations: 391.3 kB / 449 MB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1807, allocations: 4.031 kB / 449 MB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.169e-05/0.1807, allocations: 11.98 kB / 449 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.1807, allocations: 0 / 449 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.1807, allocations: 3.938 kB / 449 MB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.1807, allocations: 4 kB / 449 MB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1808, allocations: 3.938 kB / 449 MB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002125/0.181, allocations: 196.3 kB / 449.2 MB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.263e-05/0.181, allocations: 89 kB / 449.3 MB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.1811, allocations: 11.94 kB / 449.3 MB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.723e-05/0.1811, allocations: 4 kB / 449.3 MB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.516e-05/0.1812, allocations: 3.984 kB / 449.3 MB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.1812, allocations: 4 kB / 449.3 MB, free: 6.418 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001052/0.1813, allocations: 135.9 kB / 449.5 MB, free: 6.285 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1813, allocations: 0 / 449.5 MB, free: 6.285 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002611/0.1816, allocations: 31.89 kB / 449.5 MB, free: 6.254 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001146/0.1827, allocations: 480.1 kB / 450 MB, free: 5.809 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001841/0.1829, allocations: 55.98 kB / 450 MB, free: 5.754 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1829, allocations: 0 / 450 MB, free: 5.754 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.073e-05/0.183, allocations: 35.98 kB / 450.1 MB, free: 5.719 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.1834, allocations: 24.28 kB / 450.1 MB, free: 5.695 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005161/0.1839, allocations: 238.1 kB / 450.3 MB, free: 5.438 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.1842, allocations: 0.7004 MB / 451 MB, free: 4.711 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.605e-05/0.1843, allocations: 12.88 kB / 451 MB, free: 4.691 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.78e-05/0.1843, allocations: 15.44 kB / 451 MB, free: 4.676 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1843, allocations: 0 / 451 MB, free: 4.676 MB / 382.1 MB Notification: Performance of Templates: time 0.004709/0.1891, allocations: 1.619 MB / 452.7 MB, free: 3.059 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches