Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IndustrialControlSystems with version 1.1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL") translateModel(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008149/0.000815, allocations: 173.9 kB / 15.43 MB, free: 5.891 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05562/0.05562, allocations: 10.99 MB / 27.18 MB, free: 1.629 MB / 18.57 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.189/1.189, allocations: 225.7 MB / 256.1 MB, free: 3.172 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007267/0.0007268, allocations: 93.02 kB / 309.7 MB, free: 1.172 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002818/0.0002818, allocations: 8 kB / 373.2 MB, free: 1.523 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.182, allocations: 52.84 MB / 426.1 MB, free: 35.99 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL): time 0.001195/0.1832, allocations: 1.315 MB / 427.4 MB, free: 34.66 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004656/0.1837, allocations: 388.9 kB / 427.8 MB, free: 34.27 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.754e-05/0.1837, allocations: 2 kB / 427.8 MB, free: 34.27 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 2.492e-05/0.1838, allocations: 3.938 kB / 427.8 MB, free: 34.26 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 8.433e-05/0.1839, allocations: 19.86 kB / 427.8 MB, free: 34.24 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002609/0.1841, allocations: 77.45 kB / 427.9 MB, free: 34.17 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001216/0.1843, allocations: 115.7 kB / 428 MB, free: 34.05 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.153e-05/0.1844, allocations: 25.55 kB / 428 MB, free: 34.03 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.068e-05/0.1844, allocations: 47.66 kB / 428 MB, free: 33.98 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.371e-05/0.1845, allocations: 59.69 kB / 428.1 MB, free: 33.93 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.1845, allocations: 7.984 kB / 428.1 MB, free: 33.92 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.847e-05/0.1846, allocations: 35.97 kB / 428.1 MB, free: 33.88 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.593e-05/0.1846, allocations: 27.86 kB / 428.2 MB, free: 33.86 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.873e-05/0.1846, allocations: 81.28 kB / 428.2 MB, free: 33.77 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.1848, allocations: 131.5 kB / 428.4 MB, free: 33.64 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1848, allocations: 4 kB / 428.4 MB, free: 33.64 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1848, allocations: 0 / 428.4 MB, free: 33.64 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.1848, allocations: 0 / 428.4 MB, free: 33.64 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004213/0.1852, allocations: 433 kB / 428.8 MB, free: 33.16 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.962e-05/0.1853, allocations: 8.031 kB / 428.8 MB, free: 33.16 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.53e-05/0.1853, allocations: 16.75 kB / 428.8 MB, free: 33.14 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.1855, allocations: 212.6 kB / 429 MB, free: 32.89 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.1855, allocations: 12.38 kB / 429 MB, free: 32.88 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/0.1855, allocations: 12.31 kB / 429.1 MB, free: 32.87 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.1857, allocations: 134.5 kB / 429.2 MB, free: 32.72 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.1857, allocations: 192 / 429.2 MB, free: 32.72 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.1857, allocations: 7.938 kB / 429.2 MB, free: 32.71 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1857, allocations: 8 kB / 429.2 MB, free: 32.7 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.1859, allocations: 59.84 kB / 429.3 MB, free: 32.64 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004614/0.1863, allocations: 412.6 kB / 429.7 MB, free: 32.19 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.1865, allocations: 110.6 kB / 429.8 MB, free: 32.07 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.905e-05/0.1866, allocations: 64.77 kB / 429.8 MB, free: 32.01 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/0.1866, allocations: 0 / 429.8 MB, free: 32.01 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001797/0.1868, allocations: 127.2 kB / 430 MB, free: 31.87 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 1.122e-06/0.1868, allocations: 0 / 430 MB, free: 31.87 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003239/0.1872, allocations: 205.4 kB / 430.2 MB, free: 31.66 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.1872, allocations: 158.2 kB / 430.3 MB, free: 31.47 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.1873, allocations: 198.1 kB / 430.5 MB, free: 31.27 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.1873, allocations: 33.7 kB / 430.5 MB, free: 31.23 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.145e-05/0.1874, allocations: 120.1 kB / 430.7 MB, free: 31.11 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.168e-05/0.1874, allocations: 47.34 kB / 430.7 MB, free: 31.06 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-06/0.1874, allocations: 0 / 430.7 MB, free: 31.06 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.8e-05/0.1875, allocations: 330.8 kB / 431 MB, free: 30.73 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.897e-05/0.1875, allocations: 39.98 kB / 431.1 MB, free: 30.69 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.132e-05/0.1876, allocations: 113.4 kB / 431.2 MB, free: 30.55 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/0.1878, allocations: 133.9 kB / 431.3 MB, free: 30.39 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1878, allocations: 0 / 431.3 MB, free: 30.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002107/0.1881, allocations: 177.2 kB / 431.5 MB, free: 30.21 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.1881, allocations: 8 kB / 431.5 MB, free: 30.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-06/0.1881, allocations: 0 / 431.5 MB, free: 30.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.1881, allocations: 4 kB / 431.5 MB, free: 30.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.1882, allocations: 31.92 kB / 431.5 MB, free: 30.17 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.1883, allocations: 11.94 kB / 431.5 MB, free: 30.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.1884, allocations: 23.83 kB / 431.6 MB, free: 30.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.425e-06/0.1884, allocations: 8.156 kB / 431.6 MB, free: 30.13 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.ll_dig_BE.y,ll_dig_BE.y,$PRE.ll_dig_FE.y,ll_dig_FE.y,$PRE.ll_dig_TU.y,ll_dig_TU.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 6.642e-05/0.1885, allocations: 130.6 kB / 431.7 MB, free: 29.99 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.948e-05/0.1885, allocations: 19.84 kB / 431.7 MB, free: 29.97 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.293e-05/0.1885, allocations: 21.52 kB / 431.7 MB, free: 29.95 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.1885, allocations: 0 / 431.7 MB, free: 29.95 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.1886, allocations: 3.938 kB / 431.7 MB, free: 29.95 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.1886, allocations: 0 / 431.7 MB, free: 29.95 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003487/0.1889, allocations: 470.4 kB / 432.2 MB, free: 29.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1889, allocations: 4 kB / 432.2 MB, free: 29.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.354e-05/0.189, allocations: 20 kB / 432.2 MB, free: 29.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.189, allocations: 3.938 kB / 432.2 MB, free: 29.41 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.1891, allocations: 7.922 kB / 432.2 MB, free: 29.4 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.1891, allocations: 4 kB / 432.2 MB, free: 29.39 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1891, allocations: 0 / 432.2 MB, free: 29.39 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003166/0.1894, allocations: 319.3 kB / 432.6 MB, free: 29.07 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.904e-05/0.1894, allocations: 92.89 kB / 432.6 MB, free: 28.96 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.883e-05/0.1895, allocations: 7.938 kB / 432.7 MB, free: 28.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.1896, allocations: 15.92 kB / 432.7 MB, free: 28.93 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.617e-05/0.1897, allocations: 16.05 kB / 432.7 MB, free: 28.92 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.1897, allocations: 4 kB / 432.7 MB, free: 28.91 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.914e-05/0.1897, allocations: 144.3 kB / 432.8 MB, free: 28.77 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1898, allocations: 3.938 kB / 432.8 MB, free: 28.77 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002238/0.19, allocations: 32 kB / 432.9 MB, free: 28.74 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (ll.dy) * Number of discrete variables: 6 ($whenCondition3,$whenCondition2,$whenCondition1,ll_dig_BE.y,ll_dig_FE.y,ll_dig_TU.y) * Number of discrete states: 6 (ll_dig_TU.u,ll_dig_TU.y,ll_dig_FE.u,ll_dig_FE.y,ll_dig_BE.u,ll_dig_BE.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 8.602e-05/0.1901, allocations: 119.2 kB / 433 MB, free: 28.61 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002018/0.1903, allocations: 119.8 kB / 433.1 MB, free: 28.5 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1903, allocations: 0 / 433.1 MB, free: 28.5 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.729e-05/0.1904, allocations: 52.73 kB / 433.1 MB, free: 28.45 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/0.1906, allocations: 41.12 kB / 433.2 MB, free: 28.41 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005301/0.1912, allocations: 362.8 kB / 433.5 MB, free: 28.03 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.719e-05/0.1913, allocations: 0.7167 MB / 434.3 MB, free: 27.29 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.119e-05/0.1914, allocations: 13.55 kB / 434.3 MB, free: 27.27 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.833e-05/0.1914, allocations: 19.44 kB / 434.3 MB, free: 27.25 MB / 314.7 MB Notification: Performance of SimCode: time 2.01e-07/0.1914, allocations: 4 kB / 434.3 MB, free: 27.25 MB / 314.7 MB Notification: Performance of Templates: time 0.003244/0.1947, allocations: 1.739 MB / 436 MB, free: 25.53 MB / 314.7 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.sim & ./IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe 2>&1)