Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.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.TestAntiWindupBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009653/0.0009654, allocations: 176.4 kB / 15.43 MB, free: 6.203 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.05598/0.05598, allocations: 10.98 MB / 27.16 MB, free: 1.727 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.212/1.212, allocations: 225.7 MB / 256.1 MB, free: 1.484 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.000929/0.000929, allocations: 100.6 kB / 309.7 MB, free: 2.855 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002798/0.0002798, allocations: 8 kB / 373.2 MB, free: 3.355 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2104, allocations: 52.83 MB / 426.1 MB, free: 49.43 MB / 346.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.001578/0.212, allocations: 1.543 MB / 427.6 MB, free: 49.36 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.2131, allocations: 0.8961 MB / 428.5 MB, free: 49.09 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.2132, allocations: 17.28 kB / 428.5 MB, free: 49.08 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001482/0.2134, allocations: 45.16 kB / 428.6 MB, free: 49.07 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 9.135e-05/0.2135, allocations: 52.28 kB / 428.6 MB, free: 49.05 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004059/0.2139, allocations: 155.5 kB / 428.8 MB, free: 49.05 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002075/0.2141, allocations: 265.1 kB / 429 MB, free: 49.01 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.2142, allocations: 44.75 kB / 429.1 MB, free: 49.01 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.361e-05/0.2143, allocations: 103.9 kB / 429.2 MB, free: 48.98 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.2145, allocations: 109.8 kB / 429.3 MB, free: 48.95 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.475e-05/0.2145, allocations: 10 kB / 429.3 MB, free: 48.95 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.2146, allocations: 79.58 kB / 429.4 MB, free: 48.95 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.919e-05/0.2147, allocations: 47.25 kB / 429.4 MB, free: 48.94 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.875e-05/0.2148, allocations: 124.6 kB / 429.5 MB, free: 48.86 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.215, allocations: 257.2 kB / 429.8 MB, free: 48.81 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.215, allocations: 0.5312 kB / 429.8 MB, free: 48.81 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.215, allocations: 0 / 429.8 MB, free: 48.81 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.2151, allocations: 1.375 kB / 429.8 MB, free: 48.81 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0005392/0.2156, allocations: 0.5406 MB / 430.3 MB, free: 48.33 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.972e-05/0.2156, allocations: 8.719 kB / 430.3 MB, free: 48.33 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.772e-05/0.2157, allocations: 41.19 kB / 430.4 MB, free: 48.31 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002865/0.216, allocations: 332.3 kB / 430.7 MB, free: 48.07 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.053e-05/0.2161, allocations: 154.3 kB / 430.8 MB, free: 47.91 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.677e-05/0.2161, allocations: 22.97 kB / 430.9 MB, free: 47.91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003023/0.2164, allocations: 208.7 kB / 431.1 MB, free: 47.86 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.2165, allocations: 3.938 kB / 431.1 MB, free: 47.86 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/0.2165, allocations: 10.62 kB / 431.1 MB, free: 47.86 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.2165, allocations: 7.375 kB / 431.1 MB, free: 47.86 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001755/0.2167, allocations: 108.9 kB / 431.2 MB, free: 47.86 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009245/0.2176, allocations: 0.7414 MB / 431.9 MB, free: 47.47 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001961/0.2178, allocations: 109.6 kB / 432 MB, free: 47.45 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.217e-05/0.2179, allocations: 73.77 kB / 432.1 MB, free: 47.44 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.2179, allocations: 0 / 432.1 MB, free: 47.44 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001846/0.2181, allocations: 142.8 kB / 432.3 MB, free: 47.36 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.764e-06/0.2181, allocations: 1.578 kB / 432.3 MB, free: 47.36 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003808/0.2185, allocations: 293.4 kB / 432.5 MB, free: 47.27 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.2185, allocations: 90.66 kB / 432.6 MB, free: 47.18 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.2187, allocations: 275.9 kB / 432.9 MB, free: 47.07 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.2188, allocations: 29.61 kB / 432.9 MB, free: 47.04 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.277e-05/0.2188, allocations: 182.6 kB / 433.1 MB, free: 46.92 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.2189, allocations: 49.47 kB / 433.2 MB, free: 46.89 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.035e-05/0.2189, allocations: 10.19 kB / 433.2 MB, free: 46.89 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.941e-05/0.219, allocations: 340.7 kB / 433.5 MB, free: 46.57 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.233e-05/0.219, allocations: 62 kB / 433.6 MB, free: 46.57 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.2192, allocations: 158.1 kB / 433.7 MB, free: 46.46 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000208/0.2194, allocations: 279.6 kB / 434 MB, free: 46.29 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.2194, allocations: 7.094 kB / 434 MB, free: 46.29 MB / 346.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003364/0.2197, allocations: 332.2 kB / 434.3 MB, free: 46.19 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/0.2198, allocations: 35.89 kB / 434.4 MB, free: 46.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.2198, allocations: 7.781 kB / 434.4 MB, free: 46.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.2198, allocations: 5.156 kB / 434.4 MB, free: 46.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/0.22, allocations: 53.48 kB / 434.4 MB, free: 46.15 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.22, allocations: 12.52 kB / 434.4 MB, free: 46.15 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.2201, allocations: 27.62 kB / 434.5 MB, free: 46.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.2202, allocations: 11.88 kB / 434.5 MB, free: 46.14 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,signal.a,signal.b,signal.last,$PRE.signal.nextEvent,signal.nextEvent,signal.nextEventScaled,complexPoles.TS_in,LeadLAG.TS_in,FirstOrder.TS_in,Integrator.TS_in,Gain.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * 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.0001104/0.2203, allocations: 181.9 kB / 434.7 MB, free: 45.98 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.2203, allocations: 32.19 kB / 434.7 MB, free: 45.97 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.458e-05/0.2204, allocations: 28.92 kB / 434.7 MB, free: 45.96 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.2204, allocations: 2.344 kB / 434.7 MB, free: 45.96 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2204, allocations: 3.312 kB / 434.7 MB, free: 45.96 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.2204, allocations: 8.922 kB / 434.7 MB, free: 45.96 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005221/0.2209, allocations: 0.6255 MB / 435.4 MB, free: 45.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2209, allocations: 3.938 kB / 435.4 MB, free: 45.61 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002239/0.2211, allocations: 32.42 kB / 435.4 MB, free: 45.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.2212, allocations: 5.406 kB / 435.4 MB, free: 45.61 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.2212, allocations: 11.53 kB / 435.4 MB, free: 45.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2212, allocations: 0.5312 kB / 435.4 MB, free: 45.61 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.2212, allocations: 2.141 kB / 435.4 MB, free: 45.61 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003863/0.2216, allocations: 452.3 kB / 435.8 MB, free: 45.42 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.1e-05/0.2216, allocations: 102.8 kB / 435.9 MB, free: 45.31 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.213e-05/0.2217, allocations: 6.312 kB / 436 MB, free: 45.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.997e-05/0.2218, allocations: 8.094 kB / 436 MB, free: 45.3 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.162e-05/0.2218, allocations: 11.12 kB / 436 MB, free: 45.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.2218, allocations: 3.781 kB / 436 MB, free: 45.3 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001273/0.222, allocations: 189.3 kB / 436.2 MB, free: 45.23 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.22e-07/0.222, allocations: 0 / 436.2 MB, free: 45.23 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002787/0.2223, allocations: 67.78 kB / 436.2 MB, free: 45.22 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (Integrator.y,FirstOrder.Y,LeadLAG.uF,complexPoles.Y,complexPoles.dY) * Number of discrete variables: 6 ($whenCondition1,signal.a,signal.b,signal.last,signal.nextEvent,signal.nextEventScaled) * Number of discrete states: 6 (signal.nextEvent,signal.last,signal.nextEventScaled,signal.b,signal.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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.0001521/0.2224, allocations: 140.7 kB / 436.4 MB, free: 45.13 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002872/0.2227, allocations: 267.2 kB / 436.6 MB, free: 45.05 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2227, allocations: 0.8438 kB / 436.6 MB, free: 45.05 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.2229, allocations: 156.5 kB / 436.8 MB, free: 44.98 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.2231, allocations: 30.03 kB / 436.8 MB, free: 44.98 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000625/0.2238, allocations: 0.5859 MB / 437.4 MB, free: 44.63 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001689/0.2239, allocations: 0.7623 MB / 438.2 MB, free: 43.94 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.892e-05/0.2241, allocations: 31.2 kB / 438.2 MB, free: 43.93 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.981e-05/0.2241, allocations: 20.28 kB / 438.2 MB, free: 43.92 MB / 346.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2241, allocations: 0 / 438.2 MB, free: 43.92 MB / 346.7 MB Notification: Performance of Templates: time 0.00449/0.2286, allocations: 1.692 MB / 439.9 MB, free: 43.8 MB / 346.7 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.pipe 2>&1)