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.0007886/0.0007886, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008378/0.0008378, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8917/0.8917, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.03494/0.03494, allocations: 8.611 MB / 267.8 MB, free: 5.133 MB / 250.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingLL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.966e-06/2.966e-06, allocations: 4 kB / 395.1 MB, free: 2.668 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.179e-05/1.476e-05, allocations: 6.219 kB / 395.1 MB, free: 2.66 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL): time 0.001837/0.001851, allocations: 1.813 MB / 396.9 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009/0.002751, allocations: 0.6901 MB / 397.6 MB, free: 148 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.628e-05/0.002848, allocations: 19.75 kB / 397.6 MB, free: 128 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001085/0.002956, allocations: 27.67 kB / 397.6 MB, free: 100 kB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 7.977e-05/0.003036, allocations: 51.52 kB / 397.7 MB, free: 48 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002941/0.00333, allocations: 135.7 kB / 397.8 MB, free: 15.91 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003675/0.003698, allocations: 303 kB / 398.1 MB, free: 15.62 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.003818, allocations: 41.14 kB / 398.1 MB, free: 15.57 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001691/0.003987, allocations: 175.6 kB / 398.3 MB, free: 15.4 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.0041, allocations: 91.67 kB / 398.4 MB, free: 15.31 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.073e-05/0.004131, allocations: 20 kB / 398.4 MB, free: 15.29 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.043e-05/0.004151, allocations: 20 kB / 398.4 MB, free: 15.27 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.193e-05/0.004193, allocations: 59.81 kB / 398.5 MB, free: 15.21 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.032e-05/0.004253, allocations: 71.75 kB / 398.6 MB, free: 15.14 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.004455, allocations: 243.1 kB / 398.8 MB, free: 14.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.004456, allocations: 0 / 398.8 MB, free: 14.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.004457, allocations: 0 / 398.8 MB, free: 14.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.004462, allocations: 0 / 398.8 MB, free: 14.91 MB / 378.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.0007049/0.005167, allocations: 0.5379 MB / 399.4 MB, free: 14.33 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.005202, allocations: 8.031 kB / 399.4 MB, free: 14.32 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.885e-05/0.005241, allocations: 50.73 kB / 399.4 MB, free: 14.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.762e-05/0.005289, allocations: 32.75 kB / 399.4 MB, free: 14.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.005577, allocations: 252.7 kB / 399.7 MB, free: 13.96 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.144e-05/0.005638, allocations: 97.95 kB / 399.8 MB, free: 13.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.318e-05/0.005672, allocations: 23.94 kB / 399.8 MB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003408/0.006012, allocations: 208.5 kB / 400 MB, free: 13.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.00602, allocations: 8 kB / 400 MB, free: 13.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.006038, allocations: 4 kB / 400 MB, free: 13.6 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.006043, allocations: 4 kB / 400 MB, free: 13.6 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002962/0.00634, allocations: 160.6 kB / 400.2 MB, free: 13.44 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000839/0.007179, allocations: 0.6441 MB / 400.8 MB, free: 12.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002881/0.007467, allocations: 159.6 kB / 401 MB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/0.007618, allocations: 104.7 kB / 401.1 MB, free: 12.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.007641, allocations: 0 / 401.1 MB, free: 12.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002652/0.007907, allocations: 163.2 kB / 401.2 MB, free: 12.31 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 1.172e-06/0.007908, allocations: 0 / 401.2 MB, free: 12.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.000573/0.008481, allocations: 333.3 kB / 401.6 MB, free: 11.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.008519, allocations: 59.34 kB / 401.6 MB, free: 11.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.008665, allocations: 229.9 kB / 401.9 MB, free: 11.67 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.008686, allocations: 29.7 kB / 401.9 MB, free: 11.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.293e-05/0.008768, allocations: 152.4 kB / 402 MB, free: 11.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.335e-05/0.008802, allocations: 55.56 kB / 402.1 MB, free: 11.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.601e-05/0.008858, allocations: 49.64 kB / 402.1 MB, free: 11.38 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.426e-05/0.008942, allocations: 342.8 kB / 402.5 MB, free: 11.03 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/0.009115, allocations: 121.6 kB / 402.6 MB, free: 10.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001747/0.00929, allocations: 160 kB / 402.7 MB, free: 10.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003034/0.009594, allocations: 233 kB / 403 MB, free: 10.49 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.009596, allocations: 0 / 403 MB, free: 10.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003997/0.009996, allocations: 348 kB / 403.3 MB, free: 10.13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.679e-05/0.01002, allocations: 33.7 kB / 403.3 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.01003, allocations: 0 / 403.3 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.01004, allocations: 4 kB / 403.3 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006575/0.0107, allocations: 131.9 kB / 403.5 MB, free: 9.961 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001637/0.01233, allocations: 2.66 MB / 406.1 MB, free: 7.066 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.01245, allocations: 43.89 kB / 406.2 MB, free: 7.023 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.01247, allocations: 11.98 kB / 406.2 MB, free: 7.012 MB / 378.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,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.0001021/0.01257, allocations: 141.9 kB / 406.3 MB, free: 6.863 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.058e-05/0.01259, allocations: 19.86 kB / 406.3 MB, free: 6.844 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003815/0.01297, allocations: 275.5 kB / 406.6 MB, free: 6.562 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.01297, allocations: 4 kB / 406.6 MB, free: 6.559 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.01297, allocations: 4 kB / 406.6 MB, free: 6.555 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.01298, allocations: 3.984 kB / 406.6 MB, free: 6.551 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006152/0.01359, allocations: 0.5861 MB / 407.2 MB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.0136, allocations: 0 / 407.2 MB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005737/0.01417, allocations: 119.8 kB / 407.3 MB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.01417, allocations: 0 / 407.3 MB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.01419, allocations: 3.984 kB / 407.3 MB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.01419, allocations: 0 / 407.3 MB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01419, allocations: 4 kB / 407.3 MB, free: 5.793 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005383/0.01473, allocations: 455 kB / 407.8 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.251e-05/0.01475, allocations: 35.78 kB / 407.8 MB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.01477, allocations: 4 kB / 407.8 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.01487, allocations: 27.97 kB / 407.8 MB, free: 5.266 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.228e-05/0.01494, allocations: 27.89 kB / 407.9 MB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.01495, allocations: 8 kB / 407.9 MB, free: 5.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.894e-05/0.01504, allocations: 161.2 kB / 408 MB, free: 5.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.01504, allocations: 0 / 408 MB, free: 5.07 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000199/0.01523, allocations: 40 kB / 408.1 MB, free: 5.031 MB / 378.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 0.0007387/0.01597, allocations: 0.9995 MB / 409.1 MB, free: 4.008 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005385/0.01651, allocations: 321 kB / 409.4 MB, free: 3.676 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01651, allocations: 0 / 409.4 MB, free: 3.676 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001714/0.01669, allocations: 103.9 kB / 409.5 MB, free: 3.574 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.01691, allocations: 36.36 kB / 409.5 MB, free: 3.539 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002656/0.01957, allocations: 2.687 MB / 412.2 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.5e-05/0.01965, allocations: 138.2 kB / 412.4 MB, free: 0.5664 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.158e-05/0.01973, allocations: 21.95 kB / 412.4 MB, free: 0.5469 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.01983, allocations: 80.47 kB / 412.5 MB, free: 480 kB / 378.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01983, allocations: 0 / 412.5 MB, free: 480 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01837/0.0382, allocations: 5.956 MB / 418.4 MB, free: 10.68 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.006/8.044, allocations: 12.55 kB / 418.4 MB, free: 10.66 MB / 394.7 MB " [Timeout remaining time 652] (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 sys.exit(0), Time elapsed: 9.785192754119635] Failed to read output from testmodel.py, exit status != 0: 8.137204421684146 8.148588507 8.142092124 Calling exit ...