Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.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_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestP_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001035/0.001036, allocations: 181.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.05502/0.05502, allocations: 10.99 MB / 27.17 MB, free: 1.582 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.193/1.193, allocations: 225.7 MB / 256 MB, free: 3.191 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.0007443/0.0007443, allocations: 94.61 kB / 309.7 MB, free: 1.172 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002598/0.0002598, allocations: 8 kB / 373.2 MB, free: 1.527 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.1849, allocations: 52.84 MB / 426.1 MB, free: 35.99 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_tracking): time 0.001839/0.1868, allocations: 1.967 MB / 428 MB, free: 34.01 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001572/0.1883, allocations: 1.706 MB / 429.7 MB, free: 32.21 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.1885, allocations: 15.88 kB / 429.7 MB, free: 32.19 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005111/0.189, allocations: 191.4 kB / 429.9 MB, free: 32 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000244/0.1893, allocations: 147.4 kB / 430.1 MB, free: 31.86 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005981/0.1899, allocations: 327.4 kB / 430.4 MB, free: 31.54 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003302/0.1902, allocations: 0.507 MB / 430.9 MB, free: 31.03 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.1903, allocations: 76.94 kB / 431 MB, free: 30.95 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001512/0.1905, allocations: 191 kB / 431.2 MB, free: 30.77 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001663/0.1907, allocations: 195.1 kB / 431.4 MB, free: 30.57 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.665e-05/0.1907, allocations: 12 kB / 431.4 MB, free: 30.56 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.1909, allocations: 115.8 kB / 431.5 MB, free: 30.45 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.175e-05/0.191, allocations: 107.6 kB / 431.6 MB, free: 30.34 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.1911, allocations: 208.4 kB / 431.8 MB, free: 30.13 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003151/0.1914, allocations: 476.3 kB / 432.3 MB, free: 29.67 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1914, allocations: 0 / 432.3 MB, free: 29.67 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1915, allocations: 4 kB / 432.3 MB, free: 29.66 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.1915, allocations: 0 / 432.3 MB, free: 29.66 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.000802/0.1923, allocations: 0.7561 MB / 433 MB, free: 28.85 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.846e-05/0.1923, allocations: 12.03 kB / 433 MB, free: 28.84 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.655e-05/0.1924, allocations: 56.28 kB / 433.1 MB, free: 28.78 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003688/0.1927, allocations: 410.4 kB / 433.5 MB, free: 28.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/0.1928, allocations: 20.94 kB / 433.5 MB, free: 28.32 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.217e-05/0.1928, allocations: 32.12 kB / 433.5 MB, free: 28.29 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004638/0.1933, allocations: 379.6 kB / 433.9 MB, free: 27.89 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.1933, allocations: 7.906 kB / 433.9 MB, free: 27.89 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.662e-05/0.1934, allocations: 12 kB / 433.9 MB, free: 27.88 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.1934, allocations: 4 kB / 433.9 MB, free: 27.87 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003915/0.1938, allocations: 262 kB / 434.2 MB, free: 27.62 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001398/0.1952, allocations: 1.391 MB / 435.6 MB, free: 26.14 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004199/0.1956, allocations: 223.5 kB / 435.8 MB, free: 25.92 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001652/0.1958, allocations: 125 kB / 435.9 MB, free: 25.79 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.1958, allocations: 7.984 kB / 435.9 MB, free: 25.79 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002698/0.1961, allocations: 217.9 kB / 436.1 MB, free: 25.55 MB / 314.7 MB Notification: Performance of pre-optimization done (n=28): time 1.512e-06/0.1961, allocations: 0 / 436.1 MB, free: 25.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=28): time 0.0006669/0.1968, allocations: 486.7 kB / 436.6 MB, free: 25.07 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.1968, allocations: 110.8 kB / 436.7 MB, free: 24.94 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003574/0.1972, allocations: 489.8 kB / 437.2 MB, free: 24.45 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.1972, allocations: 29.7 kB / 437.2 MB, free: 24.41 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.1973, allocations: 248.2 kB / 437.5 MB, free: 24.17 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.646e-05/0.1974, allocations: 94.69 kB / 437.6 MB, free: 24.07 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.346e-05/0.1974, allocations: 8 kB / 437.6 MB, free: 24.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.14e-05/0.1975, allocations: 358.8 kB / 437.9 MB, free: 23.71 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.1976, allocations: 120.4 kB / 438 MB, free: 23.59 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001979/0.1979, allocations: 228.2 kB / 438.3 MB, free: 23.32 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/0.199, allocations: 0.7166 MB / 439 MB, free: 22.54 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.199, allocations: 0 / 439 MB, free: 22.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0005634/0.1996, allocations: 0.4981 MB / 439.5 MB, free: 22.03 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/0.1996, allocations: 41.62 kB / 439.5 MB, free: 21.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.1996, allocations: 4 kB / 439.5 MB, free: 21.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.1996, allocations: 4.406 kB / 439.5 MB, free: 21.97 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002557/0.1999, allocations: 83.84 kB / 439.6 MB, free: 21.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.1999, allocations: 11.98 kB / 439.6 MB, free: 21.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.2001, allocations: 43.61 kB / 439.7 MB, free: 21.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/0.2001, allocations: 20 kB / 439.7 MB, free: 21.82 MB / 314.7 MB Warning: Assuming fixed start value for the following 6 variables: process.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] process.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] process.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real processTrack.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processTrack.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] processTrack.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: 14 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition2,$PRE.TSsignal.combiTimeTable.nextTimeEvent,$whenCondition1,R_track.ts,TSsignal.combiTimeTable.nextTimeEvent,$PRE.TSsignal.combiTimeTable.nextTimeEventScaled,TSsignal.combiTimeTable.nextTimeEventScaled,TrackRef.a,TrackRef.b,TrackRef.last,$PRE.TrackRef.nextEvent,TrackRef.nextEvent,TrackRef.nextEventScaled,R.TS_in,R_track.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 (44): * Single equations (assignments): 43 * 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.0001989/0.2003, allocations: 236.5 kB / 439.9 MB, free: 21.57 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.093e-05/0.2004, allocations: 51.38 kB / 440 MB, free: 21.52 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005657/0.201, allocations: 431.8 kB / 440.4 MB, free: 21.08 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.201, allocations: 7.938 kB / 440.4 MB, free: 21.07 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.201, allocations: 0 / 440.4 MB, free: 21.07 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.201, allocations: 3.984 kB / 440.4 MB, free: 21.07 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/0.2013, allocations: 417.2 kB / 440.8 MB, free: 20.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.2013, allocations: 0 / 440.8 MB, free: 20.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002285/0.2015, allocations: 51.91 kB / 440.9 MB, free: 20.56 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.2015, allocations: 3.938 kB / 440.9 MB, free: 20.56 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.486e-05/0.2015, allocations: 8 kB / 440.9 MB, free: 20.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.2015, allocations: 4 kB / 440.9 MB, free: 20.55 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2015, allocations: 0 / 440.9 MB, free: 20.55 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007488/0.2023, allocations: 0.5849 MB / 441.5 MB, free: 19.94 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.664e-05/0.2024, allocations: 132.5 kB / 441.6 MB, free: 19.79 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.375e-05/0.2024, allocations: 8 kB / 441.6 MB, free: 19.78 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.2026, allocations: 28.05 kB / 441.6 MB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.969e-05/0.2026, allocations: 19.97 kB / 441.6 MB, free: 19.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.367e-05/0.2027, allocations: 12 kB / 441.7 MB, free: 19.72 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002478/0.2029, allocations: 339.1 kB / 442 MB, free: 19.39 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2029, allocations: 0 / 442 MB, free: 19.39 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003033/0.2032, allocations: 103.8 kB / 442.1 MB, free: 19.29 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (process.Y[3],process.U[2],process.w,processTrack.Y[3],processTrack.U[2],processTrack.w) * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,R_track.ts,TSsignal.combiTimeTable.nextTimeEvent,TSsignal.combiTimeTable.nextTimeEventScaled,TrackRef.a,TrackRef.b,TrackRef.last,TrackRef.nextEvent,TrackRef.nextEventScaled) * Number of discrete states: 8 (TrackRef.nextEvent,TrackRef.last,TrackRef.nextEventScaled,TrackRef.b,TrackRef.a,$whenCondition1,TSsignal.combiTimeTable.nextTimeEventScaled,TSsignal.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0008325/0.2041, allocations: 0.5046 MB / 442.6 MB, free: 18.92 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004852/0.2046, allocations: 420.2 kB / 443 MB, free: 18.5 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2046, allocations: 0 / 443 MB, free: 18.5 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002199/0.2048, allocations: 228 kB / 443.2 MB, free: 18.26 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.2052, allocations: 69.94 kB / 443.3 MB, free: 18.2 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009155/0.2061, allocations: 0.972 MB / 444.3 MB, free: 17.19 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001926/0.2063, allocations: 0.8461 MB / 445.1 MB, free: 16.31 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000166/0.2065, allocations: 75.23 kB / 445.2 MB, free: 16.24 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.53e-05/0.2066, allocations: 35.44 kB / 445.2 MB, free: 16.21 MB / 314.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2066, allocations: 0 / 445.2 MB, free: 16.21 MB / 314.7 MB Notification: Performance of Templates: time 0.006818/0.2134, allocations: 4.329 MB / 449.5 MB, free: 11.91 MB / 314.7 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.pipe 2>&1)