Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_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.TestPD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestPD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_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.0008409/0.000841, allocations: 177.6 kB / 15.43 MB, free: 6.207 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.05518/0.05518, allocations: 10.98 MB / 27.16 MB, free: 1.656 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.2/1.2, allocations: 225.7 MB / 256.1 MB, free: 3.16 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.0007842/0.0007843, allocations: 102.6 kB / 309.7 MB, free: 1.164 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002727/0.0002727, allocations: 8 kB / 373.2 MB, free: 1.531 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.1884, allocations: 52.85 MB / 426.1 MB, free: 36 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPD_bias): time 0.001527/0.19, allocations: 1.795 MB / 427.9 MB, free: 34.2 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.1911, allocations: 1.2 MB / 429.1 MB, free: 32.93 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.1913, allocations: 17.56 kB / 429.1 MB, free: 32.92 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001958/0.1915, allocations: 67.61 kB / 429.1 MB, free: 32.85 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 9.813e-05/0.1916, allocations: 67.67 kB / 429.2 MB, free: 32.79 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005515/0.1921, allocations: 271.5 kB / 429.5 MB, free: 32.52 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003552/0.1925, allocations: 0.5397 MB / 430 MB, free: 31.98 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.1926, allocations: 85.05 kB / 430.1 MB, free: 31.89 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001523/0.1928, allocations: 183.2 kB / 430.3 MB, free: 31.71 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000197/0.193, allocations: 223.1 kB / 430.5 MB, free: 31.5 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.3e-05/0.1931, allocations: 16 kB / 430.5 MB, free: 31.48 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.1932, allocations: 83.94 kB / 430.6 MB, free: 31.4 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.1933, allocations: 139.5 kB / 430.7 MB, free: 31.26 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.1934, allocations: 220.2 kB / 430.9 MB, free: 31.04 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002926/0.1937, allocations: 480.2 kB / 431.4 MB, free: 30.57 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1937, allocations: 4 kB / 431.4 MB, free: 30.57 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1938, allocations: 0 / 431.4 MB, free: 30.57 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.1938, allocations: 0 / 431.4 MB, free: 30.57 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.0008608/0.1946, allocations: 0.7591 MB / 432.2 MB, free: 29.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.641e-05/0.1947, allocations: 8.031 kB / 432.2 MB, free: 29.75 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.648e-05/0.1947, allocations: 60.19 kB / 432.2 MB, free: 29.69 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003581/0.1951, allocations: 425.6 kB / 432.7 MB, free: 29.23 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/0.1951, allocations: 33.38 kB / 432.7 MB, free: 29.2 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.411e-05/0.1952, allocations: 44.38 kB / 432.7 MB, free: 29.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005847/0.1958, allocations: 0.5009 MB / 433.2 MB, free: 28.63 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.1958, allocations: 7.906 kB / 433.2 MB, free: 28.62 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.054e-05/0.1959, allocations: 16 kB / 433.3 MB, free: 28.61 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.1959, allocations: 8 kB / 433.3 MB, free: 28.6 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004954/0.1964, allocations: 399.6 kB / 433.7 MB, free: 28.21 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00194/0.1983, allocations: 1.806 MB / 435.5 MB, free: 26.32 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00037/0.1987, allocations: 274.2 kB / 435.7 MB, free: 26.05 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001956/0.1989, allocations: 184.6 kB / 435.9 MB, free: 25.86 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.1989, allocations: 4 kB / 435.9 MB, free: 25.86 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002772/0.1992, allocations: 264.9 kB / 436.2 MB, free: 25.58 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 1.573e-06/0.1992, allocations: 0 / 436.2 MB, free: 25.58 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.0006847/0.1999, allocations: 0.5821 MB / 436.8 MB, free: 24.98 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.547e-05/0.2, allocations: 89.11 kB / 436.8 MB, free: 24.88 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003356/0.2003, allocations: 493.8 kB / 437.3 MB, free: 24.38 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.2003, allocations: 33.7 kB / 437.4 MB, free: 24.34 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.2004, allocations: 280 kB / 437.6 MB, free: 24.06 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.917e-05/0.2005, allocations: 142 kB / 437.8 MB, free: 23.92 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.644e-05/0.2005, allocations: 8 kB / 437.8 MB, free: 23.91 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.317e-05/0.2006, allocations: 374.7 kB / 438.1 MB, free: 23.54 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/0.2008, allocations: 161.1 kB / 438.3 MB, free: 23.38 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002468/0.2011, allocations: 329.8 kB / 438.6 MB, free: 22.99 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001603/0.2027, allocations: 1.074 MB / 439.7 MB, free: 21.82 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.2027, allocations: 0 / 439.7 MB, free: 21.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007381/0.2034, allocations: 0.7189 MB / 440.4 MB, free: 21.09 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.2035, allocations: 45.72 kB / 440.5 MB, free: 21.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.2035, allocations: 4 kB / 440.5 MB, free: 21.03 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.2035, allocations: 8 kB / 440.5 MB, free: 21.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004171/0.2039, allocations: 127.8 kB / 440.6 MB, free: 20.9 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.2039, allocations: 15.92 kB / 440.6 MB, free: 20.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/0.2041, allocations: 71.27 kB / 440.7 MB, free: 20.81 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.065e-05/0.2042, allocations: 28 kB / 440.7 MB, free: 20.79 MB / 314.7 MB Warning: Assuming fixed start value for the following 15 variables: processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] processNoCtrl.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real ProcessBias.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessBias.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessBias.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessBias.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] 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: 23 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,Disturbance.a,Disturbance.b,Disturbance.last,$PRE.Disturbance.nextEvent,Disturbance.nextEvent,Disturbance.nextEventScaled,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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 1 * 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.0002165/0.2044, allocations: 294.8 kB / 441 MB, free: 20.49 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.051e-05/0.2045, allocations: 51.34 kB / 441 MB, free: 20.44 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006148/0.2051, allocations: 0.5218 MB / 441.6 MB, free: 19.91 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.2051, allocations: 4 kB / 441.6 MB, free: 19.9 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.2051, allocations: 0 / 441.6 MB, free: 19.9 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.2051, allocations: 4 kB / 441.6 MB, free: 19.9 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003012/0.2054, allocations: 480.9 kB / 442 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.2054, allocations: 0 / 442 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004419/0.2059, allocations: 83.89 kB / 442.1 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2059, allocations: 0 / 442.1 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.251e-05/0.2059, allocations: 19.98 kB / 442.1 MB, free: 19.28 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.2059, allocations: 4 kB / 442.2 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2059, allocations: 0 / 442.2 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007263/0.2067, allocations: 0.7208 MB / 442.9 MB, free: 18.53 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.345e-05/0.2067, allocations: 124.6 kB / 443 MB, free: 18.39 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.595e-05/0.2068, allocations: 12 kB / 443 MB, free: 18.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.2069, allocations: 23.92 kB / 443 MB, free: 18.36 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.188e-05/0.207, allocations: 19.97 kB / 443.1 MB, free: 18.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.658e-05/0.207, allocations: 11.98 kB / 443.1 MB, free: 18.32 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002322/0.2073, allocations: 346.8 kB / 443.4 MB, free: 17.98 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2073, allocations: 0 / 443.4 MB, free: 17.98 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002996/0.2076, allocations: 115.8 kB / 443.5 MB, free: 17.87 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 17 (R.Fin,R_Bias.Fin,ProcessCtrl.Y[3],ProcessCtrl.Y[4],ProcessCtrl.U[2],ProcessCtrl.U[3],ProcessCtrl.w,processNoCtrl.Y[3],processNoCtrl.Y[4],processNoCtrl.U[2],processNoCtrl.U[3],processNoCtrl.w,ProcessBias.Y[3],ProcessBias.Y[4],ProcessBias.U[2],ProcessBias.U[3],ProcessBias.w) * Number of discrete variables: 6 ($whenCondition1,Disturbance.a,Disturbance.b,Disturbance.last,Disturbance.nextEvent,Disturbance.nextEventScaled) * Number of discrete states: 6 (Disturbance.nextEvent,Disturbance.last,Disturbance.nextEventScaled,Disturbance.b,Disturbance.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001351/0.2077, allocations: 136.1 kB / 443.6 MB, free: 17.73 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005684/0.2083, allocations: 0.5543 MB / 444.2 MB, free: 17.16 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.2083, allocations: 0 / 444.2 MB, free: 17.16 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002366/0.2086, allocations: 275.2 kB / 444.5 MB, free: 16.88 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.2088, allocations: 50.89 kB / 444.5 MB, free: 16.83 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009753/0.2098, allocations: 1.322 MB / 445.8 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002162/0.21, allocations: 0.8859 MB / 446.7 MB, free: 14.57 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002179/0.2103, allocations: 112.1 kB / 446.8 MB, free: 14.45 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.904e-05/0.2103, allocations: 31.44 kB / 446.9 MB, free: 14.42 MB / 314.7 MB Notification: Performance of SimCode: time 2.01e-07/0.2104, allocations: 0 / 446.9 MB, free: 14.42 MB / 314.7 MB Notification: Performance of Templates: time 0.005961/0.2163, allocations: 3.595 MB / 450.5 MB, free: 10.84 MB / 314.7 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe 2>&1)