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.001152/0.001152, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001412/0.001412, allocations: 169 kB / 24.06 MB, free: 452 kB / 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 1.045/1.045, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.04919/0.04919, allocations: 8.614 MB / 269.6 MB, free: 4.777 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.583e-06/1.583e-06, allocations: 0 / 342.1 MB, free: 8.125 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/2.044e-05, allocations: 6.25 kB / 342.1 MB, free: 8.117 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP): time 0.00204/0.00206, allocations: 1.754 MB / 343.9 MB, free: 6.355 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007636/0.002824, allocations: 0.6076 MB / 344.5 MB, free: 5.742 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.65e-05/0.00292, allocations: 11.88 kB / 344.5 MB, free: 5.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000104/0.003024, allocations: 23.8 kB / 344.5 MB, free: 5.707 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.023e-05/0.003084, allocations: 23.69 kB / 344.5 MB, free: 5.684 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002467/0.003331, allocations: 83.75 kB / 344.6 MB, free: 5.602 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.003495, allocations: 183.4 kB / 344.8 MB, free: 5.422 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.155e-05/0.003587, allocations: 29.78 kB / 344.8 MB, free: 5.395 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001765/0.003763, allocations: 103.7 kB / 344.9 MB, free: 5.293 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.012e-05/0.003833, allocations: 55.78 kB / 345 MB, free: 5.238 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.003854, allocations: 16 kB / 345 MB, free: 5.223 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.242e-05/0.003896, allocations: 20 kB / 345 MB, free: 5.203 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.656e-05/0.003923, allocations: 27.86 kB / 345 MB, free: 5.176 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.758e-05/0.00396, allocations: 43.89 kB / 345.1 MB, free: 5.133 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000153/0.004113, allocations: 115.5 kB / 345.2 MB, free: 5.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.004116, allocations: 0 / 345.2 MB, free: 5.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.004117, allocations: 4 kB / 345.2 MB, free: 5.016 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.004121, allocations: 0 / 345.2 MB, free: 5.016 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.0005115/0.004633, allocations: 0.5248 MB / 345.7 MB, free: 4.449 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.004666, allocations: 16.03 kB / 345.7 MB, free: 4.434 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001187/0.004785, allocations: 32.78 kB / 345.8 MB, free: 4.402 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.004967, allocations: 197 kB / 346 MB, free: 4.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.369e-05/0.005021, allocations: 111.4 kB / 346.1 MB, free: 4.047 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.005035, allocations: 12.38 kB / 346.1 MB, free: 4.035 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.005187, allocations: 113.5 kB / 346.2 MB, free: 3.918 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.005196, allocations: 4.188 kB / 346.2 MB, free: 3.914 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.005207, allocations: 8.125 kB / 346.2 MB, free: 3.906 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.005213, allocations: 0 / 346.2 MB, free: 3.906 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.315e-05/0.005266, allocations: 27.97 kB / 346.2 MB, free: 3.879 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003293/0.005595, allocations: 352 kB / 346.6 MB, free: 3.508 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.788e-05/0.005673, allocations: 47.05 kB / 346.6 MB, free: 3.449 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.766e-05/0.005701, allocations: 23.67 kB / 346.6 MB, free: 3.422 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.005715, allocations: 0 / 346.6 MB, free: 3.422 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001049/0.00582, allocations: 101 kB / 346.7 MB, free: 3.309 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.005822, allocations: 0 / 346.7 MB, free: 3.309 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001813/0.006003, allocations: 101.7 kB / 346.8 MB, free: 3.203 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/0.006029, allocations: 59.41 kB / 346.9 MB, free: 3.133 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.079e-05/0.00611, allocations: 235.1 kB / 347.1 MB, free: 2.887 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.006122, allocations: 33.7 kB / 347.2 MB, free: 2.848 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.501e-05/0.006177, allocations: 171 kB / 347.3 MB, free: 2.676 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.427e-05/0.006191, allocations: 27.83 kB / 347.4 MB, free: 2.648 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.716e-05/0.006238, allocations: 43.34 kB / 347.4 MB, free: 2.598 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.907e-05/0.006287, allocations: 0.5 MB / 347.9 MB, free: 2.086 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.827e-05/0.006325, allocations: 37.69 kB / 347.9 MB, free: 2.043 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.445e-05/0.00637, allocations: 88.36 kB / 348 MB, free: 1.934 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.528e-05/0.006435, allocations: 88.44 kB / 348.1 MB, free: 1.824 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.006437, allocations: 3.938 kB / 348.1 MB, free: 1.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001373/0.006574, allocations: 176.8 kB / 348.3 MB, free: 1.629 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.006595, allocations: 37.8 kB / 348.3 MB, free: 1.586 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.0066, allocations: 4 kB / 348.3 MB, free: 1.582 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-06/0.00661, allocations: 3.984 kB / 348.3 MB, free: 1.578 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.697e-05/0.006697, allocations: 23.98 kB / 348.4 MB, free: 1.555 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.0067, allocations: 3.938 kB / 348.4 MB, free: 1.551 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.791e-05/0.006768, allocations: 19.92 kB / 348.4 MB, free: 1.531 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.006779, allocations: 15.92 kB / 348.4 MB, free: 1.516 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 5.549e-05/0.006834, allocations: 164.6 kB / 348.6 MB, free: 1.344 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.696e-05/0.006851, allocations: 19.91 kB / 348.6 MB, free: 1.324 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.418e-05/0.006875, allocations: 21.45 kB / 348.6 MB, free: 1.305 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.006877, allocations: 4 kB / 348.6 MB, free: 1.301 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.006879, allocations: 0 / 348.6 MB, free: 1.301 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.006882, allocations: 0 / 348.6 MB, free: 1.301 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.07e-05/0.006963, allocations: 133.1 kB / 348.7 MB, free: 1.145 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.006963, allocations: 0 / 348.7 MB, free: 1.145 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.417e-05/0.007008, allocations: 19.92 kB / 348.7 MB, free: 1.125 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.007009, allocations: 0 / 348.7 MB, free: 1.125 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.822e-06/0.007016, allocations: 0 / 348.7 MB, free: 1.125 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.007017, allocations: 3.938 kB / 348.8 MB, free: 1.121 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.007018, allocations: 7.984 kB / 348.8 MB, free: 1.113 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.007125, allocations: 132.2 kB / 348.9 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.406e-05/0.007139, allocations: 23.84 kB / 348.9 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.007162, allocations: 0 / 348.9 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.299e-05/0.007215, allocations: 11.98 kB / 348.9 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/0.00726, allocations: 27.95 kB / 349 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.007266, allocations: 0 / 349 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.617e-05/0.007302, allocations: 159.1 kB / 349.1 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007302, allocations: 0 / 349.1 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000144/0.007446, allocations: 35.94 kB / 349.1 MB, free: 0.707 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 6.036e-05/0.007506, allocations: 99.25 kB / 349.2 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001338/0.00764, allocations: 136.7 kB / 349.4 MB, free: 452 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.007641, allocations: 0 / 349.4 MB, free: 452 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.33e-05/0.007685, allocations: 43.59 kB / 349.4 MB, free: 404 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001633/0.007848, allocations: 28.25 kB / 349.4 MB, free: 376 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004381/0.008286, allocations: 273.7 kB / 349.7 MB, free: 72 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.461e-05/0.008331, allocations: 67.84 kB / 349.8 MB, free: 15.98 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.862e-05/0.008379, allocations: 9.141 kB / 349.8 MB, free: 15.98 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.522e-05/0.008474, allocations: 94.19 kB / 349.9 MB, free: 15.88 MB / 282.7 MB Notification: Performance of SimCode: time 8.32e-07/0.008475, allocations: 4 kB / 349.9 MB, free: 15.88 MB / 282.7 MB Notification: Performance of Templates: time 0.003645/0.01212, allocations: 2.141 MB / 352 MB, free: 13.78 MB / 282.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.828612084966153]