Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001078/0.001078, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001034/0.001034, allocations: 168.6 kB / 24.91 MB, free: 8.766 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9898/0.9898, allocations: 177 MB / 205.2 MB, free: 5.039 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 3.938 kB / 273.4 MB, free: 1.055 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.719e-05/1.84e-05, allocations: 5.266 kB / 273.4 MB, free: 1.051 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController): time 0.002503/0.002522, allocations: 2.096 MB / 275.5 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007616/0.003283, allocations: 0.5606 MB / 276.1 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.581e-05/0.003369, allocations: 4 kB / 276.1 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.003476, allocations: 15.8 kB / 276.1 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001228/0.003599, allocations: 35.7 kB / 276.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001758/0.003775, allocations: 59.81 kB / 276.2 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.003912, allocations: 127.5 kB / 276.3 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.00402, allocations: 50.17 kB / 276.3 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.884e-05/0.004109, allocations: 67.81 kB / 276.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.057e-05/0.00418, allocations: 39.89 kB / 276.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.004202, allocations: 12 kB / 276.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.472e-05/0.004216, allocations: 8 kB / 276.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.606e-05/0.004242, allocations: 31.89 kB / 276.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.477e-05/0.004277, allocations: 43.84 kB / 276.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.004414, allocations: 95.58 kB / 276.6 MB, free: 13.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.004416, allocations: 0 / 276.6 MB, free: 13.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.004416, allocations: 4 kB / 276.6 MB, free: 13.79 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.004423, allocations: 0 / 276.6 MB, free: 13.79 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.0003558/0.004779, allocations: 320.5 kB / 276.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.996e-05/0.004809, allocations: 11.98 kB / 277 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.851e-05/0.004848, allocations: 24.91 kB / 277 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.004996, allocations: 149.4 kB / 277.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.005009, allocations: 12.38 kB / 277.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/0.005032, allocations: 12.38 kB / 277.2 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.005263, allocations: 211.8 kB / 277.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.005274, allocations: 4.125 kB / 277.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.005283, allocations: 4.375 kB / 277.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.00529, allocations: 7.938 kB / 277.4 MB, free: 12.97 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.048e-05/0.00534, allocations: 39.91 kB / 277.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003718/0.005712, allocations: 454 kB / 277.9 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.005877, allocations: 103.9 kB / 278 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.291e-05/0.00592, allocations: 46.64 kB / 278 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.005936, allocations: 0 / 278 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.005959, allocations: 42.48 kB / 278 MB, free: 12.22 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.292e-06/0.00596, allocations: 0 / 278 MB, free: 12.22 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001649/0.006125, allocations: 93.59 kB / 278.1 MB, free: 12.12 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/0.006181, allocations: 114.8 kB / 278.3 MB, free: 11.98 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.735e-05/0.006248, allocations: 133.6 kB / 278.4 MB, free: 11.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.006263, allocations: 29.83 kB / 278.4 MB, free: 11.81 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.89e-05/0.006311, allocations: 112 kB / 278.5 MB, free: 11.7 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.00633, allocations: 23.8 kB / 278.5 MB, free: 11.67 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-05/0.00637, allocations: 29.69 kB / 278.6 MB, free: 11.64 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.29e-05/0.006453, allocations: 326.8 kB / 278.9 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.354e-05/0.006467, allocations: 4 kB / 278.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.99e-05/0.006506, allocations: 66.75 kB / 279 MB, free: 11.21 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.612e-05/0.006573, allocations: 82.75 kB / 279 MB, free: 11.11 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.006576, allocations: 4 kB / 279 MB, free: 11.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 9.014e-05/0.006666, allocations: 85.47 kB / 279.1 MB, free: 11.02 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.006678, allocations: 4 kB / 279.1 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.006684, allocations: 4.234 kB / 279.1 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.006695, allocations: 0 / 279.1 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.559e-05/0.00679, allocations: 32.2 kB / 279.2 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.006796, allocations: 7.938 kB / 279.2 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.447e-05/0.00683, allocations: 19.81 kB / 279.2 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.006838, allocations: 7.984 kB / 279.2 MB, free: 10.94 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.851e-05/0.006897, allocations: 113.8 kB / 279.3 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.445e-05/0.006961, allocations: 65.61 kB / 279.4 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.556e-05/0.006997, allocations: 16.78 kB / 279.4 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.007, allocations: 4 kB / 279.4 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.007002, allocations: 0 / 279.4 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.007005, allocations: 4 kB / 279.4 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.007125, allocations: 101.7 kB / 279.5 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.007127, allocations: 0 / 279.5 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.099e-05/0.007218, allocations: 35.92 kB / 279.5 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.007222, allocations: 4 kB / 279.5 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.007232, allocations: 0 / 279.5 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.007234, allocations: 3.984 kB / 279.5 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.007235, allocations: 4 kB / 279.6 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/0.007374, allocations: 239.6 kB / 279.8 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.472e-05/0.007388, allocations: 11.95 kB / 279.8 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.007402, allocations: 4.094 kB / 279.8 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.056e-05/0.007462, allocations: 12 kB / 279.8 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.703e-05/0.007489, allocations: 7.922 kB / 279.8 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.007493, allocations: 4 kB / 279.8 MB, free: 10.27 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.032e-05/0.007513, allocations: 24.83 kB / 279.8 MB, free: 10.24 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007513, allocations: 0 / 279.8 MB, free: 10.24 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000154/0.007667, allocations: 31.88 kB / 279.9 MB, free: 10.21 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.69e-05/0.007734, allocations: 84.36 kB / 280 MB, free: 10.12 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.852e-05/0.007813, allocations: 56.77 kB / 280 MB, free: 10.06 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.007815, allocations: 0 / 280 MB, free: 10.06 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.867e-05/0.007834, allocations: 20.84 kB / 280 MB, free: 10.04 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.00807, allocations: 43.05 kB / 280.1 MB, free: 9.996 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005431/0.008613, allocations: 323.8 kB / 280.4 MB, free: 9.648 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.765e-05/0.008661, allocations: 75.33 kB / 280.5 MB, free: 9.555 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.744e-05/0.008689, allocations: 8.984 kB / 280.5 MB, free: 9.543 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.623e-05/0.008755, allocations: 71.3 kB / 280.5 MB, free: 9.473 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.008755, allocations: 0 / 280.5 MB, free: 9.473 MB / 266.7 MB Notification: Performance of Templates: time 0.002732/0.01149, allocations: 1.278 MB / 281.8 MB, free: 8.234 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController.sim & ./Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.5746983913704753]