Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.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.001304/0.001304, allocations: 118.5 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.001746/0.001746, allocations: 193.2 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.411/1.411, 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.06146/0.06146, allocations: 11.35 MB / 314.7 MB, free: 0.8438 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.Examples.TestI_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestI_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002524/0.002524, allocations: 59.91 kB / 438.5 MB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2641/0.2666, allocations: 54.82 MB / 493.3 MB, free: 24.16 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_tracking): time 0.003643/0.2702, allocations: 2.488 MB / 495.8 MB, free: 22.39 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002353/0.2726, allocations: 1.542 MB / 497.4 MB, free: 21.34 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002355/0.2728, allocations: 14.53 kB / 497.4 MB, free: 21.33 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006951/0.2735, allocations: 225 kB / 497.6 MB, free: 21.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003918/0.2739, allocations: 166.3 kB / 497.8 MB, free: 21.17 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.275, allocations: 449.2 kB / 498.2 MB, free: 20.95 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005881/0.2756, allocations: 0.6122 MB / 498.8 MB, free: 20.63 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.2758, allocations: 63.7 kB / 498.9 MB, free: 20.58 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002215/0.276, allocations: 231.5 kB / 499.1 MB, free: 20.45 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002832/0.2763, allocations: 252.9 kB / 499.3 MB, free: 20.29 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.436e-05/0.2763, allocations: 36.59 kB / 499.4 MB, free: 20.28 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002667/0.2766, allocations: 159 kB / 499.5 MB, free: 20.21 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.2767, allocations: 139.1 kB / 499.7 MB, free: 20.12 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001547/0.2769, allocations: 214.4 kB / 499.9 MB, free: 19.95 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005612/0.2775, allocations: 0.5535 MB / 0.4887 GB, free: 19.57 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2775, allocations: 1.125 kB / 0.4887 GB, free: 19.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2775, allocations: 0 / 0.4887 GB, free: 19.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.826e-06/0.2775, allocations: 0 / 0.4887 GB, free: 19.57 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001308/0.2788, allocations: 0.9074 MB / 0.4896 GB, free: 18.77 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.2788, allocations: 13.58 kB / 0.4896 GB, free: 18.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001242/0.2789, allocations: 60.94 kB / 0.4897 GB, free: 18.74 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005086/0.2795, allocations: 456 kB / 0.4901 GB, free: 18.36 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.342e-05/0.2795, allocations: 76.59 kB / 0.4902 GB, free: 18.28 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.153e-05/0.2796, allocations: 43.3 kB / 0.4902 GB, free: 18.26 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006281/0.2802, allocations: 465.3 kB / 0.4907 GB, free: 17.94 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.691e-05/0.2802, allocations: 2.25 kB / 0.4907 GB, free: 17.94 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.606e-05/0.2803, allocations: 12.25 kB / 0.4907 GB, free: 17.93 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.2803, allocations: 8.219 kB / 0.4907 GB, free: 17.93 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004909/0.2808, allocations: 297.4 kB / 0.491 GB, free: 17.8 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001966/0.2827, allocations: 1.844 MB / 0.4928 GB, free: 16.21 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004672/0.2832, allocations: 184.5 kB / 0.4929 GB, free: 16.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002029/0.2834, allocations: 121.2 kB / 0.493 GB, free: 16.05 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.812e-05/0.2835, allocations: 2.25 kB / 0.4931 GB, free: 16.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003319/0.2838, allocations: 214.5 kB / 0.4933 GB, free: 15.9 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 1.823e-06/0.2838, allocations: 0 / 0.4933 GB, free: 15.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=27): time 0.0009121/0.2847, allocations: 499.5 kB / 0.4937 GB, free: 15.65 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.2848, allocations: 115.4 kB / 0.4938 GB, free: 15.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005059/0.2853, allocations: 0.52 MB / 0.4944 GB, free: 15.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.2853, allocations: 32.02 kB / 0.4944 GB, free: 15.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.2854, allocations: 278.9 kB / 0.4946 GB, free: 14.92 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.645e-05/0.2855, allocations: 91.97 kB / 0.4947 GB, free: 14.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.2856, allocations: 88.7 kB / 0.4948 GB, free: 14.78 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.954e-05/0.2857, allocations: 364.3 kB / 0.4952 GB, free: 14.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002181/0.2859, allocations: 124 kB / 0.4953 GB, free: 14.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002707/0.2862, allocations: 288.7 kB / 0.4956 GB, free: 14.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001428/0.2876, allocations: 0.7883 MB / 0.4963 GB, free: 13.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.2876, allocations: 5.25 kB / 0.4963 GB, free: 13.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008568/0.2885, allocations: 0.5556 MB / 0.4969 GB, free: 13.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.621e-05/0.2885, allocations: 39.97 kB / 0.4969 GB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.2885, allocations: 3.938 kB / 0.4969 GB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.2885, allocations: 6.344 kB / 0.4969 GB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000589/0.2891, allocations: 104.5 kB / 0.497 GB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/0.2891, allocations: 10.44 kB / 0.497 GB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002494/0.2894, allocations: 50.97 kB / 0.4971 GB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.572e-05/0.2894, allocations: 20.56 kB / 0.4971 GB, free: 13.13 MB / 366.1 MB Warning: Assuming fixed start value for the following 6 variables: processTrack.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real processTrack.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] processTrack.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] process.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real process.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] process.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.TSsignal.combiTimeTable.nextTimeEvent,$whenCondition2,TrackRef.nextEventScaled,TrackRef.nextEvent,$PRE.TrackRef.nextEvent,TrackRef.last,TrackRef.b,TrackRef.a,TSsignal.combiTimeTable.nextTimeEventScaled,$PRE.TSsignal.combiTimeTable.nextTimeEventScaled,TSsignal.combiTimeTable.nextTimeEvent,R_track.ts,$whenCondition1,R.TS_in,R_track.satLOW_in,R_track.satHIGH_in,R_track.ATreq_in,R.satLOW_in,R.satHIGH_in,R.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * 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.0002887/0.2897, allocations: 256.5 kB / 0.4973 GB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.645e-05/0.2898, allocations: 51.02 kB / 0.4974 GB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007364/0.2905, allocations: 444.6 kB / 0.4978 GB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.2905, allocations: 3 kB / 0.4978 GB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2905, allocations: 0 / 0.4978 GB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.2905, allocations: 9.078 kB / 0.4978 GB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004021/0.2909, allocations: 443.2 kB / 0.4983 GB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2909, allocations: 0 / 0.4983 GB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006031/0.2915, allocations: 70.14 kB / 0.4983 GB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.2915, allocations: 1.469 kB / 0.4983 GB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.067e-05/0.2916, allocations: 9.562 kB / 0.4983 GB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.2916, allocations: 3.984 kB / 0.4983 GB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.2916, allocations: 1.031 kB / 0.4983 GB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009111/0.2925, allocations: 0.6099 MB / 0.4989 GB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.024e-05/0.2926, allocations: 123 kB / 0.499 GB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.499e-05/0.2926, allocations: 13.84 kB / 0.4991 GB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.2928, allocations: 11.48 kB / 0.4991 GB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.249e-05/0.2928, allocations: 29.33 kB / 0.4991 GB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.009e-05/0.2929, allocations: 12.25 kB / 0.4991 GB, free: 11.74 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003373/0.2932, allocations: 359.2 kB / 0.4995 GB, free: 11.53 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2932, allocations: 5.375 kB / 0.4995 GB, free: 11.53 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004614/0.2937, allocations: 115.6 kB / 0.4996 GB, free: 11.5 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (R.Iout,R_track.Iout,process.Y[3],process.U[2],process.w,processTrack.Y[3],processTrack.U[2],processTrack.w) * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,R_track.ts,TSsignal.combiTimeTable.nextTimeEvent,TSsignal.combiTimeTable.nextTimeEventScaled,TrackRef.a,TrackRef.b,TrackRef.last,TrackRef.nextEvent,TrackRef.nextEventScaled) * Number of discrete states: 8 (TrackRef.nextEvent,TrackRef.last,TrackRef.nextEventScaled,TrackRef.b,TrackRef.a,$whenCondition1,TSsignal.combiTimeTable.nextTimeEventScaled,TSsignal.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.001484/0.2952, allocations: 455.4 kB / 0.5 GB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006437/0.2958, allocations: 396.8 kB / 0.5004 GB, free: 11.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/0.2958, allocations: 0 / 0.5004 GB, free: 11.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002655/0.2961, allocations: 195.9 kB / 0.5006 GB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004319/0.2965, allocations: 80.41 kB / 0.5006 GB, free: 10.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.2977, allocations: 0.9564 MB / 0.5016 GB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.298, allocations: 0.8625 MB / 0.5024 GB, free: 9.512 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.2981, allocations: 39.72 kB / 0.5025 GB, free: 9.5 MB / 366.1 MB Notification: Performance of SimCode: time 6.91e-07/0.2981, allocations: 0 / 0.5025 GB, free: 9.5 MB / 366.1 MB Notification: Performance of Templates: time 0.008313/0.3064, allocations: 6.343 MB / 0.5087 GB, free: 4.824 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.966121582081541] Failed to read output from testmodel.py, exit status != 0: 0.3159113808069378 0.326627729 0.046166974 Calling exit ...