Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.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.Blocks.Examples.TestTrackingLL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 177.3 kB / 15.43 MB, free: 5.766 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.06876/0.06876, allocations: 10.99 MB / 27.17 MB, free: 1.551 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: 3.18 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.0008259/0.0008259, allocations: 95.5 kB / 309.7 MB, free: 1.172 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002671/0.0002671, allocations: 8 kB / 373.2 MB, free: 1.516 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1973, allocations: 52.84 MB / 426.1 MB, free: 35.99 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL): time 0.001385/0.1987, allocations: 1.533 MB / 427.6 MB, free: 34.45 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000769/0.1995, allocations: 0.7218 MB / 428.3 MB, free: 33.71 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.164e-05/0.1996, allocations: 11.88 kB / 428.3 MB, free: 33.7 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 8.662e-05/0.1997, allocations: 23.8 kB / 428.4 MB, free: 33.67 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 8.449e-05/0.1998, allocations: 35.06 kB / 428.4 MB, free: 33.64 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002636/0.2, allocations: 111.9 kB / 428.5 MB, free: 33.53 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001847/0.2002, allocations: 267.3 kB / 428.8 MB, free: 33.27 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.2003, allocations: 56.97 kB / 428.8 MB, free: 33.21 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.956e-05/0.2004, allocations: 115.4 kB / 428.9 MB, free: 33.1 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.2006, allocations: 99.47 kB / 429 MB, free: 33 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.8e-05/0.2006, allocations: 11.98 kB / 429 MB, free: 32.99 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.485e-05/0.2006, allocations: 8 kB / 429 MB, free: 32.98 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.908e-05/0.2007, allocations: 47.77 kB / 429.1 MB, free: 32.93 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.623e-05/0.2008, allocations: 117.1 kB / 429.2 MB, free: 32.81 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.2009, allocations: 217.2 kB / 429.4 MB, free: 32.6 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.2009, allocations: 4 kB / 429.4 MB, free: 32.6 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.2009, allocations: 0 / 429.4 MB, free: 32.6 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.201, allocations: 0 / 429.4 MB, free: 32.6 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0008052/0.2018, allocations: 0.5745 MB / 430 MB, free: 31.97 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.93e-05/0.2018, allocations: 12.03 kB / 430 MB, free: 31.96 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.792e-05/0.2019, allocations: 28.66 kB / 430 MB, free: 31.93 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002404/0.2021, allocations: 302.4 kB / 430.3 MB, free: 31.6 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.659e-05/0.2022, allocations: 113.2 kB / 430.4 MB, free: 31.46 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.904e-05/0.2022, allocations: 20 kB / 430.5 MB, free: 31.45 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004193/0.2026, allocations: 207.8 kB / 430.7 MB, free: 31.24 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.2027, allocations: 0 / 430.7 MB, free: 31.24 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.2027, allocations: 11.98 kB / 430.7 MB, free: 31.23 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.2027, allocations: 8 kB / 430.7 MB, free: 31.22 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004826/0.2032, allocations: 188.7 kB / 430.9 MB, free: 31.04 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.2043, allocations: 0.7384 MB / 431.6 MB, free: 30.25 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004531/0.2047, allocations: 202.4 kB / 431.8 MB, free: 30.04 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002618/0.205, allocations: 104.8 kB / 431.9 MB, free: 29.93 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.205, allocations: 4 kB / 431.9 MB, free: 29.93 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003695/0.2054, allocations: 187.1 kB / 432.1 MB, free: 29.73 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 1.452e-06/0.2054, allocations: 0 / 432.1 MB, free: 29.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008295/0.2063, allocations: 369.2 kB / 432.5 MB, free: 29.37 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.122e-05/0.2063, allocations: 51.41 kB / 432.5 MB, free: 29.3 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.2064, allocations: 232.9 kB / 432.7 MB, free: 29.07 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.2065, allocations: 29.7 kB / 432.8 MB, free: 29.03 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.927e-05/0.2065, allocations: 152.3 kB / 432.9 MB, free: 28.88 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.09e-05/0.2066, allocations: 51.34 kB / 433 MB, free: 28.83 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.295e-05/0.2066, allocations: 4 kB / 433 MB, free: 28.82 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.697e-05/0.2066, allocations: 338.8 kB / 433.3 MB, free: 28.48 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002673/0.2069, allocations: 111.9 kB / 433.4 MB, free: 28.38 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002668/0.2072, allocations: 139.2 kB / 433.5 MB, free: 28.23 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004883/0.2077, allocations: 259.5 kB / 433.8 MB, free: 27.96 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2077, allocations: 0 / 433.8 MB, free: 27.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006057/0.2083, allocations: 342.8 kB / 434.1 MB, free: 27.61 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.2083, allocations: 33.69 kB / 434.2 MB, free: 27.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.2083, allocations: 0 / 434.2 MB, free: 27.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.2084, allocations: 4 kB / 434.2 MB, free: 27.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/0.2096, allocations: 131.9 kB / 434.3 MB, free: 27.44 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001333/0.211, allocations: 2.689 MB / 437 MB, free: 24.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002167/0.2112, allocations: 48 kB / 437 MB, free: 24.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.2112, allocations: 8 kB / 437 MB, free: 24.42 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,LLtr.ts,$PRE.TSsignal.pulseStart,TSsignal.pulseStart,$PRE.TrackRef.T_start,TrackRef.T_start,$PRE.TrackRef.count,TrackRef.count,LL.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.751e-05/0.2113, allocations: 136 kB / 437.2 MB, free: 24.28 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/0.2113, allocations: 31.59 kB / 437.2 MB, free: 24.25 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005895/0.2119, allocations: 299.7 kB / 437.5 MB, free: 23.95 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.2119, allocations: 4 kB / 437.5 MB, free: 23.95 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-06/0.212, allocations: 0 / 437.5 MB, free: 23.95 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.212, allocations: 0 / 437.5 MB, free: 23.95 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008318/0.2128, allocations: 0.6815 MB / 438.2 MB, free: 23.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2128, allocations: 0 / 438.2 MB, free: 23.21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001136/0.214, allocations: 115.9 kB / 438.3 MB, free: 23.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.214, allocations: 0 / 438.3 MB, free: 23.09 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.214, allocations: 4 kB / 438.3 MB, free: 23.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.214, allocations: 3.984 kB / 438.3 MB, free: 23.09 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.214, allocations: 0 / 438.3 MB, free: 23.09 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007952/0.2148, allocations: 0.4911 MB / 438.8 MB, free: 22.58 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.898e-05/0.2148, allocations: 100.8 kB / 438.9 MB, free: 22.46 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/0.2149, allocations: 4 kB / 438.9 MB, free: 22.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002175/0.2151, allocations: 48 kB / 438.9 MB, free: 22.41 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.336e-05/0.2152, allocations: 19.97 kB / 439 MB, free: 22.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.2152, allocations: 4 kB / 439 MB, free: 22.39 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.474e-05/0.2153, allocations: 160.5 kB / 439.1 MB, free: 22.23 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2153, allocations: 0 / 439.1 MB, free: 22.23 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002441/0.2155, allocations: 43.91 kB / 439.2 MB, free: 22.18 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (LLaw.uF,LLtr.uF,LL.uF) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,LLtr.ts,TSsignal.pulseStart,TrackRef.T_start,TrackRef.count) * Number of discrete states: 1 (TrackRef.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 6.889e-05/0.2156, allocations: 119.2 kB / 439.3 MB, free: 22.06 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008253/0.2165, allocations: 323.7 kB / 439.6 MB, free: 21.73 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2165, allocations: 0 / 439.6 MB, free: 21.73 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000281/0.2168, allocations: 131.9 kB / 439.7 MB, free: 21.6 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.2171, allocations: 28.42 kB / 439.8 MB, free: 21.57 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007449/0.2178, allocations: 0.5201 MB / 440.3 MB, free: 21.03 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001216/0.2179, allocations: 0.748 MB / 441 MB, free: 20.26 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001124/0.2181, allocations: 25.95 kB / 441 MB, free: 20.23 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.067e-05/0.2181, allocations: 19.44 kB / 441.1 MB, free: 20.21 MB / 314.7 MB Notification: Performance of SimCode: time 2.7e-07/0.2181, allocations: 4 kB / 441.1 MB, free: 20.21 MB / 314.7 MB Notification: Performance of Templates: time 0.004209/0.2224, allocations: 2.273 MB / 443.3 MB, free: 17.94 MB / 314.7 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe 2>&1)