Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController.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.001068/0.001068, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.00114/0.00114, allocations: 168.7 kB / 24.91 MB, free: 9.199 MB / 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 0.9217/0.9217, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5051,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController") translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5051,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 273.5 MB, free: 1.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.152e-05/1.271e-05, allocations: 2.312 kB / 273.5 MB, free: 1.297 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController): time 0.00224/0.002253, allocations: 2.099 MB / 275.6 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006866/0.002939, allocations: 0.5606 MB / 276.1 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.307e-05/0.003022, allocations: 3.938 kB / 276.1 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.823e-05/0.003111, allocations: 19.8 kB / 276.1 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.003219, allocations: 31.78 kB / 276.2 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001644/0.003383, allocations: 55.8 kB / 276.2 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000122/0.003505, allocations: 127.5 kB / 276.4 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.436e-05/0.0036, allocations: 50.17 kB / 276.4 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.602e-05/0.003686, allocations: 75.8 kB / 276.5 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.441e-05/0.00375, allocations: 39.89 kB / 276.5 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.003769, allocations: 8 kB / 276.5 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.375e-05/0.003783, allocations: 12 kB / 276.5 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.279e-05/0.003805, allocations: 23.92 kB / 276.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.257e-05/0.003838, allocations: 43.83 kB / 276.6 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.003956, allocations: 95.64 kB / 276.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.003958, allocations: 0 / 276.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.003958, allocations: 0 / 276.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.875e-06/0.003961, allocations: 0 / 276.7 MB, free: 14.04 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0003054/0.004267, allocations: 324.4 kB / 277 MB, free: 13.7 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.674e-05/0.004293, allocations: 12.03 kB / 277 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.115e-05/0.004325, allocations: 20.92 kB / 277 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.004455, allocations: 149.5 kB / 277.2 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-06/0.004463, allocations: 8.375 kB / 277.2 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.004484, allocations: 16.38 kB / 277.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002116/0.004696, allocations: 215.7 kB / 277.4 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.004705, allocations: 192 / 277.4 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.004714, allocations: 8.375 kB / 277.4 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.00472, allocations: 7.938 kB / 277.4 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.639e-05/0.004767, allocations: 39.91 kB / 277.5 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003085/0.005075, allocations: 450 kB / 277.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.005217, allocations: 103.9 kB / 278 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.554e-05/0.005252, allocations: 46.59 kB / 278.1 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.005266, allocations: 4 kB / 278.1 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.72e-05/0.005284, allocations: 34.56 kB / 278.1 MB, free: 12.48 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.212e-06/0.005285, allocations: 0 / 278.1 MB, free: 12.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001456/0.00543, allocations: 97.52 kB / 278.2 MB, free: 12.38 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.005474, allocations: 114.8 kB / 278.3 MB, free: 12.24 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.56e-05/0.00553, allocations: 134.8 kB / 278.4 MB, free: 12.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.00554, allocations: 29.7 kB / 278.5 MB, free: 12.06 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.731e-05/0.005578, allocations: 108.1 kB / 278.6 MB, free: 11.95 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.467e-05/0.005592, allocations: 27.78 kB / 278.6 MB, free: 11.92 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.794e-05/0.00562, allocations: 21.7 kB / 278.6 MB, free: 11.89 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.515e-05/0.005685, allocations: 326.8 kB / 278.9 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.435e-05/0.0057, allocations: 11.94 kB / 279 MB, free: 11.55 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.18e-05/0.005731, allocations: 62.78 kB / 279 MB, free: 11.47 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.686e-05/0.005788, allocations: 86.77 kB / 279.1 MB, free: 11.36 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.00579, allocations: 0 / 279.1 MB, free: 11.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 7.259e-05/0.005862, allocations: 81.53 kB / 279.2 MB, free: 11.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.005873, allocations: 8 kB / 279.2 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.005877, allocations: 4.156 kB / 279.2 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.478e-06/0.005886, allocations: 8 kB / 279.2 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.338e-05/0.00597, allocations: 23.98 kB / 279.2 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.005972, allocations: 4 kB / 279.2 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.123e-05/0.006004, allocations: 15.83 kB / 279.2 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.006008, allocations: 8 kB / 279.3 MB, free: 11.2 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (PI.x) * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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.428e-05/0.006063, allocations: 121.8 kB / 279.4 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.069e-05/0.006123, allocations: 61.86 kB / 279.4 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.567e-05/0.006159, allocations: 20.77 kB / 279.5 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.006162, allocations: 7.984 kB / 279.5 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.006163, allocations: 0 / 279.5 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.006167, allocations: 4 kB / 279.5 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000105/0.006272, allocations: 89.8 kB / 279.6 MB, free: 10.87 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.006274, allocations: 4 kB / 279.6 MB, free: 10.87 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.496e-05/0.006359, allocations: 35.64 kB / 279.6 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.00636, allocations: 0 / 279.6 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.006369, allocations: 4 kB / 279.6 MB, free: 10.83 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.00637, allocations: 0 / 279.6 MB, free: 10.83 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.006373, allocations: 7.984 kB / 279.6 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.006489, allocations: 255.5 kB / 279.9 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.122e-05/0.0065, allocations: 11.89 kB / 279.9 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.006512, allocations: 4 kB / 279.9 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.811e-05/0.00657, allocations: 4 kB / 279.9 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.251e-05/0.006592, allocations: 7.984 kB / 279.9 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.006597, allocations: 4 kB / 279.9 MB, free: 10.52 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.635e-05/0.006613, allocations: 20.83 kB / 279.9 MB, free: 10.5 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.006613, allocations: 0 / 279.9 MB, free: 10.5 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000154/0.006767, allocations: 24 kB / 279.9 MB, free: 10.48 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.phi,load.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (PI.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 6.009e-05/0.006827, allocations: 96.27 kB / 280 MB, free: 10.38 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.578e-05/0.006903, allocations: 52.77 kB / 280.1 MB, free: 10.32 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.006906, allocations: 7.938 kB / 280.1 MB, free: 10.31 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.751e-05/0.006924, allocations: 16.8 kB / 280.1 MB, free: 10.29 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000229/0.007153, allocations: 43.7 kB / 280.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004581/0.007611, allocations: 327.8 kB / 280.5 MB, free: 9.898 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.394e-05/0.007655, allocations: 79.33 kB / 280.5 MB, free: 9.801 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.482e-05/0.007679, allocations: 4.984 kB / 280.5 MB, free: 9.793 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.306e-05/0.007733, allocations: 63.36 kB / 280.6 MB, free: 9.73 MB / 266.7 MB Notification: Performance of SimCode: time 4.71e-07/0.007733, allocations: 0 / 280.6 MB, free: 9.73 MB / 266.7 MB Notification: Performance of Templates: time 0.002881/0.01061, allocations: 1.286 MB / 281.9 MB, free: 8.48 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.4345385800115764]