Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009953/0.0009954, allocations: 96.94 kB / 16.02 MB, free: 84 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.001299/0.001299, allocations: 182.7 kB / 16.91 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.975/1.975, allocations: 205.4 MB / 223.1 MB, free: 5.547 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.4818/0.4818, allocations: 43.58 MB / 315 MB, free: 9.039 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.0005818/0.0005822, allocations: 22.97 kB / 384.6 MB, free: 7.879 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1748, allocations: 58.87 MB / 443.5 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.002267/0.1771, allocations: 1.382 MB / 444.8 MB, free: 11.51 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00147/0.1786, allocations: 0.7536 MB / 445.6 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.576e-05/0.1787, allocations: 4 kB / 445.6 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004256/0.1791, allocations: 51.86 kB / 445.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002266/0.1794, allocations: 47.77 kB / 445.7 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002545/0.1796, allocations: 75.91 kB / 445.8 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002377/0.1799, allocations: 95.62 kB / 445.9 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.577e-05/0.18, allocations: 11.98 kB / 445.9 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.1801, allocations: 39.78 kB / 445.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.1802, allocations: 27.86 kB / 445.9 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.1802, allocations: 0 / 445.9 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.848e-05/0.1803, allocations: 31.97 kB / 446 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.653e-05/0.1804, allocations: 27.86 kB / 446 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.742e-05/0.1805, allocations: 61.39 kB / 446.1 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.1807, allocations: 115.9 kB / 446.2 MB, free: 10.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.1807, allocations: 3.938 kB / 446.2 MB, free: 10.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.078e-06/0.1807, allocations: 0 / 446.2 MB, free: 10.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1807, allocations: 3.938 kB / 446.2 MB, free: 10.16 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.0006359/0.1814, allocations: 414.9 kB / 446.6 MB, free: 9.703 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.1814, allocations: 12.03 kB / 446.6 MB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.076e-05/0.1815, allocations: 12.75 kB / 446.6 MB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002641/0.1818, allocations: 215.7 kB / 446.8 MB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.1818, allocations: 4.375 kB / 446.8 MB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.1818, allocations: 12.06 kB / 446.8 MB, free: 9.414 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.182, allocations: 49.67 kB / 446.9 MB, free: 9.359 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.182, allocations: 0 / 446.9 MB, free: 9.359 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.182, allocations: 4 kB / 446.9 MB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.182, allocations: 3.984 kB / 446.9 MB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.906e-05/0.1821, allocations: 15.98 kB / 446.9 MB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002333/0.1824, allocations: 181.7 kB / 447.1 MB, free: 9.109 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.1825, allocations: 62.55 kB / 447.1 MB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.486e-05/0.1826, allocations: 20.8 kB / 447.2 MB, free: 9.016 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.652e-05/0.1826, allocations: 4 kB / 447.2 MB, free: 9.012 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002174/0.1829, allocations: 63.39 kB / 447.2 MB, free: 8.938 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.373e-06/0.1829, allocations: 0 / 447.2 MB, free: 8.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003266/0.1832, allocations: 105.5 kB / 447.3 MB, free: 8.828 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/0.1833, allocations: 55.34 kB / 447.4 MB, free: 8.762 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002694/0.1835, allocations: 255.7 kB / 447.6 MB, free: 8.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.1836, allocations: 29.7 kB / 447.7 MB, free: 8.465 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.1837, allocations: 116.1 kB / 447.8 MB, free: 8.348 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.537e-05/0.1837, allocations: 3.906 kB / 447.8 MB, free: 8.344 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.219e-05/0.1838, allocations: 17.72 kB / 447.8 MB, free: 8.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.1839, allocations: 322.8 kB / 448.1 MB, free: 7.996 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.95e-05/0.184, allocations: 19.98 kB / 448.1 MB, free: 7.977 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.86e-05/0.184, allocations: 29.7 kB / 448.2 MB, free: 7.941 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.991e-05/0.1841, allocations: 41.72 kB / 448.2 MB, free: 7.895 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1841, allocations: 0 / 448.2 MB, free: 7.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001477/0.1843, allocations: 93.36 kB / 448.3 MB, free: 7.797 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.1843, allocations: 4 kB / 448.3 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1843, allocations: 0 / 448.3 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.1844, allocations: 4.031 kB / 448.3 MB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.862e-05/0.1844, allocations: 12 kB / 448.3 MB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.1845, allocations: 8.078 kB / 448.3 MB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.704e-05/0.1845, allocations: 7.938 kB / 448.3 MB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.1845, allocations: 3.984 kB / 448.3 MB, free: 7.758 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.0001242/0.1847, allocations: 141.4 kB / 448.5 MB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/0.1847, allocations: 15.81 kB / 448.5 MB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.442e-05/0.1847, allocations: 16.94 kB / 448.5 MB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1847, allocations: 4 kB / 448.5 MB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1848, allocations: 4 kB / 448.5 MB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.1848, allocations: 0 / 448.5 MB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.1849, allocations: 197.5 kB / 448.7 MB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1849, allocations: 0 / 448.7 MB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.513e-05/0.185, allocations: 11.98 kB / 448.7 MB, free: 7.316 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.185, allocations: 0 / 448.7 MB, free: 7.316 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.185, allocations: 0 / 448.7 MB, free: 7.316 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.185, allocations: 320 / 448.7 MB, free: 7.316 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.185, allocations: 0 / 448.7 MB, free: 7.316 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001863/0.1852, allocations: 124.8 kB / 448.8 MB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.072e-05/0.1853, allocations: 92.92 kB / 448.9 MB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.1853, allocations: 0 / 448.9 MB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.864e-05/0.1853, allocations: 7.984 kB / 448.9 MB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.565e-05/0.1854, allocations: 0 / 448.9 MB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.1854, allocations: 4 kB / 448.9 MB, free: 7.055 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001778/0.1856, allocations: 203 kB / 449.1 MB, free: 6.855 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1856, allocations: 3.938 kB / 449.1 MB, free: 6.852 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002121/0.1858, allocations: 19.98 kB / 449.2 MB, free: 6.832 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.001019/0.1868, allocations: 417.6 kB / 449.6 MB, free: 6.445 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001643/0.187, allocations: 39.92 kB / 449.6 MB, free: 6.406 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.187, allocations: 0 / 449.6 MB, free: 6.406 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.272e-05/0.1871, allocations: 19.98 kB / 449.6 MB, free: 6.387 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/0.1874, allocations: 27.92 kB / 449.7 MB, free: 6.359 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000573/0.188, allocations: 277.9 kB / 449.9 MB, free: 6.062 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.1883, allocations: 0.7238 MB / 450.6 MB, free: 5.312 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.064e-05/0.1884, allocations: 8.547 kB / 450.7 MB, free: 5.305 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.258e-05/0.1884, allocations: 15.44 kB / 450.7 MB, free: 5.293 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1884, allocations: 0 / 450.7 MB, free: 5.293 MB / 382.1 MB Notification: Performance of Templates: time 0.004565/0.193, allocations: 1.431 MB / 452.1 MB, free: 3.863 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches