Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_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.TestPID_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestPID_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_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.0008608/0.0008608, allocations: 175.6 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.05489/0.05489, allocations: 10.99 MB / 27.17 MB, free: 1.484 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.22/1.22, 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.0007777/0.0007777, allocations: 94.22 kB / 309.7 MB, free: 1.184 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002655/0.0002655, allocations: 8 kB / 373.2 MB, free: 1.531 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.1893, allocations: 52.84 MB / 426.1 MB, free: 36 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_bias): time 0.001488/0.1908, allocations: 1.808 MB / 427.9 MB, free: 34.18 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008515/0.1917, allocations: 0.8145 MB / 428.7 MB, free: 33.33 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.1918, allocations: 23.81 kB / 428.7 MB, free: 33.3 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001376/0.192, allocations: 35.66 kB / 428.7 MB, free: 33.27 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001478/0.1921, allocations: 35.73 kB / 428.8 MB, free: 33.23 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004034/0.1925, allocations: 287.5 kB / 429.1 MB, free: 32.95 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003388/0.1929, allocations: 0.5392 MB / 429.6 MB, free: 32.41 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.193, allocations: 81.06 kB / 429.7 MB, free: 32.33 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.1932, allocations: 187.1 kB / 429.9 MB, free: 32.15 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001619/0.1933, allocations: 187 kB / 430 MB, free: 31.96 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.852e-05/0.1934, allocations: 12 kB / 430.1 MB, free: 31.95 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.482e-05/0.1934, allocations: 16 kB / 430.1 MB, free: 31.94 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.412e-05/0.1935, allocations: 123.6 kB / 430.2 MB, free: 31.82 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.903e-05/0.1936, allocations: 200.4 kB / 430.4 MB, free: 31.61 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.1938, allocations: 380.5 kB / 430.8 MB, free: 31.24 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1939, allocations: 4 kB / 430.8 MB, free: 31.24 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1939, allocations: 4 kB / 430.8 MB, free: 31.23 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.339e-06/0.1939, allocations: 0 / 430.8 MB, free: 31.23 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0008734/0.1947, allocations: 0.6978 MB / 431.5 MB, free: 30.48 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.1948, allocations: 12.03 kB / 431.5 MB, free: 30.47 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.602e-05/0.1949, allocations: 52.28 kB / 431.5 MB, free: 30.42 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003989/0.1953, allocations: 405.9 kB / 431.9 MB, free: 29.98 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.189e-05/0.1953, allocations: 84.97 kB / 432 MB, free: 29.89 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.306e-05/0.1954, allocations: 48.27 kB / 432.1 MB, free: 29.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005288/0.1959, allocations: 461.2 kB / 432.5 MB, free: 29.37 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.196, allocations: 11.92 kB / 432.5 MB, free: 29.36 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.791e-05/0.196, allocations: 20 kB / 432.5 MB, free: 29.34 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.196, allocations: 8 kB / 432.5 MB, free: 29.33 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004804/0.1965, allocations: 359.7 kB / 432.9 MB, free: 28.98 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001897/0.1984, allocations: 1.709 MB / 434.6 MB, free: 27.19 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006942/0.1991, allocations: 299.3 kB / 434.9 MB, free: 26.89 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/0.1993, allocations: 183.2 kB / 435.1 MB, free: 26.71 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.1994, allocations: 4.281 kB / 435.1 MB, free: 26.71 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.238e-05/0.1994, allocations: 46.72 kB / 435.1 MB, free: 26.65 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 1.292e-06/0.1994, allocations: 0 / 435.1 MB, free: 26.65 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.0006255/0.2, allocations: 451.2 kB / 435.6 MB, free: 26.21 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.72e-05/0.2, allocations: 55.41 kB / 435.6 MB, free: 26.14 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002957/0.2003, allocations: 425.8 kB / 436 MB, free: 25.71 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.2004, allocations: 33.64 kB / 436.1 MB, free: 25.68 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.2005, allocations: 247.9 kB / 436.3 MB, free: 25.43 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.428e-05/0.2005, allocations: 126.2 kB / 436.4 MB, free: 25.3 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.506e-05/0.2005, allocations: 8 kB / 436.4 MB, free: 25.3 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.126e-05/0.2006, allocations: 358.8 kB / 436.8 MB, free: 24.94 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001949/0.2008, allocations: 132.9 kB / 436.9 MB, free: 24.8 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002248/0.201, allocations: 254.8 kB / 437.2 MB, free: 24.51 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001813/0.2029, allocations: 0.8093 MB / 438 MB, free: 23.65 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.2029, allocations: 4 kB / 438 MB, free: 23.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0006144/0.2035, allocations: 0.5079 MB / 438.5 MB, free: 23.13 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.2035, allocations: 9.031 kB / 438.5 MB, free: 23.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.2035, allocations: 4 kB / 438.5 MB, free: 23.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.2036, allocations: 11.98 kB / 438.5 MB, free: 23.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004418/0.204, allocations: 119.8 kB / 438.6 MB, free: 22.99 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.204, allocations: 11.94 kB / 438.6 MB, free: 22.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.2042, allocations: 59.7 kB / 438.7 MB, free: 22.92 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.539e-05/0.2042, allocations: 23.98 kB / 438.7 MB, free: 22.89 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 (61): * Single equations (assignments): 61 * 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.0001748/0.2044, allocations: 195.6 kB / 438.9 MB, free: 22.7 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.845e-05/0.2045, allocations: 51.38 kB / 439 MB, free: 22.64 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005612/0.205, allocations: 414 kB / 439.4 MB, free: 22.23 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.2051, allocations: 4 kB / 439.4 MB, free: 22.23 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2051, allocations: 4 kB / 439.4 MB, free: 22.22 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.2051, allocations: 3.984 kB / 439.4 MB, free: 22.22 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003395/0.2054, allocations: 445.1 kB / 439.8 MB, free: 21.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2054, allocations: 0 / 439.8 MB, free: 21.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004931/0.2059, allocations: 99.88 kB / 439.9 MB, free: 21.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.87e-06/0.2059, allocations: 7.938 kB / 439.9 MB, free: 21.63 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/0.206, allocations: 16 kB / 439.9 MB, free: 21.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.206, allocations: 0 / 439.9 MB, free: 21.61 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.206, allocations: 3.984 kB / 439.9 MB, free: 21.61 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006484/0.2066, allocations: 0.621 MB / 440.6 MB, free: 20.97 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.137e-05/0.2067, allocations: 132.4 kB / 440.7 MB, free: 20.82 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.343e-05/0.2068, allocations: 11.94 kB / 440.7 MB, free: 20.81 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.2069, allocations: 15.98 kB / 440.7 MB, free: 20.8 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.468e-05/0.207, allocations: 23.97 kB / 440.7 MB, free: 20.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.207, allocations: 7.984 kB / 440.8 MB, free: 20.77 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001975/0.2072, allocations: 291.1 kB / 441 MB, free: 20.48 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2072, allocations: 4 kB / 441 MB, free: 20.48 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002831/0.2075, allocations: 75.84 kB / 441.1 MB, free: 20.41 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 13 (R.Iaction,R.Fder,R_Bias.Iaction,R_Bias.Fder,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 (37): * Single equations (assignments): 37 * 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.754e-05/0.2076, allocations: 111.2 kB / 441.2 MB, free: 20.29 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004752/0.2081, allocations: 380.2 kB / 441.6 MB, free: 19.92 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2081, allocations: 0 / 441.6 MB, free: 19.92 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001992/0.2083, allocations: 175.5 kB / 441.8 MB, free: 19.75 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.2086, allocations: 45.55 kB / 441.8 MB, free: 19.7 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.2096, allocations: 1.148 MB / 443 MB, free: 18.52 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.2099, allocations: 0.8625 MB / 443.8 MB, free: 17.64 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002238/0.2101, allocations: 83.36 kB / 443.9 MB, free: 17.55 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.342e-05/0.2102, allocations: 35.44 kB / 443.9 MB, free: 17.52 MB / 314.7 MB Notification: Performance of SimCode: time 3.2e-07/0.2102, allocations: 3.938 kB / 443.9 MB, free: 17.52 MB / 314.7 MB Notification: Performance of Templates: time 0.005172/0.2154, allocations: 2.635 MB / 446.6 MB, free: 14.89 MB / 314.7 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe 2>&1)