Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.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.Controllers.Examples.TestPI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestPI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008089/0.000809, allocations: 174.4 kB / 15.43 MB, free: 5.77 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.05511/0.05511, allocations: 10.99 MB / 27.17 MB, free: 1.555 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.213/1.213, allocations: 225.7 MB / 256 MB, free: 3.152 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.0007409/0.0007409, allocations: 101.9 kB / 309.7 MB, free: 1.145 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002723/0.0002723, allocations: 11.98 kB / 373.2 MB, free: 1.508 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1858, allocations: 52.84 MB / 426.1 MB, free: 35.97 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPI_bias): time 0.001515/0.1873, allocations: 1.745 MB / 427.8 MB, free: 34.22 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007209/0.1881, allocations: 0.597 MB / 428.4 MB, free: 33.61 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.776e-05/0.1882, allocations: 11.88 kB / 428.4 MB, free: 33.59 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001374/0.1883, allocations: 39.66 kB / 428.4 MB, free: 33.55 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 7.772e-05/0.1884, allocations: 23.8 kB / 428.5 MB, free: 33.53 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004019/0.1888, allocations: 229.3 kB / 428.7 MB, free: 33.31 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003169/0.1892, allocations: 487.9 kB / 429.2 MB, free: 32.83 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.1893, allocations: 80.64 kB / 429.3 MB, free: 32.75 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.1894, allocations: 147.3 kB / 429.4 MB, free: 32.61 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.1896, allocations: 163.2 kB / 429.6 MB, free: 32.45 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.674e-05/0.1896, allocations: 16 kB / 429.6 MB, free: 32.43 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.156e-05/0.1897, allocations: 12 kB / 429.6 MB, free: 32.42 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.044e-05/0.1898, allocations: 107.6 kB / 429.7 MB, free: 32.32 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.249e-05/0.1899, allocations: 188.6 kB / 429.9 MB, free: 32.12 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.19, allocations: 332.7 kB / 430.2 MB, free: 31.8 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1901, allocations: 4 kB / 430.2 MB, free: 31.8 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1901, allocations: 0 / 430.2 MB, free: 31.8 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.1901, allocations: 0 / 430.2 MB, free: 31.8 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.000726/0.1908, allocations: 0.6433 MB / 430.8 MB, free: 31.1 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.817e-05/0.1908, allocations: 12.03 kB / 430.9 MB, free: 31.09 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.344e-05/0.1909, allocations: 44.38 kB / 430.9 MB, free: 31.04 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003227/0.1912, allocations: 375.6 kB / 431.3 MB, free: 30.64 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.1913, allocations: 29.38 kB / 431.3 MB, free: 30.61 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.924e-05/0.1913, allocations: 32.38 kB / 431.3 MB, free: 30.58 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004995/0.1918, allocations: 424.5 kB / 431.7 MB, free: 30.14 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.1919, allocations: 12.09 kB / 431.8 MB, free: 30.13 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.542e-05/0.1919, allocations: 15.94 kB / 431.8 MB, free: 30.12 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.1919, allocations: 8 kB / 431.8 MB, free: 30.11 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004363/0.1923, allocations: 322.3 kB / 432.1 MB, free: 29.79 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001578/0.1939, allocations: 1.539 MB / 433.6 MB, free: 28.17 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005869/0.1945, allocations: 242.5 kB / 433.9 MB, free: 27.93 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001631/0.1947, allocations: 125.2 kB / 434 MB, free: 27.8 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.1947, allocations: 7.984 kB / 434 MB, free: 27.79 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.204e-05/0.1947, allocations: 42.38 kB / 434 MB, free: 27.74 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 1.423e-06/0.1948, allocations: 4 kB / 434 MB, free: 27.74 MB / 314.7 MB Notification: Performance of matching and sorting (n=25): time 0.0005468/0.1953, allocations: 371.2 kB / 434.4 MB, free: 27.37 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.002e-05/0.1953, allocations: 51.41 kB / 434.5 MB, free: 27.31 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002676/0.1956, allocations: 405.5 kB / 434.8 MB, free: 26.91 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.1956, allocations: 29.7 kB / 434.9 MB, free: 26.87 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.643e-05/0.1957, allocations: 228 kB / 435.1 MB, free: 26.64 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.274e-05/0.1958, allocations: 110.5 kB / 435.2 MB, free: 26.54 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.127e-05/0.1958, allocations: 4 kB / 435.2 MB, free: 26.53 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.346e-05/0.1958, allocations: 354.8 kB / 435.6 MB, free: 26.18 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.196, allocations: 108.4 kB / 435.7 MB, free: 26.07 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001802/0.1962, allocations: 224.5 kB / 435.9 MB, free: 25.8 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001533/0.1977, allocations: 0.6828 MB / 436.6 MB, free: 25.07 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1978, allocations: 0 / 436.6 MB, free: 25.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005087/0.1983, allocations: 468.2 kB / 437 MB, free: 24.6 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.1983, allocations: 7.938 kB / 437 MB, free: 24.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1983, allocations: 4 kB / 437 MB, free: 24.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.1983, allocations: 8.469 kB / 437 MB, free: 24.58 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003406/0.1987, allocations: 107.9 kB / 437.2 MB, free: 24.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.1987, allocations: 15.92 kB / 437.2 MB, free: 24.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/0.1988, allocations: 47.52 kB / 437.2 MB, free: 24.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.1989, allocations: 20 kB / 437.2 MB, free: 24.39 MB / 314.7 MB Warning: Assuming fixed start value for the following 9 variables: ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] ProcessCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] processNoCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real ProcessBias.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessBias.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] ProcessBias.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (R_Bias.TS_in,R.TS_in,R_Bias.ATreq_in,R.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 51 * 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.0001774/0.1991, allocations: 195.5 kB / 437.4 MB, free: 24.2 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.439e-05/0.1991, allocations: 43.45 kB / 437.5 MB, free: 24.15 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004908/0.1996, allocations: 348.5 kB / 437.8 MB, free: 23.81 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.1996, allocations: 7.938 kB / 437.8 MB, free: 23.8 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.1996, allocations: 0 / 437.8 MB, free: 23.8 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.1996, allocations: 3.984 kB / 437.8 MB, free: 23.8 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002883/0.1999, allocations: 389.3 kB / 438.2 MB, free: 23.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1999, allocations: 4 kB / 438.2 MB, free: 23.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003707/0.2003, allocations: 83.89 kB / 438.3 MB, free: 23.28 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.2003, allocations: 7.875 kB / 438.3 MB, free: 23.27 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.287e-05/0.2004, allocations: 11.98 kB / 438.3 MB, free: 23.26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.2004, allocations: 4 kB / 438.3 MB, free: 23.26 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2004, allocations: 0 / 438.3 MB, free: 23.26 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005468/0.2009, allocations: 0.5195 MB / 438.8 MB, free: 22.72 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.47e-05/0.201, allocations: 120.5 kB / 438.9 MB, free: 22.58 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.88e-05/0.201, allocations: 15.94 kB / 439 MB, free: 22.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.2012, allocations: 15.98 kB / 439 MB, free: 22.55 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.899e-05/0.2012, allocations: 19.97 kB / 439 MB, free: 22.53 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.2012, allocations: 12 kB / 439 MB, free: 22.52 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001787/0.2014, allocations: 271.1 kB / 439.3 MB, free: 22.25 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2014, allocations: 0 / 439.3 MB, free: 22.25 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002687/0.2017, allocations: 67.84 kB / 439.3 MB, free: 22.19 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (R.FBout,R_Bias.FBout,ProcessCtrl.Y[3],ProcessCtrl.U[2],ProcessCtrl.w,processNoCtrl.Y[3],processNoCtrl.U[2],processNoCtrl.w,ProcessBias.Y[3],ProcessBias.U[2],ProcessBias.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * 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 Backend phase and start with SimCode phase: time 7.21e-05/0.2018, allocations: 115.5 kB / 439.4 MB, free: 22.07 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004194/0.2022, allocations: 313.1 kB / 439.8 MB, free: 21.76 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2022, allocations: 0 / 439.8 MB, free: 21.76 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001675/0.2024, allocations: 132.8 kB / 439.9 MB, free: 21.63 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.2027, allocations: 41.55 kB / 439.9 MB, free: 21.59 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008687/0.2036, allocations: 1.014 MB / 440.9 MB, free: 20.55 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001846/0.2038, allocations: 0.8344 MB / 441.8 MB, free: 19.69 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001739/0.204, allocations: 79.22 kB / 441.9 MB, free: 19.61 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.607e-05/0.204, allocations: 31.44 kB / 441.9 MB, free: 19.58 MB / 314.7 MB Notification: Performance of SimCode: time 2.31e-07/0.204, allocations: 0 / 441.9 MB, free: 19.58 MB / 314.7 MB Notification: Performance of Templates: time 0.004647/0.2087, allocations: 2.322 MB / 444.2 MB, free: 17.27 MB / 314.7 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe 2>&1)