Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 118.6 kB / 17.16 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 206.2 kB / 20.13 MB, free: 2.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.394/1.394, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.05981/0.05981, allocations: 11.33 MB / 320.9 MB, free: 14.12 MB / 254.1 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingLL",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingLL",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IndustrialControlSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 69.38 kB / 446.5 MB, free: 38.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0865/0.08835, allocations: 56.01 MB / 0.4908 GB, free: 3.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL): time 0.002618/0.09097, allocations: 1.885 MB / 0.4926 GB, free: 1.578 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.09201, allocations: 0.733 MB / 0.4933 GB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001682/0.09217, allocations: 15.81 kB / 0.4933 GB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001312/0.09231, allocations: 27.67 kB / 0.4934 GB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001118/0.09242, allocations: 47.58 kB / 0.4934 GB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003715/0.09279, allocations: 143.7 kB / 0.4936 GB, free: 0.6133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000256/0.09305, allocations: 283.3 kB / 0.4938 GB, free: 344 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.09318, allocations: 49.2 kB / 0.4939 GB, free: 284 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.09332, allocations: 123.5 kB / 0.494 GB, free: 160 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.09346, allocations: 119.4 kB / 0.4941 GB, free: 40 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.488e-05/0.0935, allocations: 27.94 kB / 0.4941 GB, free: 12 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.11e-05/0.09355, allocations: 23.98 kB / 0.4942 GB, free: 15.98 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.264e-05/0.09361, allocations: 51.78 kB / 0.4942 GB, free: 15.94 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.09373, allocations: 111.4 kB / 0.4943 GB, free: 15.83 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002957/0.09402, allocations: 230.9 kB / 0.4945 GB, free: 15.6 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.09403, allocations: 0 / 0.4945 GB, free: 15.6 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.09403, allocations: 0 / 0.4945 GB, free: 15.6 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.09404, allocations: 0 / 0.4945 GB, free: 15.6 MB / 366.1 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.001208/0.09524, allocations: 0.6132 MB / 0.4951 GB, free: 14.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.09528, allocations: 8.031 kB / 0.4951 GB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.246e-05/0.0953, allocations: 4.422 kB / 0.4951 GB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.718e-05/0.09536, allocations: 54.67 kB / 0.4952 GB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.721e-05/0.09544, allocations: 32.75 kB / 0.4952 GB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004719/0.09591, allocations: 318.4 kB / 0.4955 GB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/0.09601, allocations: 105.3 kB / 0.4956 GB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.387e-05/0.09606, allocations: 16 kB / 0.4956 GB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005278/0.09658, allocations: 207.8 kB / 0.4958 GB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.09659, allocations: 3.938 kB / 0.4958 GB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.497e-05/0.09662, allocations: 8 kB / 0.4958 GB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.09663, allocations: 4 kB / 0.4959 GB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005588/0.09718, allocations: 160.7 kB / 0.496 GB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001452/0.09864, allocations: 0.7152 MB / 0.4967 GB, free: 13.19 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005526/0.09919, allocations: 166.5 kB / 0.4969 GB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002912/0.09948, allocations: 92.78 kB / 0.497 GB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.09951, allocations: 4 kB / 0.497 GB, free: 12.92 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004369/0.09994, allocations: 173.5 kB / 0.4971 GB, free: 12.74 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.09995, allocations: 0 / 0.4971 GB, free: 12.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001035/0.101, allocations: 333.2 kB / 0.4974 GB, free: 12.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.101, allocations: 67.28 kB / 0.4975 GB, free: 12.33 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002282/0.1013, allocations: 225 kB / 0.4977 GB, free: 12.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.879e-05/0.1013, allocations: 29.7 kB / 0.4977 GB, free: 12.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.1014, allocations: 152.5 kB / 0.4979 GB, free: 11.92 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.404e-05/0.1015, allocations: 55.58 kB / 0.4979 GB, free: 11.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.119e-05/0.1016, allocations: 45.7 kB / 0.498 GB, free: 11.81 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.1017, allocations: 334.8 kB / 0.4983 GB, free: 11.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003178/0.102, allocations: 91.92 kB / 0.4984 GB, free: 11.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003333/0.1023, allocations: 119.4 kB / 0.4985 GB, free: 11.26 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006081/0.103, allocations: 243.2 kB / 0.4987 GB, free: 11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.103, allocations: 4 kB / 0.4987 GB, free: 11 MB / 366.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007728/0.1037, allocations: 313.9 kB / 0.499 GB, free: 10.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.717e-05/0.1038, allocations: 33.7 kB / 0.4991 GB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.1038, allocations: 0 / 0.4991 GB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.1038, allocations: 0 / 0.4991 GB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001459/0.1052, allocations: 124 kB / 0.4992 GB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002574/0.1078, allocations: 2.882 MB / 0.502 GB, free: 7.352 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002519/0.1081, allocations: 43.88 kB / 0.5021 GB, free: 7.309 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.1081, allocations: 7.938 kB / 0.5021 GB, free: 7.301 MB / 366.1 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,TrackRef.count,$PRE.TrackRef.count,TrackRef.T_start,$PRE.TrackRef.T_start,TSsignal.pulseStart,$PRE.TSsignal.pulseStart,LLtr.ts,$whenCondition1,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 0.0001455/0.1082, allocations: 137.9 kB / 0.5022 GB, free: 7.156 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.699e-05/0.1083, allocations: 19.86 kB / 0.5022 GB, free: 7.137 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007371/0.109, allocations: 279.6 kB / 0.5025 GB, free: 6.855 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.109, allocations: 4 kB / 0.5025 GB, free: 6.852 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.109, allocations: 7.938 kB / 0.5025 GB, free: 6.844 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.109, allocations: 3.984 kB / 0.5025 GB, free: 6.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.1102, allocations: 0.6386 MB / 0.5031 GB, free: 6.145 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1102, allocations: 0 / 0.5031 GB, free: 6.145 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001292/0.1115, allocations: 111.9 kB / 0.5032 GB, free: 6.035 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.1115, allocations: 0 / 0.5032 GB, free: 6.035 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.1115, allocations: 4 kB / 0.5032 GB, free: 6.031 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/0.1115, allocations: 3.938 kB / 0.5032 GB, free: 6.027 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1115, allocations: 0 / 0.5032 GB, free: 6.027 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.1125, allocations: 472.4 kB / 0.5037 GB, free: 5.551 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.283e-05/0.1126, allocations: 92.97 kB / 0.5038 GB, free: 5.441 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.209e-05/0.1126, allocations: 11.94 kB / 0.5038 GB, free: 5.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/0.1128, allocations: 28 kB / 0.5038 GB, free: 5.402 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.955e-05/0.1129, allocations: 19.97 kB / 0.5038 GB, free: 5.383 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.1129, allocations: 8 kB / 0.5038 GB, free: 5.375 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001425/0.1131, allocations: 160.5 kB / 0.504 GB, free: 5.223 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1131, allocations: 0 / 0.504 GB, free: 5.223 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002998/0.1134, allocations: 51.89 kB / 0.504 GB, free: 5.172 MB / 366.1 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 0.001407/0.1148, allocations: 1.01 MB / 0.505 GB, free: 4.137 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001002/0.1158, allocations: 279.2 kB / 0.5053 GB, free: 3.852 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1158, allocations: 0 / 0.5053 GB, free: 3.852 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003367/0.1161, allocations: 117.8 kB / 0.5054 GB, free: 3.738 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.1165, allocations: 32.59 kB / 0.5054 GB, free: 3.707 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004077/0.1205, allocations: 2.57 MB / 0.5079 GB, free: 1.035 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.1209, allocations: 0.7517 MB / 0.5087 GB, free: 264 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001054/0.121, allocations: 25.94 kB / 0.5087 GB, free: 240 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/0.1211, allocations: 75.41 kB / 0.5088 GB, free: 168 kB / 366.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1211, allocations: 0 / 0.5088 GB, free: 168 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02705/0.1482, allocations: 5.224 MB / 0.5139 GB, free: 11.17 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.63, allocations: 64 / 0.5139 GB, free: 11.17 MB / 382.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingLL_fmu --startTime=0 --stopTime=22 --stepSize=0.0088 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingLL.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.22194832295645] Failed to read output from testmodel.py, exit status != 0: 11.773208910017274 11.787597524 11.690794214 Calling exit ...