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.0006685/0.0006685, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009723/0.001641, allocations: 440 kB / 10.41 MB, free: 284 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.0007393/0.0007393, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009645/0.001704, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 0.9628/0.9628, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09636/1.059, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.03534/0.03534, allocations: 8.605 MB / 252.7 MB, free: 6.629 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00644/0.04178, allocations: 3.14 MB / 255.9 MB, free: 3.48 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.282e-06/1.282e-06, allocations: 0 / 257.2 MB, free: 2.188 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.771e-05/1.9e-05, allocations: 6.25 kB / 257.2 MB, free: 2.18 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP): time 0.002776/0.002795, allocations: 1.805 MB / 259 MB, free: 372 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009398/0.003735, allocations: 0.627 MB / 259.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.108e-05/0.003816, allocations: 7.938 kB / 259.6 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.603e-05/0.003882, allocations: 15.75 kB / 259.6 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.337e-05/0.003955, allocations: 35.66 kB / 259.7 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002143/0.00417, allocations: 87.7 kB / 259.8 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002375/0.004407, allocations: 179.4 kB / 259.9 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.004514, allocations: 26.38 kB / 260 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002489/0.004763, allocations: 123.7 kB / 260.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.004866, allocations: 59.8 kB / 260.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.867e-05/0.004895, allocations: 12 kB / 260.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.265e-05/0.004957, allocations: 12 kB / 260.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.646e-05/0.004994, allocations: 23.88 kB / 260.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.204e-05/0.005046, allocations: 31.94 kB / 260.2 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.005233, allocations: 103.6 kB / 260.3 MB, free: 15.03 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.356e-05/0.005246, allocations: 4 kB / 260.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.005247, allocations: 4 kB / 260.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.005257, allocations: 0 / 260.3 MB, free: 15.02 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.0006797/0.005936, allocations: 425.4 kB / 260.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.00597, allocations: 15.98 kB / 260.8 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001695/0.00614, allocations: 110 kB / 260.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.006392, allocations: 190.7 kB / 261.1 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.328e-05/0.006476, allocations: 115.4 kB / 261.2 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.006498, allocations: 8.375 kB / 261.2 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.006707, allocations: 106.9 kB / 261.3 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.006716, allocations: 192 / 261.3 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.006732, allocations: 8.125 kB / 261.3 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.006739, allocations: 4 kB / 261.3 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.486e-05/0.006804, allocations: 23.92 kB / 261.3 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004304/0.007234, allocations: 247.9 kB / 261.6 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.007335, allocations: 38.56 kB / 261.6 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.425e-05/0.007369, allocations: 16.84 kB / 261.6 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.007385, allocations: 4 kB / 261.6 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001485/0.007534, allocations: 83.28 kB / 261.7 MB, free: 13.5 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.007535, allocations: 0 / 261.7 MB, free: 13.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001785/0.007714, allocations: 77.89 kB / 261.8 MB, free: 13.42 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.007748, allocations: 63.33 kB / 261.8 MB, free: 13.35 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.007875, allocations: 180.1 kB / 262 MB, free: 13.16 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.007895, allocations: 29.7 kB / 262 MB, free: 13.12 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.011e-05/0.007955, allocations: 112.5 kB / 262.1 MB, free: 13.01 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.736e-05/0.007983, allocations: 35.72 kB / 262.2 MB, free: 12.98 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.423e-05/0.008037, allocations: 29.69 kB / 262.2 MB, free: 12.94 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.547e-05/0.008132, allocations: 330.7 kB / 262.5 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.107e-05/0.008183, allocations: 37.7 kB / 262.6 MB, free: 12.57 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.413e-05/0.008258, allocations: 73.11 kB / 262.6 MB, free: 12.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.008359, allocations: 93.03 kB / 262.7 MB, free: 12.37 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.008361, allocations: 0 / 262.7 MB, free: 12.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001738/0.008535, allocations: 144.9 kB / 262.9 MB, free: 12.21 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.492e-05/0.00857, allocations: 33.7 kB / 262.9 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.008576, allocations: 7.922 kB / 262.9 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.008589, allocations: 4 kB / 262.9 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.00872, allocations: 31.97 kB / 263 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.868e-06/0.008724, allocations: 4.094 kB / 263 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.917e-05/0.008823, allocations: 23.88 kB / 263 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.008836, allocations: 7.984 kB / 263 MB, free: 12.09 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 8.232e-05/0.008918, allocations: 124.7 kB / 263.1 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.151e-05/0.00894, allocations: 15.98 kB / 263.1 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.835e-05/0.008978, allocations: 17.47 kB / 263.1 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.00898, allocations: 0 / 263.1 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.008982, allocations: 4 kB / 263.1 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.008986, allocations: 0 / 263.1 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.009103, allocations: 105.8 kB / 263.2 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.009106, allocations: 3.984 kB / 263.3 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.566e-05/0.009182, allocations: 19.98 kB / 263.3 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.823e-05/0.0092, allocations: 11.91 kB / 263.3 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.009204, allocations: 4 kB / 263.3 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.009213, allocations: 0 / 263.3 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.009214, allocations: 0 / 263.3 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.009216, allocations: 0 / 263.3 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/0.009348, allocations: 105 kB / 263.4 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.009369, allocations: 0 / 263.4 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.626e-05/0.009455, allocations: 27.97 kB / 263.4 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.462e-05/0.00951, allocations: 19.91 kB / 263.4 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.009518, allocations: 0 / 263.4 MB, free: 11.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.401e-05/0.009572, allocations: 52.67 kB / 263.5 MB, free: 11.54 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009572, allocations: 0 / 263.5 MB, free: 11.54 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001874/0.00976, allocations: 27.94 kB / 263.5 MB, free: 11.51 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 9.616e-05/0.009856, allocations: 92.33 kB / 263.6 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001733/0.01003, allocations: 130 kB / 263.7 MB, free: 11.26 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/0.01004, allocations: 4.266 kB / 263.7 MB, free: 11.26 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.099e-05/0.01011, allocations: 40.73 kB / 263.8 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.01033, allocations: 202.5 kB / 264 MB, free: 10.98 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.01145, allocations: 268 kB / 264.2 MB, free: 10.7 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.099e-05/0.01152, allocations: 71.77 kB / 264.3 MB, free: 10.61 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.389e-05/0.01159, allocations: 13.16 kB / 264.3 MB, free: 10.59 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.01172, allocations: 75.36 kB / 264.4 MB, free: 10.52 MB / 266.7 MB Notification: Performance of SimCode: time 1.122e-06/0.01172, allocations: 0 / 264.4 MB, free: 10.52 MB / 266.7 MB Notification: Performance of Templates: time 0.004674/0.01639, allocations: 1.911 MB / 266.3 MB, free: 8.648 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.583108939230442]