Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_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.TestI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_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.0009019/0.000902, allocations: 181 kB / 15.43 MB, free: 5.773 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.05502/0.05502, allocations: 10.99 MB / 27.17 MB, free: 1.508 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.225/1.225, allocations: 225.7 MB / 256 MB, free: 3.215 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.0008254/0.0008254, allocations: 107.8 kB / 309.7 MB, free: 1.195 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002939/0.000294, allocations: 12 kB / 373.2 MB, free: 1.551 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.1995, allocations: 52.83 MB / 426.1 MB, free: 36.02 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_bias): time 0.001538/0.2011, allocations: 1.721 MB / 427.8 MB, free: 34.29 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007049/0.2018, allocations: 0.5584 MB / 428.3 MB, free: 33.71 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.2019, allocations: 19 kB / 428.4 MB, free: 33.7 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001408/0.202, allocations: 39.64 kB / 428.4 MB, free: 33.66 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 7.514e-05/0.2021, allocations: 15.81 kB / 428.4 MB, free: 33.64 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004261/0.2026, allocations: 218.3 kB / 428.6 MB, free: 33.43 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003184/0.2029, allocations: 471.5 kB / 429.1 MB, free: 32.97 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.203, allocations: 72.72 kB / 429.2 MB, free: 32.9 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.2032, allocations: 147.3 kB / 429.3 MB, free: 32.75 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.2033, allocations: 163.1 kB / 429.5 MB, free: 32.59 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.507e-05/0.2034, allocations: 16 kB / 429.5 MB, free: 32.58 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.066e-05/0.2034, allocations: 12 kB / 429.5 MB, free: 32.57 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.146e-05/0.2035, allocations: 111.6 kB / 429.6 MB, free: 32.46 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.225e-05/0.2036, allocations: 172.6 kB / 429.8 MB, free: 32.28 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.2038, allocations: 328.8 kB / 430.1 MB, free: 31.96 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2038, allocations: 4 kB / 430.1 MB, free: 31.96 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2038, allocations: 0 / 430.1 MB, free: 31.96 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.2038, allocations: 0 / 430.1 MB, free: 31.96 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0007609/0.2046, allocations: 0.6509 MB / 430.7 MB, free: 31.25 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.759e-05/0.2046, allocations: 8.031 kB / 430.8 MB, free: 31.25 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.703e-05/0.2047, allocations: 48.38 kB / 430.8 MB, free: 31.2 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003074/0.205, allocations: 363.7 kB / 431.2 MB, free: 30.81 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.75e-05/0.205, allocations: 76.62 kB / 431.2 MB, free: 30.72 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.112e-05/0.2051, allocations: 36.38 kB / 431.3 MB, free: 30.68 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000498/0.2056, allocations: 420 kB / 431.7 MB, free: 30.25 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.836e-05/0.2056, allocations: 19.78 kB / 431.7 MB, free: 30.23 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.484e-05/0.2057, allocations: 8 kB / 431.7 MB, free: 30.23 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.2057, allocations: 8 kB / 431.7 MB, free: 30.22 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004301/0.2061, allocations: 314.3 kB / 432 MB, free: 29.91 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001697/0.2078, allocations: 1.575 MB / 433.6 MB, free: 28.25 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000321/0.2082, allocations: 194.8 kB / 433.8 MB, free: 28.05 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.2083, allocations: 127.4 kB / 433.9 MB, free: 27.93 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.2084, allocations: 0 / 433.9 MB, free: 27.93 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.247e-05/0.2084, allocations: 42.56 kB / 433.9 MB, free: 27.88 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 1.423e-06/0.2084, allocations: 0 / 433.9 MB, free: 27.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005083/0.2089, allocations: 344.9 kB / 434.3 MB, free: 27.54 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.996e-05/0.2089, allocations: 59.41 kB / 434.3 MB, free: 27.46 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002673/0.2092, allocations: 401.5 kB / 434.7 MB, free: 27.07 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.2092, allocations: 29.7 kB / 434.8 MB, free: 27.03 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.784e-05/0.2093, allocations: 243.9 kB / 435 MB, free: 26.79 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.604e-05/0.2094, allocations: 82.75 kB / 435.1 MB, free: 26.7 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.112e-05/0.2094, allocations: 8 kB / 435.1 MB, free: 26.7 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.465e-05/0.2094, allocations: 354.7 kB / 435.4 MB, free: 26.34 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.2096, allocations: 100.7 kB / 435.5 MB, free: 26.24 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001762/0.2098, allocations: 216.9 kB / 435.7 MB, free: 25.98 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/0.211, allocations: 0.6405 MB / 436.4 MB, free: 25.29 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.211, allocations: 4 kB / 436.4 MB, free: 25.28 MB / 314.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004884/0.2115, allocations: 437.9 kB / 436.8 MB, free: 24.85 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.2115, allocations: 8 kB / 436.8 MB, free: 24.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2116, allocations: 7.984 kB / 436.8 MB, free: 24.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.2116, allocations: 4.469 kB / 436.8 MB, free: 24.83 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003497/0.2119, allocations: 107.8 kB / 436.9 MB, free: 24.72 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.2119, allocations: 4 kB / 436.9 MB, free: 24.72 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/0.2121, allocations: 51.45 kB / 437 MB, free: 24.67 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/0.2121, allocations: 23.98 kB / 437 MB, free: 24.64 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 (48): * Single equations (assignments): 48 * 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.0001582/0.2123, allocations: 203.5 kB / 437.2 MB, free: 24.44 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.192e-05/0.2123, allocations: 35.53 kB / 437.3 MB, free: 24.4 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004302/0.2128, allocations: 306.1 kB / 437.6 MB, free: 24.1 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.2128, allocations: 4 kB / 437.6 MB, free: 24.09 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.2128, allocations: 0 / 437.6 MB, free: 24.09 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.2128, allocations: 3.938 kB / 437.6 MB, free: 24.09 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002938/0.2131, allocations: 397.2 kB / 437.9 MB, free: 23.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2131, allocations: 0 / 437.9 MB, free: 23.65 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003744/0.2135, allocations: 71.89 kB / 438 MB, free: 23.58 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.2135, allocations: 7.938 kB / 438 MB, free: 23.57 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.297e-05/0.2135, allocations: 11.98 kB / 438 MB, free: 23.56 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2135, allocations: 0 / 438 MB, free: 23.56 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2135, allocations: 0 / 438 MB, free: 23.56 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005136/0.2141, allocations: 0.5062 MB / 438.5 MB, free: 23.04 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.357e-05/0.2141, allocations: 120.5 kB / 438.7 MB, free: 22.91 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.67e-05/0.2142, allocations: 12 kB / 438.7 MB, free: 22.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.2143, allocations: 11.98 kB / 438.7 MB, free: 22.88 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.634e-05/0.2144, allocations: 19.91 kB / 438.7 MB, free: 22.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.2144, allocations: 12 kB / 438.7 MB, free: 22.85 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001987/0.2146, allocations: 267.1 kB / 439 MB, free: 22.59 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2146, allocations: 4 kB / 439 MB, free: 22.59 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002675/0.2149, allocations: 59.84 kB / 439 MB, free: 22.53 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (R.Iout,R_Bias.Iout,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 (24): * Single equations (assignments): 24 * 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.812e-05/0.2149, allocations: 107.2 kB / 439.1 MB, free: 22.41 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000394/0.2153, allocations: 308.2 kB / 439.4 MB, free: 22.11 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2154, allocations: 0 / 439.4 MB, free: 22.11 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001547/0.2155, allocations: 123.9 kB / 439.6 MB, free: 21.99 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.2158, allocations: 39.61 kB / 439.6 MB, free: 21.95 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008368/0.2167, allocations: 0.958 MB / 440.6 MB, free: 20.96 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001852/0.2169, allocations: 0.8263 MB / 441.4 MB, free: 20.11 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001631/0.217, allocations: 79.16 kB / 441.5 MB, free: 20.03 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.249e-05/0.2171, allocations: 31.44 kB / 441.5 MB, free: 20 MB / 314.7 MB Notification: Performance of SimCode: time 4.51e-07/0.2171, allocations: 4 kB / 441.5 MB, free: 20 MB / 314.7 MB Notification: Performance of Templates: time 0.004424/0.2215, allocations: 2.175 MB / 443.7 MB, free: 17.83 MB / 314.7 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe 2>&1)