Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008467/0.0008471, allocations: 96.94 kB / 16.02 MB, free: 80 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.000904/0.0009041, allocations: 184.2 kB / 16.92 MB, free: 6.934 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.995/1.995, 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.4813/0.4813, allocations: 43.56 MB / 315 MB, free: 8.789 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.0005743/0.0005744, allocations: 12.38 kB / 384.6 MB, free: 7.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1729, allocations: 58.87 MB / 443.5 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.002423/0.1754, allocations: 1.371 MB / 444.8 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001411/0.1768, allocations: 0.7613 MB / 445.6 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.959e-05/0.1769, allocations: 0 / 445.6 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003739/0.1773, allocations: 51.86 kB / 445.6 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001935/0.1775, allocations: 55.81 kB / 445.7 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002279/0.1777, allocations: 75.78 kB / 445.8 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.1779, allocations: 91.7 kB / 445.9 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.108e-05/0.178, allocations: 11.98 kB / 445.9 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.556e-05/0.1781, allocations: 43.72 kB / 445.9 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.814e-05/0.1782, allocations: 31.84 kB / 445.9 MB, free: 10.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.1782, allocations: 4 kB / 446 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.156e-05/0.1783, allocations: 23.98 kB / 446 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.863e-05/0.1784, allocations: 23.92 kB / 446 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.529e-05/0.1785, allocations: 69.36 kB / 446.1 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.1787, allocations: 107.9 kB / 446.2 MB, free: 9.938 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.1787, allocations: 0 / 446.2 MB, free: 9.938 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.801e-06/0.1788, allocations: 4 kB / 446.2 MB, free: 9.934 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.1788, allocations: 3.938 kB / 446.2 MB, free: 9.93 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007562/0.1795, allocations: 422.9 kB / 446.6 MB, free: 9.469 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.1796, allocations: 8.031 kB / 446.6 MB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.702e-05/0.1797, allocations: 12.75 kB / 446.6 MB, free: 9.449 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000281/0.1799, allocations: 215.8 kB / 446.8 MB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/0.18, allocations: 384 / 446.8 MB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.18, allocations: 4.125 kB / 446.8 MB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.1802, allocations: 61.61 kB / 446.9 MB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.1802, allocations: 0 / 446.9 MB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.1802, allocations: 0 / 446.9 MB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.1802, allocations: 0 / 446.9 MB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.244e-05/0.1803, allocations: 15.98 kB / 446.9 MB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002556/0.1806, allocations: 189.7 kB / 447.1 MB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.1808, allocations: 54.61 kB / 447.1 MB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.784e-05/0.1808, allocations: 24.8 kB / 447.2 MB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.782e-05/0.1809, allocations: 3.984 kB / 447.2 MB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002238/0.1811, allocations: 67.31 kB / 447.2 MB, free: 8.707 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.563e-06/0.1811, allocations: 0 / 447.2 MB, free: 8.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003079/0.1814, allocations: 101.5 kB / 447.3 MB, free: 8.602 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.1815, allocations: 55.41 kB / 447.4 MB, free: 8.535 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000269/0.1818, allocations: 259.7 kB / 447.6 MB, free: 8.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.1818, allocations: 29.7 kB / 447.7 MB, free: 8.234 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.889e-05/0.1819, allocations: 112.1 kB / 447.8 MB, free: 8.121 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.951e-05/0.1819, allocations: 7.906 kB / 447.8 MB, free: 8.113 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-05/0.182, allocations: 13.72 kB / 447.8 MB, free: 8.094 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001936/0.1822, allocations: 334.8 kB / 448.1 MB, free: 7.758 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.501e-05/0.1822, allocations: 8 kB / 448.1 MB, free: 7.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.443e-05/0.1823, allocations: 41.69 kB / 448.2 MB, free: 7.703 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.1824, allocations: 41.7 kB / 448.2 MB, free: 7.656 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.1824, allocations: 0 / 448.2 MB, free: 7.656 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001691/0.1826, allocations: 93.31 kB / 448.3 MB, free: 7.559 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.1826, allocations: 4 kB / 448.3 MB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.495e-06/0.1827, allocations: 4 kB / 448.3 MB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.1827, allocations: 0 / 448.3 MB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.1828, allocations: 8 kB / 448.3 MB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.1828, allocations: 4.031 kB / 448.3 MB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.229e-05/0.1829, allocations: 11.92 kB / 448.3 MB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.1829, allocations: 4 kB / 448.3 MB, free: 7.523 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 (7): * Single equations (assignments): 7 * 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.0001622/0.1831, allocations: 137.7 kB / 448.5 MB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.359e-05/0.1831, allocations: 15.81 kB / 448.5 MB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.781e-05/0.1832, allocations: 17 kB / 448.5 MB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.1832, allocations: 3.984 kB / 448.5 MB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.1832, allocations: 0 / 448.5 MB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.1832, allocations: 4 kB / 448.5 MB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.1834, allocations: 193.6 kB / 448.7 MB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.1835, allocations: 3.984 kB / 448.7 MB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.075e-05/0.1835, allocations: 4.312 kB / 448.7 MB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1835, allocations: 0 / 448.7 MB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.1835, allocations: 4 kB / 448.7 MB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.1835, allocations: 4 kB / 448.7 MB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1835, allocations: 0 / 448.7 MB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002221/0.1838, allocations: 112.9 kB / 448.8 MB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.03e-05/0.1838, allocations: 92.92 kB / 448.9 MB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.1839, allocations: 4 kB / 448.9 MB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.694e-05/0.1839, allocations: 3.984 kB / 448.9 MB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.192e-05/0.184, allocations: 7.938 kB / 448.9 MB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.184, allocations: 0 / 448.9 MB, free: 6.832 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002175/0.1842, allocations: 207 kB / 449.1 MB, free: 6.629 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1842, allocations: 3.938 kB / 449.1 MB, free: 6.625 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000233/0.1845, allocations: 16 kB / 449.2 MB, free: 6.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001261/0.1857, allocations: 417.1 kB / 449.6 MB, free: 6.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002032/0.186, allocations: 35.98 kB / 449.6 MB, free: 6.195 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.186, allocations: 0 / 449.6 MB, free: 6.195 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.916e-05/0.1861, allocations: 27.92 kB / 449.6 MB, free: 6.168 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.1864, allocations: 27.86 kB / 449.7 MB, free: 6.141 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008003/0.1872, allocations: 281.9 kB / 449.9 MB, free: 5.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004423/0.1877, allocations: 0.716 MB / 450.6 MB, free: 5.098 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.115e-05/0.1877, allocations: 16.55 kB / 450.7 MB, free: 5.082 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.66e-05/0.1878, allocations: 11.44 kB / 450.7 MB, free: 5.07 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1878, allocations: 0 / 450.7 MB, free: 5.07 MB / 382.1 MB Notification: Performance of Templates: time 0.004918/0.1927, allocations: 1.427 MB / 452.1 MB, free: 3.648 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches