Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.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.001184/0.001184, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001354/0.001354, allocations: 181.9 kB / 23.22 MB, free: 1.344 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.9019/0.9019, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.03394/0.03394, allocations: 8.601 MB / 268.5 MB, free: 5.121 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: translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 396.3 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.246e-05/3.397e-05, allocations: 13.17 kB / 396.3 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO): time 0.002405/0.002439, allocations: 1.771 MB / 398.1 MB, free: 15.19 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009264/0.003365, allocations: 0.6194 MB / 398.7 MB, free: 14.57 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.003469, allocations: 11.88 kB / 398.7 MB, free: 14.55 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001149/0.003584, allocations: 27.67 kB / 398.8 MB, free: 14.53 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 8.071e-05/0.003665, allocations: 27.69 kB / 398.8 MB, free: 14.5 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002716/0.003936, allocations: 111.7 kB / 398.9 MB, free: 14.39 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00023/0.004166, allocations: 227.3 kB / 399.1 MB, free: 14.17 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.004305, allocations: 48.72 kB / 399.2 MB, free: 14.12 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.004445, allocations: 131.7 kB / 399.3 MB, free: 13.99 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.004548, allocations: 75.7 kB / 399.4 MB, free: 13.91 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.949e-05/0.004577, allocations: 16 kB / 399.4 MB, free: 13.9 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.421e-05/0.004601, allocations: 16 kB / 399.4 MB, free: 13.88 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.517e-05/0.004647, allocations: 47.81 kB / 399.5 MB, free: 13.84 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.153e-05/0.004708, allocations: 55.83 kB / 399.5 MB, free: 13.78 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002128/0.004921, allocations: 207.2 kB / 399.7 MB, free: 13.58 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.004924, allocations: 3.938 kB / 399.7 MB, free: 13.57 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.004924, allocations: 4 kB / 399.7 MB, free: 13.57 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.004929, allocations: 0 / 399.7 MB, free: 13.57 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0007635/0.005693, allocations: 0.4951 MB / 400.2 MB, free: 13.04 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.00573, allocations: 8.031 kB / 400.2 MB, free: 13.03 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.992e-05/0.005789, allocations: 28.8 kB / 400.2 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003539/0.006143, allocations: 241 kB / 400.5 MB, free: 12.74 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.854e-05/0.006212, allocations: 89.67 kB / 400.6 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.858e-05/0.006251, allocations: 28.34 kB / 400.6 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003085/0.006559, allocations: 178.1 kB / 400.8 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.006569, allocations: 192 / 400.8 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.006587, allocations: 12.11 kB / 400.8 MB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.006592, allocations: 4 kB / 400.8 MB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002642/0.006857, allocations: 139.9 kB / 400.9 MB, free: 12.28 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007159/0.007572, allocations: 487.7 kB / 401.4 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002744/0.007847, allocations: 134.5 kB / 401.5 MB, free: 11.63 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/0.007981, allocations: 76.78 kB / 401.6 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.008007, allocations: 4 kB / 401.6 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002418/0.008249, allocations: 147.3 kB / 401.8 MB, free: 11.39 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 2.434e-06/0.008251, allocations: 0 / 401.8 MB, free: 11.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005395/0.00879, allocations: 265.3 kB / 402 MB, free: 11.12 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.008829, allocations: 63.39 kB / 402.1 MB, free: 11.05 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.008963, allocations: 207.1 kB / 402.3 MB, free: 10.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.008984, allocations: 33.7 kB / 402.3 MB, free: 10.8 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.744e-05/0.009061, allocations: 148.4 kB / 402.5 MB, free: 10.65 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.009089, allocations: 39.67 kB / 402.5 MB, free: 10.61 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.752e-05/0.009147, allocations: 45.7 kB / 402.5 MB, free: 10.56 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.998e-05/0.009237, allocations: 330.8 kB / 402.9 MB, free: 10.23 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.009402, allocations: 101.6 kB / 403 MB, free: 10.12 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.00957, allocations: 139.8 kB / 403.1 MB, free: 9.973 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002782/0.009848, allocations: 208.9 kB / 403.3 MB, free: 9.75 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.009851, allocations: 0 / 403.3 MB, free: 9.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003736/0.01022, allocations: 304.7 kB / 403.6 MB, free: 9.434 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.128e-05/0.01026, allocations: 35.09 kB / 403.6 MB, free: 9.395 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.01026, allocations: 0 / 403.6 MB, free: 9.395 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.01028, allocations: 4 kB / 403.6 MB, free: 9.391 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003323/0.01061, allocations: 71.98 kB / 403.7 MB, free: 9.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.01062, allocations: 4 kB / 403.7 MB, free: 9.316 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.88e-05/0.01071, allocations: 39.84 kB / 403.8 MB, free: 9.277 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.01073, allocations: 4 kB / 403.8 MB, free: 9.273 MB / 330.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 ($whenCondition1,TrackRef.count,$PRE.TrackRef.count,TrackRef.T_start,$PRE.TrackRef.T_start,TSsignal.pulseStart,$PRE.TSsignal.pulseStart,FOaw.ts,$whenCondition2,FO.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * 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 8.89e-05/0.01081, allocations: 136.8 kB / 403.9 MB, free: 9.133 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.157e-05/0.01084, allocations: 19.84 kB / 403.9 MB, free: 9.113 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.492e-05/0.01087, allocations: 21.45 kB / 403.9 MB, free: 9.094 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.01087, allocations: 8 kB / 403.9 MB, free: 9.086 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.01088, allocations: 0 / 403.9 MB, free: 9.086 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.01088, allocations: 0 / 403.9 MB, free: 9.086 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.01104, allocations: 205 kB / 404.1 MB, free: 8.855 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.01104, allocations: 0 / 404.1 MB, free: 8.855 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003576/0.0114, allocations: 67.94 kB / 404.2 MB, free: 8.789 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.0114, allocations: 4 kB / 404.2 MB, free: 8.785 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.01142, allocations: 11.94 kB / 404.2 MB, free: 8.773 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.01142, allocations: 0 / 404.2 MB, free: 8.773 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01142, allocations: 0 / 404.2 MB, free: 8.773 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004864/0.0119, allocations: 308.8 kB / 404.5 MB, free: 8.453 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.129e-05/0.01193, allocations: 19.91 kB / 404.5 MB, free: 8.434 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.01194, allocations: 7.875 kB / 404.5 MB, free: 8.426 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.946e-05/0.01202, allocations: 28 kB / 404.6 MB, free: 8.398 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.269e-05/0.01209, allocations: 23.91 kB / 404.6 MB, free: 8.375 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.906e-06/0.0121, allocations: 4 kB / 404.6 MB, free: 8.371 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.703e-05/0.01217, allocations: 148.6 kB / 404.7 MB, free: 8.227 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01217, allocations: 0 / 404.7 MB, free: 8.227 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000173/0.01235, allocations: 39.89 kB / 404.8 MB, free: 8.188 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (FOtr.Y,FOaw.Y,FO.Y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,FOaw.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 (12): * Single equations (assignments): 9 * 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.0001011/0.01245, allocations: 112.3 kB / 404.9 MB, free: 8.07 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003487/0.0128, allocations: 248.9 kB / 405.1 MB, free: 7.809 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.0128, allocations: 0 / 405.1 MB, free: 7.809 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.01293, allocations: 88 kB / 405.2 MB, free: 7.723 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001826/0.01312, allocations: 28.72 kB / 405.3 MB, free: 7.695 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005909/0.01371, allocations: 392.2 kB / 405.6 MB, free: 7.281 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.003e-05/0.01378, allocations: 125.2 kB / 405.8 MB, free: 7.141 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.749e-05/0.01384, allocations: 24.48 kB / 405.8 MB, free: 7.117 MB / 330.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01384, allocations: 3.938 kB / 405.8 MB, free: 7.113 MB / 330.7 MB Notification: Performance of Templates: time 0.003187/0.01702, allocations: 2.52 MB / 408.3 MB, free: 4.598 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.38226957526058] Failed to read output from testmodel.py, exit status != 0: 0.022992958314716816 0.21107858200000001 0.20416313100000003 Calling exit ...