Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_dev_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.0006357/0.0006357, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008203/0.001456, 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.00134/0.00134, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00111/0.00245, 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 0.9882/0.9882, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09666/1.085, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo): time 0.04279/0.04279, allocations: 9.782 MB / 253.8 MB, free: 5.586 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006467/0.04926, allocations: 3.472 MB / 257.2 MB, free: 2.105 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/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_dev_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 258.5 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.651e-05/1.809e-05, allocations: 2.312 kB / 258.5 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP): time 0.002068/0.002086, allocations: 1.805 MB / 260.3 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007278/0.002814, allocations: 0.6192 MB / 260.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.283e-05/0.002897, allocations: 15.81 kB / 260.9 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.642e-05/0.002953, allocations: 15.8 kB / 261 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.551e-05/0.003009, allocations: 35.66 kB / 261 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000163/0.003172, allocations: 75.78 kB / 261.1 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002031/0.003375, allocations: 187.3 kB / 261.3 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.003483, allocations: 26.38 kB / 261.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002228/0.003706, allocations: 111.8 kB / 261.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.912e-05/0.003785, allocations: 59.78 kB / 261.4 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.003807, allocations: 12 kB / 261.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.98e-05/0.003867, allocations: 20 kB / 261.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.66e-05/0.003894, allocations: 23.88 kB / 261.5 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.867e-05/0.003932, allocations: 31.94 kB / 261.5 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000157/0.004089, allocations: 111.5 kB / 261.6 MB, free: 13.67 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.505e-05/0.004104, allocations: 0 / 261.6 MB, free: 13.67 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.004105, allocations: 0 / 261.6 MB, free: 13.67 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.45e-05/0.004119, allocations: 0 / 261.6 MB, free: 13.67 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.0006144/0.004734, allocations: 441.3 kB / 262.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.004765, allocations: 8.031 kB / 262.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001345/0.0049, allocations: 102 kB / 262.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002009/0.005101, allocations: 192.2 kB / 262.4 MB, free: 12.87 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.742e-05/0.005168, allocations: 111.4 kB / 262.5 MB, free: 12.74 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.005181, allocations: 8.375 kB / 262.5 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.005348, allocations: 102.9 kB / 262.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.005357, allocations: 4.172 kB / 262.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.00537, allocations: 12.12 kB / 262.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.005377, allocations: 0 / 262.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.022e-05/0.005427, allocations: 27.09 kB / 262.6 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003247/0.005752, allocations: 239.9 kB / 262.9 MB, free: 12.33 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.774e-05/0.005829, allocations: 42.55 kB / 262.9 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.553e-05/0.005855, allocations: 28.77 kB / 262.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.005869, allocations: 0 / 262.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001231/0.005992, allocations: 79.34 kB / 263 MB, free: 12.16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.005993, allocations: 4 kB / 263 MB, free: 12.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001474/0.00614, allocations: 73.61 kB / 263.1 MB, free: 12.08 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.006176, allocations: 55.41 kB / 263.1 MB, free: 12.01 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.006287, allocations: 180.1 kB / 263.3 MB, free: 11.82 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.006306, allocations: 33.69 kB / 263.3 MB, free: 11.79 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.104e-05/0.006357, allocations: 112.5 kB / 263.5 MB, free: 11.67 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.00638, allocations: 27.75 kB / 263.5 MB, free: 11.64 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.212e-05/0.006422, allocations: 33.69 kB / 263.5 MB, free: 11.61 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.758e-05/0.0065, allocations: 334.7 kB / 263.8 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.893e-05/0.006539, allocations: 37.7 kB / 263.9 MB, free: 11.23 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.957e-05/0.006589, allocations: 77.05 kB / 264 MB, free: 11.13 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.548e-05/0.006664, allocations: 96.95 kB / 264 MB, free: 11.02 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.006666, allocations: 0 / 264 MB, free: 11.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001226/0.006789, allocations: 141 kB / 264.2 MB, free: 10.86 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.725e-05/0.006826, allocations: 33.7 kB / 264.2 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.006831, allocations: 0 / 264.2 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.468e-06/0.006841, allocations: 4 kB / 264.2 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.006945, allocations: 44 kB / 264.3 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/0.006949, allocations: 0 / 264.3 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.803e-05/0.007017, allocations: 23.88 kB / 264.3 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.699e-06/0.007026, allocations: 4 kB / 264.3 MB, free: 10.75 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 6.443e-05/0.007091, allocations: 117.8 kB / 264.4 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.664e-05/0.007107, allocations: 15.98 kB / 264.4 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.897e-05/0.007136, allocations: 17.45 kB / 264.4 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.007138, allocations: 0 / 264.4 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.00714, allocations: 4 kB / 264.4 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.007143, allocations: 4 kB / 264.4 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001012/0.007244, allocations: 101.8 kB / 264.5 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.007246, allocations: 0 / 264.5 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.982e-05/0.007296, allocations: 19.92 kB / 264.6 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.692e-05/0.007313, allocations: 15.89 kB / 264.6 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.007315, allocations: 4 kB / 264.6 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.007322, allocations: 0 / 264.6 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.007323, allocations: 0 / 264.6 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.007324, allocations: 3.938 kB / 264.6 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.007435, allocations: 113.3 kB / 264.7 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.007451, allocations: 0 / 264.7 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.76e-05/0.007509, allocations: 23.98 kB / 264.7 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.083e-05/0.00756, allocations: 15.97 kB / 264.7 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.007567, allocations: 3.984 kB / 264.7 MB, free: 10.25 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.967e-05/0.007607, allocations: 53.86 kB / 264.8 MB, free: 10.2 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007607, allocations: 0 / 264.8 MB, free: 10.2 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001156/0.007723, allocations: 27.94 kB / 264.8 MB, free: 10.17 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.807e-05/0.007811, allocations: 84.47 kB / 264.9 MB, free: 10.07 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001611/0.007972, allocations: 146 kB / 265 MB, free: 9.91 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/0.00798, allocations: 0 / 265 MB, free: 9.91 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.112e-05/0.008041, allocations: 32.78 kB / 265.1 MB, free: 9.875 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/0.008196, allocations: 39.91 kB / 265.1 MB, free: 9.836 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007617/0.008958, allocations: 260 kB / 265.4 MB, free: 9.559 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.692e-05/0.008995, allocations: 75.77 kB / 265.4 MB, free: 9.461 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.053e-05/0.009045, allocations: 21.19 kB / 265.5 MB, free: 9.441 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.009171, allocations: 75.36 kB / 265.5 MB, free: 9.367 MB / 266.7 MB Notification: Performance of SimCode: time 8.81e-07/0.009172, allocations: 0 / 265.5 MB, free: 9.367 MB / 266.7 MB Notification: Performance of Templates: time 0.003602/0.01277, allocations: 1.905 MB / 267.4 MB, free: 7.504 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.makefile [Timeout 660] (rm -f IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe ; mkfifo IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe ; head -c 1048576 < IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe >> ../files/IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.sim & ./IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5721708508208394]