Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_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.TestP_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestP_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_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.0008901/0.0008902, allocations: 176.5 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.05675/0.05675, allocations: 10.98 MB / 27.16 MB, free: 1.73 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.208/1.208, allocations: 225.7 MB / 256.1 MB, free: 1.438 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.0007228/0.0007228, allocations: 101.2 kB / 309.7 MB, free: 2.801 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002847/0.0002847, allocations: 8 kB / 373.2 MB, free: 3.316 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2115, allocations: 52.83 MB / 426 MB, free: 49.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_bias): time 0.00168/0.2132, allocations: 1.728 MB / 427.8 MB, free: 49.24 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000553/0.2138, allocations: 388.9 kB / 428.2 MB, free: 49.2 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.2139, allocations: 13.97 kB / 428.2 MB, free: 49.19 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001434/0.214, allocations: 41.56 kB / 428.2 MB, free: 49.17 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 8.023e-05/0.2141, allocations: 20.62 kB / 428.2 MB, free: 49.16 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003634/0.2145, allocations: 180.2 kB / 428.4 MB, free: 49.15 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003379/0.2149, allocations: 432.1 kB / 428.8 MB, free: 49.11 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.215, allocations: 82.73 kB / 428.9 MB, free: 49.11 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.2151, allocations: 136.1 kB / 429 MB, free: 49.07 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.2153, allocations: 150.2 kB / 429.2 MB, free: 49.04 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.988e-05/0.2153, allocations: 16.47 kB / 429.2 MB, free: 49.03 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.012e-05/0.2154, allocations: 13.06 kB / 429.2 MB, free: 49.03 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.986e-05/0.2155, allocations: 102 kB / 429.3 MB, free: 49.02 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.186e-05/0.2156, allocations: 169.2 kB / 429.5 MB, free: 48.92 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000198/0.2158, allocations: 319.6 kB / 429.8 MB, free: 48.85 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2158, allocations: 4.188 kB / 429.8 MB, free: 48.85 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2158, allocations: 0.5312 kB / 429.8 MB, free: 48.85 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.2158, allocations: 0 / 429.8 MB, free: 48.85 MB / 346.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.0007414/0.2166, allocations: 0.6346 MB / 430.4 MB, free: 48.37 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.024e-05/0.2166, allocations: 9.875 kB / 430.4 MB, free: 48.37 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.828e-05/0.2167, allocations: 49.91 kB / 430.5 MB, free: 48.35 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003199/0.217, allocations: 359 kB / 430.8 MB, free: 48.1 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.217, allocations: 25.72 kB / 430.9 MB, free: 48.09 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.753e-05/0.2171, allocations: 30.88 kB / 430.9 MB, free: 48.09 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005029/0.2176, allocations: 406.6 kB / 431.3 MB, free: 48.01 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.2176, allocations: 6.844 kB / 431.3 MB, free: 48.01 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.646e-05/0.2176, allocations: 19.59 kB / 431.3 MB, free: 48 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-06/0.2176, allocations: 9.344 kB / 431.3 MB, free: 48 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004391/0.2181, allocations: 298 kB / 431.6 MB, free: 47.99 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00163/0.2197, allocations: 1.51 MB / 433.1 MB, free: 47.26 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003304/0.2201, allocations: 186.5 kB / 433.3 MB, free: 47.23 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001622/0.2202, allocations: 117.2 kB / 433.4 MB, free: 47.22 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.2203, allocations: 0 / 433.4 MB, free: 47.22 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.341e-05/0.2203, allocations: 42.55 kB / 433.5 MB, free: 47.18 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 1.022e-06/0.2203, allocations: 0 / 433.5 MB, free: 47.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=21): time 0.000504/0.2208, allocations: 331 kB / 433.8 MB, free: 47.12 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.366e-05/0.2208, allocations: 55.98 kB / 433.8 MB, free: 47.06 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000288/0.2211, allocations: 390.3 kB / 434.2 MB, free: 46.95 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.2212, allocations: 30.2 kB / 434.3 MB, free: 46.92 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.191e-05/0.2213, allocations: 237.6 kB / 434.5 MB, free: 46.78 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.058e-05/0.2213, allocations: 86.95 kB / 434.6 MB, free: 46.73 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.039e-05/0.2213, allocations: 9.375 kB / 434.6 MB, free: 46.73 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.462e-05/0.2214, allocations: 356.7 kB / 434.9 MB, free: 46.41 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/0.2215, allocations: 93.19 kB / 435 MB, free: 46.41 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001796/0.2217, allocations: 215 kB / 435.2 MB, free: 46.27 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/0.2229, allocations: 0.5823 MB / 435.8 MB, free: 46.13 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.2229, allocations: 3.031 kB / 435.8 MB, free: 46.13 MB / 346.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005367/0.2235, allocations: 418.8 kB / 436.2 MB, free: 46.05 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.2235, allocations: 11.7 kB / 436.2 MB, free: 46.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2235, allocations: 3.719 kB / 436.2 MB, free: 46.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.2235, allocations: 5.312 kB / 436.2 MB, free: 46.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002993/0.2238, allocations: 95.41 kB / 436.3 MB, free: 46.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.2238, allocations: 10.33 kB / 436.4 MB, free: 46.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/0.224, allocations: 47.03 kB / 436.4 MB, free: 46.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.224, allocations: 15.22 kB / 436.4 MB, free: 46.02 MB / 346.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 (45): * Single equations (assignments): 45 * 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.0001591/0.2242, allocations: 195.3 kB / 436.6 MB, free: 45.89 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.257e-05/0.2242, allocations: 42.59 kB / 436.6 MB, free: 45.87 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004219/0.2247, allocations: 302.7 kB / 436.9 MB, free: 45.82 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.2247, allocations: 3.125 kB / 436.9 MB, free: 45.82 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/0.2247, allocations: 0 / 436.9 MB, free: 45.82 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.2247, allocations: 1.125 kB / 436.9 MB, free: 45.82 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002995/0.225, allocations: 379.7 kB / 437.3 MB, free: 45.62 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.225, allocations: 0.5625 kB / 437.3 MB, free: 45.62 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002971/0.2253, allocations: 72.27 kB / 437.4 MB, free: 45.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.2253, allocations: 3.938 kB / 437.4 MB, free: 45.61 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.2253, allocations: 8.719 kB / 437.4 MB, free: 45.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.2254, allocations: 0 / 437.4 MB, free: 45.61 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.2254, allocations: 4.734 kB / 437.4 MB, free: 45.61 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005483/0.2259, allocations: 483.6 kB / 437.9 MB, free: 45.45 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.883e-05/0.226, allocations: 122.6 kB / 438 MB, free: 45.33 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.596e-05/0.226, allocations: 8.719 kB / 438 MB, free: 45.33 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.2262, allocations: 11.95 kB / 438 MB, free: 45.33 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.87e-05/0.2262, allocations: 21.2 kB / 438 MB, free: 45.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.2262, allocations: 8.094 kB / 438 MB, free: 45.32 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002154/0.2265, allocations: 271.4 kB / 438.3 MB, free: 45.23 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2265, allocations: 0 / 438.3 MB, free: 45.23 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002823/0.2268, allocations: 60.34 kB / 438.4 MB, free: 45.23 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (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 (23): * Single equations (assignments): 23 * 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 8.092e-05/0.2268, allocations: 110.9 kB / 438.5 MB, free: 45.14 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004649/0.2273, allocations: 277 kB / 438.7 MB, free: 45.12 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2273, allocations: 0 / 438.7 MB, free: 45.12 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001734/0.2275, allocations: 122.4 kB / 438.9 MB, free: 45.11 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.2278, allocations: 37.12 kB / 438.9 MB, free: 45.1 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008975/0.2287, allocations: 0.9275 MB / 439.8 MB, free: 44.58 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002199/0.229, allocations: 0.8293 MB / 440.7 MB, free: 43.88 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001795/0.2291, allocations: 71.52 kB / 440.7 MB, free: 43.87 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.529e-05/0.2292, allocations: 26.75 kB / 440.8 MB, free: 43.86 MB / 346.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2292, allocations: 4 kB / 440.8 MB, free: 43.86 MB / 346.7 MB Notification: Performance of Templates: time 0.005072/0.2343, allocations: 2.093 MB / 442.9 MB, free: 43.75 MB / 346.7 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe 2>&1)