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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 118.7 kB / 17.13 MB, free: 5.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 194.1 kB / 20.08 MB, free: 2.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.06068/0.06068, allocations: 11.34 MB / 314.7 MB, free: 0.8594 MB / 238.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-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00194/0.00194, allocations: 71.88 kB / 438.5 MB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2852, allocations: 54.83 MB / 493.3 MB, free: 24.01 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO): time 0.002795/0.288, allocations: 1.836 MB / 495.2 MB, free: 22.71 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009848/0.289, allocations: 0.6163 MB / 495.8 MB, free: 22.28 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.2891, allocations: 8.625 kB / 495.8 MB, free: 22.27 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001204/0.2892, allocations: 25.17 kB / 495.8 MB, free: 22.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.577e-05/0.2893, allocations: 37.66 kB / 495.9 MB, free: 22.22 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003114/0.2896, allocations: 102.9 kB / 496 MB, free: 22.17 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002719/0.2899, allocations: 228.8 kB / 496.2 MB, free: 22.06 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.2901, allocations: 40.11 kB / 496.2 MB, free: 22.04 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.2902, allocations: 97.56 kB / 496.3 MB, free: 21.99 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.2903, allocations: 92.02 kB / 496.4 MB, free: 21.95 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.864e-05/0.2904, allocations: 20.5 kB / 496.4 MB, free: 21.94 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.46e-05/0.2904, allocations: 17.88 kB / 496.4 MB, free: 21.94 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.716e-05/0.2905, allocations: 48.58 kB / 496.5 MB, free: 21.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.776e-05/0.2906, allocations: 92.91 kB / 496.6 MB, free: 21.85 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002462/0.2908, allocations: 194.2 kB / 496.8 MB, free: 21.76 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2908, allocations: 0.8438 kB / 496.8 MB, free: 21.76 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2908, allocations: 1.375 kB / 496.8 MB, free: 21.76 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.2908, allocations: 0 / 496.8 MB, free: 21.76 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.001034/0.2918, allocations: 0.5725 MB / 497.3 MB, free: 21.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.2919, allocations: 17.27 kB / 497.4 MB, free: 21.26 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.505e-05/0.292, allocations: 26.3 kB / 497.4 MB, free: 21.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003879/0.2923, allocations: 305 kB / 497.7 MB, free: 20.99 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.353e-05/0.2924, allocations: 96.72 kB / 497.8 MB, free: 20.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.158e-05/0.2925, allocations: 15.38 kB / 497.8 MB, free: 20.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004747/0.2929, allocations: 185.8 kB / 498 MB, free: 20.8 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.2929, allocations: 7.938 kB / 498 MB, free: 20.8 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.118e-05/0.293, allocations: 6.125 kB / 498 MB, free: 20.79 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.293, allocations: 2.844 kB / 498 MB, free: 20.79 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005241/0.2935, allocations: 146.4 kB / 498.1 MB, free: 20.76 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009769/0.2945, allocations: 0.5659 MB / 498.7 MB, free: 20.37 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005154/0.295, allocations: 141.9 kB / 498.8 MB, free: 20.31 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002572/0.2952, allocations: 75.09 kB / 498.9 MB, free: 20.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/0.2953, allocations: 1.188 kB / 498.9 MB, free: 20.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003861/0.2957, allocations: 147.7 kB / 499.1 MB, free: 20.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.623e-06/0.2957, allocations: 0 / 499.1 MB, free: 20.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008967/0.2966, allocations: 271 kB / 499.3 MB, free: 20.05 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.2966, allocations: 58.34 kB / 499.4 MB, free: 19.99 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.2968, allocations: 211.2 kB / 499.6 MB, free: 19.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.2968, allocations: 28.42 kB / 499.6 MB, free: 19.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.384e-05/0.2969, allocations: 142.3 kB / 499.8 MB, free: 19.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.2969, allocations: 42.08 kB / 499.8 MB, free: 19.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.241e-05/0.297, allocations: 40.3 kB / 499.8 MB, free: 19.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.924e-05/0.297, allocations: 334.7 kB / 0.4884 GB, free: 19.26 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002662/0.2973, allocations: 81.61 kB / 0.4885 GB, free: 19.22 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002769/0.2976, allocations: 113.6 kB / 0.4886 GB, free: 19.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000505/0.2981, allocations: 197 kB / 0.4888 GB, free: 19.01 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2981, allocations: 1.188 kB / 0.4888 GB, free: 19.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006482/0.2987, allocations: 278.8 kB / 0.4891 GB, free: 18.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.221e-05/0.2988, allocations: 35.66 kB / 0.4891 GB, free: 18.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.2988, allocations: 0.9375 kB / 0.4891 GB, free: 18.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.2988, allocations: 2.281 kB / 0.4891 GB, free: 18.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007091/0.2995, allocations: 73.08 kB / 0.4892 GB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.2995, allocations: 1.156 kB / 0.4892 GB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002041/0.2997, allocations: 36.19 kB / 0.4892 GB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.206e-05/0.2997, allocations: 8.781 kB / 0.4892 GB, free: 18.77 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 ($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 0.0001032/0.2998, allocations: 136.7 kB / 0.4894 GB, free: 18.63 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.875e-05/0.2999, allocations: 15.09 kB / 0.4894 GB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.548e-05/0.2999, allocations: 21.92 kB / 0.4894 GB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.2999, allocations: 10.34 kB / 0.4894 GB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.299e-06/0.2999, allocations: 0 / 0.4894 GB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.2999, allocations: 3.984 kB / 0.4894 GB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002253/0.3001, allocations: 282.8 kB / 0.4897 GB, free: 18.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.3001, allocations: 1.344 kB / 0.4897 GB, free: 18.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007558/0.3009, allocations: 71.97 kB / 0.4898 GB, free: 18.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.3009, allocations: 4 kB / 0.4898 GB, free: 18.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.3009, allocations: 5.766 kB / 0.4898 GB, free: 18.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.3009, allocations: 0 / 0.4898 GB, free: 18.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3009, allocations: 0 / 0.4898 GB, free: 18.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008379/0.3018, allocations: 318.3 kB / 0.4901 GB, free: 18.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.93e-05/0.3018, allocations: 89.67 kB / 0.4901 GB, free: 18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.203e-05/0.3018, allocations: 5.266 kB / 0.4902 GB, free: 17.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.302, allocations: 24.98 kB / 0.4902 GB, free: 17.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.276e-05/0.3021, allocations: 24.09 kB / 0.4902 GB, free: 17.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.3021, allocations: 7.906 kB / 0.4902 GB, free: 17.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001028/0.3022, allocations: 147.6 kB / 0.4903 GB, free: 17.85 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3022, allocations: 0 / 0.4903 GB, free: 17.85 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002367/0.3025, allocations: 40.08 kB / 0.4904 GB, free: 17.84 MB / 366.1 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.0001044/0.3026, allocations: 104.7 kB / 0.4905 GB, free: 17.74 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006051/0.3032, allocations: 225.4 kB / 0.4907 GB, free: 17.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3032, allocations: 0 / 0.4907 GB, free: 17.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000267/0.3034, allocations: 82 kB / 0.4908 GB, free: 17.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.3037, allocations: 27.91 kB / 0.4908 GB, free: 17.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007887/0.3045, allocations: 416.4 kB / 0.4912 GB, free: 17.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001467/0.3046, allocations: 0.7386 MB / 0.4919 GB, free: 16.51 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.689e-05/0.3047, allocations: 22.81 kB / 0.4919 GB, free: 16.5 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.3047, allocations: 0 / 0.4919 GB, free: 16.5 MB / 366.1 MB Notification: Performance of Templates: time 0.00414/0.3088, allocations: 2.449 MB / 0.4943 GB, free: 15.23 MB / 366.1 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: 6.950430240016431] Failed to read output from testmodel.py, exit status != 0: 0.316350411856547 0.325804285 0.033088292000000005 Calling exit ...