Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 114.1 kB / 17.07 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002239/0.002239, allocations: 191 kB / 18 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.021/1.021, allocations: 119.3 MB / 411.2 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 60.38 kB / 0.5709 GB, free: 39.67 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1752, allocations: 80.69 MB / 0.6497 GB, free: 12.98 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.003225/0.1785, allocations: 1.558 MB / 0.6512 GB, free: 11.41 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001883/0.1804, allocations: 0.8846 MB / 0.6521 GB, free: 10.52 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001465/0.1806, allocations: 3.938 kB / 0.6521 GB, free: 10.52 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0004817/0.181, allocations: 59.73 kB / 0.6521 GB, free: 10.46 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0005154/0.1816, allocations: 103.6 kB / 0.6522 GB, free: 10.36 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004379/0.182, allocations: 111.5 kB / 0.6523 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0003163/0.1824, allocations: 127.6 kB / 0.6525 GB, free: 10.13 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 8.393e-05/0.1825, allocations: 15.97 kB / 0.6525 GB, free: 10.11 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002186/0.1827, allocations: 67.75 kB / 0.6525 GB, free: 10.05 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.1829, allocations: 63.69 kB / 0.6526 GB, free: 9.984 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 3.059e-05/0.1829, allocations: 4 kB / 0.6526 GB, free: 9.98 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/0.1831, allocations: 28 kB / 0.6526 GB, free: 9.953 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001843/0.1833, allocations: 71.8 kB / 0.6527 GB, free: 9.883 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 9.812e-05/0.1834, allocations: 51.55 kB / 0.6527 GB, free: 9.832 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0003148/0.1837, allocations: 159.1 kB / 0.6529 GB, free: 9.676 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.1837, allocations: 0 / 0.6529 GB, free: 9.676 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.164e-06/0.1837, allocations: 0 / 0.6529 GB, free: 9.676 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 7.635e-06/0.1837, allocations: 0 / 0.6529 GB, free: 9.676 MB / 0.4983 GB 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.0007834/0.1845, allocations: 498 kB / 0.6534 GB, free: 9.141 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.1846, allocations: 11.89 kB / 0.6534 GB, free: 9.129 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.957e-05/0.1846, allocations: 24.8 kB / 0.6534 GB, free: 9.105 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005091/0.1852, allocations: 343.6 kB / 0.6537 GB, free: 8.73 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.1852, allocations: 384 / 0.6537 GB, free: 8.73 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.844e-05/0.1852, allocations: 8.125 kB / 0.6537 GB, free: 8.723 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.1854, allocations: 57.61 kB / 0.6538 GB, free: 8.66 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.1854, allocations: 3.938 kB / 0.6538 GB, free: 8.656 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.1854, allocations: 0 / 0.6538 GB, free: 8.656 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1854, allocations: 0 / 0.6538 GB, free: 8.656 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.362e-05/0.1855, allocations: 15.98 kB / 0.6538 GB, free: 8.641 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002571/0.1857, allocations: 217.6 kB / 0.654 GB, free: 8.379 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.1859, allocations: 50.62 kB / 0.6541 GB, free: 8.32 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.678e-05/0.186, allocations: 24.78 kB / 0.6541 GB, free: 8.293 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.186, allocations: 0 / 0.6541 GB, free: 8.293 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001886/0.1862, allocations: 75.33 kB / 0.6542 GB, free: 8.207 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=5): time 1.463e-06/0.1862, allocations: 0 / 0.6542 GB, free: 8.207 MB / 0.4983 GB Notification: Performance of matching and sorting (n=5): time 0.0003019/0.1865, allocations: 105.5 kB / 0.6543 GB, free: 8.098 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.1866, allocations: 51.41 kB / 0.6543 GB, free: 8.035 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003139/0.1869, allocations: 282.6 kB / 0.6546 GB, free: 7.746 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.1869, allocations: 29.69 kB / 0.6546 GB, free: 7.711 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 8.247e-05/0.187, allocations: 132.1 kB / 0.6547 GB, free: 7.578 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.187, allocations: 11.95 kB / 0.6548 GB, free: 7.566 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.964e-05/0.1871, allocations: 25.7 kB / 0.6548 GB, free: 7.535 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.1872, allocations: 330.8 kB / 0.6551 GB, free: 7.203 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.398e-05/0.1873, allocations: 19.92 kB / 0.6551 GB, free: 7.184 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.852e-05/0.1873, allocations: 29.7 kB / 0.6551 GB, free: 7.148 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.25e-05/0.1874, allocations: 37.72 kB / 0.6552 GB, free: 7.105 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.1875, allocations: 0 / 0.6552 GB, free: 7.105 MB / 0.4983 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000216/0.1877, allocations: 105.4 kB / 0.6553 GB, free: 6.996 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.1877, allocations: 4 kB / 0.6553 GB, free: 6.992 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1877, allocations: 0 / 0.6553 GB, free: 6.992 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.1877, allocations: 3.984 kB / 0.6553 GB, free: 6.988 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.588e-05/0.1878, allocations: 12 kB / 0.6553 GB, free: 6.977 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.1879, allocations: 0 / 0.6553 GB, free: 6.977 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.722e-05/0.1879, allocations: 19.88 kB / 0.6553 GB, free: 6.957 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.188, allocations: 160 / 0.6553 GB, free: 6.957 MB / 0.4983 GB 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.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.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.0001577/0.1881, allocations: 142.7 kB / 0.6555 GB, free: 6.809 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.1882, allocations: 31.78 kB / 0.6555 GB, free: 6.777 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.94e-05/0.1882, allocations: 21.31 kB / 0.6555 GB, free: 6.754 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.1882, allocations: 4 kB / 0.6555 GB, free: 6.75 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1883, allocations: 3.938 kB / 0.6555 GB, free: 6.746 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1883, allocations: 3.984 kB / 0.6555 GB, free: 6.742 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002102/0.1885, allocations: 213.6 kB / 0.6557 GB, free: 6.484 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1885, allocations: 3.984 kB / 0.6557 GB, free: 6.48 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.395e-05/0.1885, allocations: 320 / 0.6557 GB, free: 6.48 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.1885, allocations: 4 kB / 0.6557 GB, free: 6.477 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.1886, allocations: 8 kB / 0.6557 GB, free: 6.469 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.1886, allocations: 3.984 kB / 0.6557 GB, free: 6.465 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1886, allocations: 0 / 0.6557 GB, free: 6.465 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002269/0.1888, allocations: 124.9 kB / 0.6559 GB, free: 6.324 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 8.804e-05/0.1889, allocations: 92.97 kB / 0.6559 GB, free: 6.215 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.966e-05/0.1889, allocations: 3.984 kB / 0.6559 GB, free: 6.211 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.399e-05/0.189, allocations: 8 kB / 0.656 GB, free: 6.203 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.088e-05/0.189, allocations: 0 / 0.656 GB, free: 6.203 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.1891, allocations: 11.94 kB / 0.656 GB, free: 6.191 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.0002394/0.1893, allocations: 205.9 kB / 0.6562 GB, free: 5.992 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1893, allocations: 0 / 0.6562 GB, free: 5.992 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002493/0.1896, allocations: 23.92 kB / 0.6562 GB, free: 5.969 MB / 0.4983 GB 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,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.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.0012/0.1908, allocations: 408 kB / 0.6566 GB, free: 5.719 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0002005/0.191, allocations: 39.98 kB / 0.6566 GB, free: 5.68 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.191, allocations: 0 / 0.6566 GB, free: 5.68 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 7.36e-05/0.1911, allocations: 31.98 kB / 0.6566 GB, free: 5.648 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003245/0.1914, allocations: 43.5 kB / 0.6567 GB, free: 5.609 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006957/0.1921, allocations: 307.8 kB / 0.657 GB, free: 5.281 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004887/0.1926, allocations: 0.7513 MB / 0.6577 GB, free: 4.5 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 0.0001271/0.1928, allocations: 29.53 kB / 0.6577 GB, free: 4.469 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.609e-05/0.1928, allocations: 31.41 kB / 0.6578 GB, free: 4.438 MB / 0.4983 GB Notification: Performance of SimCode: time 6.61e-07/0.1928, allocations: 4 kB / 0.6578 GB, free: 4.434 MB / 0.4983 GB Notification: Performance of Templates: time 0.006077/0.1989, allocations: 1.709 MB / 0.6594 GB, free: 2.734 MB / 0.4983 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches