Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.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.0008333/0.0008333, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001182/0.002015, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007286/0.0007286, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009208/0.001649, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.023/1.023, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1147/1.138, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.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.03874/0.03874, allocations: 8.616 MB / 252.6 MB, free: 6.719 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0152/0.05394, allocations: 3.122 MB / 255.7 MB, free: 3.586 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.TestTrackingP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 257 MB, free: 2.316 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.685e-05/1.845e-05, allocations: 5.828 kB / 257 MB, free: 2.312 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP): time 0.002356/0.002375, allocations: 1.801 MB / 258.8 MB, free: 0.5 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00391/0.006285, allocations: 0.6231 MB / 259.4 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.948e-05/0.006374, allocations: 7.938 kB / 259.4 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.42e-05/0.006439, allocations: 15.81 kB / 259.4 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.185e-05/0.00651, allocations: 35.66 kB / 259.5 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001986/0.006709, allocations: 79.7 kB / 259.5 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002198/0.006929, allocations: 183.4 kB / 259.7 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.007036, allocations: 38.36 kB / 259.8 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002272/0.007263, allocations: 115.7 kB / 259.9 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.944e-05/0.007352, allocations: 51.81 kB / 259.9 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.595e-05/0.007378, allocations: 12 kB / 259.9 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.999e-05/0.007438, allocations: 16 kB / 259.9 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.094e-05/0.007469, allocations: 23.94 kB / 260 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.246e-05/0.007522, allocations: 35.88 kB / 260 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.007717, allocations: 107.6 kB / 260.1 MB, free: 15.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.753e-05/0.007735, allocations: 0 / 260.1 MB, free: 15.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.007736, allocations: 0 / 260.1 MB, free: 15.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.829e-05/0.007754, allocations: 0 / 260.1 MB, free: 15.16 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007104/0.008464, allocations: 433.4 kB / 260.5 MB, free: 14.71 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.008501, allocations: 8.031 kB / 260.5 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003187/0.01169, allocations: 114 kB / 260.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/0.01193, allocations: 184.2 kB / 260.8 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.582e-05/0.012, allocations: 111.4 kB / 260.9 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.01202, allocations: 8.375 kB / 260.9 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.0122, allocations: 106.9 kB / 261.1 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.01221, allocations: 192 / 261.1 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.01222, allocations: 16.12 kB / 261.1 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.01223, allocations: 0 / 261.1 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.922e-05/0.01229, allocations: 27.92 kB / 261.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003895/0.01268, allocations: 247.9 kB / 261.3 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.718e-05/0.01276, allocations: 34.58 kB / 261.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.133e-05/0.01279, allocations: 20.83 kB / 261.4 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.01281, allocations: 3.938 kB / 261.4 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001401/0.01295, allocations: 95.36 kB / 261.5 MB, free: 13.63 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.352e-06/0.01295, allocations: 0 / 261.5 MB, free: 13.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001649/0.01312, allocations: 73.95 kB / 261.6 MB, free: 13.55 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.01315, allocations: 63.33 kB / 261.6 MB, free: 13.48 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.01326, allocations: 171.9 kB / 261.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.01328, allocations: 33.7 kB / 261.8 MB, free: 13.26 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.578e-05/0.01334, allocations: 108.5 kB / 261.9 MB, free: 13.15 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/0.01336, allocations: 35.72 kB / 262 MB, free: 13.12 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.128e-05/0.01342, allocations: 33.69 kB / 262 MB, free: 13.08 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.223e-05/0.01351, allocations: 330.7 kB / 262.3 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.335e-05/0.01355, allocations: 45.7 kB / 262.4 MB, free: 12.7 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.548e-05/0.01361, allocations: 65.12 kB / 262.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.467e-05/0.01369, allocations: 89.02 kB / 262.5 MB, free: 12.51 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01369, allocations: 0 / 262.5 MB, free: 12.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001375/0.01383, allocations: 141 kB / 262.7 MB, free: 12.35 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.55e-05/0.01387, allocations: 41.64 kB / 262.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.01387, allocations: 3.938 kB / 262.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.01388, allocations: 8.094 kB / 262.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.014, allocations: 27.97 kB / 262.7 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.014, allocations: 0 / 262.7 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.127e-05/0.01408, allocations: 23.88 kB / 262.8 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.01409, allocations: 8 kB / 262.8 MB, free: 12.23 MB / 266.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,Ptr.ts,$whenCondition2,P.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * 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 7.573e-05/0.01417, allocations: 125.7 kB / 262.9 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.592e-05/0.01418, allocations: 8 kB / 262.9 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.386e-05/0.01422, allocations: 21.45 kB / 262.9 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.01422, allocations: 8 kB / 262.9 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-06/0.01422, allocations: 0 / 262.9 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.01423, allocations: 0 / 262.9 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.01433, allocations: 101.8 kB / 263 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.01433, allocations: 0 / 263 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003085/0.01741, allocations: 19.97 kB / 263 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.186e-05/0.01744, allocations: 15.91 kB / 263.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.01744, allocations: 0 / 263.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.01745, allocations: 4 kB / 263.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.01745, allocations: 0 / 263.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01745, allocations: 0 / 263.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.01758, allocations: 105 kB / 263.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.0176, allocations: 4 kB / 263.2 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.955e-05/0.01767, allocations: 15.98 kB / 263.2 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.209e-05/0.01772, allocations: 15.97 kB / 263.2 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.01773, allocations: 11.98 kB / 263.2 MB, free: 11.74 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.559e-05/0.01778, allocations: 52.66 kB / 263.3 MB, free: 11.68 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01778, allocations: 0 / 263.3 MB, free: 11.68 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001752/0.01795, allocations: 31.94 kB / 263.3 MB, free: 11.65 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,Ptr.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 (10): * Single equations (assignments): 7 * 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 8.844e-05/0.01804, allocations: 88.36 kB / 263.4 MB, free: 11.55 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001585/0.0182, allocations: 137.9 kB / 263.5 MB, free: 11.4 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/0.01821, allocations: 0 / 263.5 MB, free: 11.4 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.039e-05/0.01826, allocations: 28.84 kB / 263.5 MB, free: 11.37 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001473/0.0184, allocations: 39.86 kB / 263.6 MB, free: 11.33 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009137/0.01932, allocations: 271.9 kB / 263.8 MB, free: 11.04 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.552e-05/0.01936, allocations: 71.83 kB / 263.9 MB, free: 10.95 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.298e-05/0.01943, allocations: 17.12 kB / 263.9 MB, free: 10.93 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.01953, allocations: 71.36 kB / 264 MB, free: 10.86 MB / 266.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01953, allocations: 0 / 264 MB, free: 10.86 MB / 266.7 MB Notification: Performance of Templates: time 0.01039/0.02992, allocations: 1.914 MB / 265.9 MB, free: 8.988 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6994774769991636]