Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController.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.0009096/0.0009096, allocations: 77.14 kB / 21.5 MB, free: 2.832 MB / 18.57 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.0008889/0.0008889, allocations: 138.7 kB / 24.89 MB, free: 9.277 MB / 18.57 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 0.8514/0.8514, allocations: 173.4 MB / 201.5 MB, free: 8.266 MB / 186.7 MB " [Timeout remaining time 179] 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(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.0.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.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 268.5 MB, free: 9.773 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.159e-05/1.303e-05, allocations: 6.25 kB / 268.5 MB, free: 9.766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController): time 0.00666/0.006673, allocations: 2.077 MB / 270.6 MB, free: 7.695 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007183/0.007391, allocations: 0.5373 MB / 271.1 MB, free: 7.156 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.431e-05/0.007476, allocations: 7.938 kB / 271.1 MB, free: 7.148 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.507e-05/0.007571, allocations: 15.8 kB / 271.1 MB, free: 7.133 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001139/0.007685, allocations: 27.72 kB / 271.2 MB, free: 7.105 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000174/0.007859, allocations: 61.11 kB / 271.2 MB, free: 7.047 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.007994, allocations: 135.5 kB / 271.3 MB, free: 6.914 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.903e-05/0.008093, allocations: 42.16 kB / 271.4 MB, free: 6.867 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.008224, allocations: 79.8 kB / 271.5 MB, free: 6.789 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.001e-05/0.008294, allocations: 40.86 kB / 271.5 MB, free: 6.75 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.008315, allocations: 8 kB / 271.5 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.517e-05/0.00833, allocations: 14.41 kB / 271.5 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.456e-05/0.008355, allocations: 23.91 kB / 271.6 MB, free: 6.707 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.735e-05/0.008392, allocations: 39.91 kB / 271.6 MB, free: 6.668 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00314/0.01153, allocations: 95.58 kB / 271.7 MB, free: 6.574 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.01153, allocations: 4 kB / 271.7 MB, free: 6.57 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.01153, allocations: 0 / 271.7 MB, free: 6.57 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.116e-06/0.01154, allocations: 0 / 271.7 MB, free: 6.57 MB / 250.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.0003543/0.01189, allocations: 317.4 kB / 272 MB, free: 6.238 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.866e-05/0.01192, allocations: 12.53 kB / 272 MB, free: 6.227 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.745e-05/0.01196, allocations: 28.92 kB / 272 MB, free: 6.199 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.0121, allocations: 141.5 kB / 272.2 MB, free: 6.035 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.01211, allocations: 8.375 kB / 272.2 MB, free: 6.027 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.01214, allocations: 16.38 kB / 272.2 MB, free: 6.012 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000252/0.01239, allocations: 207.8 kB / 272.4 MB, free: 5.781 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.0124, allocations: 8.188 kB / 272.4 MB, free: 5.773 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.01241, allocations: 8.312 kB / 272.4 MB, free: 5.766 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.01242, allocations: 7.938 kB / 272.4 MB, free: 5.758 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.08e-05/0.01248, allocations: 31.91 kB / 272.5 MB, free: 5.727 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003676/0.01285, allocations: 453.9 kB / 272.9 MB, free: 5.246 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.013, allocations: 107.7 kB / 273 MB, free: 5.113 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.515e-05/0.01305, allocations: 42.78 kB / 273 MB, free: 5.062 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.01306, allocations: 4 kB / 273.1 MB, free: 5.059 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.01308, allocations: 38.56 kB / 273.1 MB, free: 5.012 MB / 250.7 MB Notification: Performance of pre-optimization done (n=15): time 1.463e-06/0.01308, allocations: 4 kB / 273.1 MB, free: 5.008 MB / 250.7 MB Notification: Performance of matching and sorting (n=15): time 0.000173/0.01326, allocations: 97.53 kB / 273.2 MB, free: 4.906 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.0133, allocations: 111.2 kB / 273.3 MB, free: 4.773 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.374e-05/0.01337, allocations: 126.7 kB / 273.4 MB, free: 4.637 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.01338, allocations: 29.7 kB / 273.4 MB, free: 4.602 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.494e-05/0.01343, allocations: 112 kB / 273.6 MB, free: 4.488 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/0.01344, allocations: 27.77 kB / 273.6 MB, free: 4.461 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.591e-05/0.01348, allocations: 25.72 kB / 273.6 MB, free: 4.43 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.218e-05/0.01355, allocations: 322.8 kB / 273.9 MB, free: 4.105 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.454e-05/0.01357, allocations: 8 kB / 273.9 MB, free: 4.098 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.974e-05/0.01361, allocations: 66.91 kB / 274 MB, free: 4.008 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.624e-05/0.01367, allocations: 70.78 kB / 274.1 MB, free: 3.914 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.01367, allocations: 3.938 kB / 274.1 MB, free: 3.91 MB / 250.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 9.677e-05/0.01377, allocations: 89.72 kB / 274.2 MB, free: 3.816 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.01378, allocations: 4 kB / 274.2 MB, free: 3.812 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.01379, allocations: 48 / 274.2 MB, free: 3.812 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.948e-06/0.0138, allocations: 7.984 kB / 274.2 MB, free: 3.805 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.0139, allocations: 35.92 kB / 274.2 MB, free: 3.77 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.0139, allocations: 3.984 kB / 274.2 MB, free: 3.766 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.496e-05/0.01395, allocations: 11.94 kB / 274.2 MB, free: 3.754 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.01395, allocations: 7.938 kB / 274.2 MB, free: 3.746 MB / 250.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 6.031e-05/0.01401, allocations: 122 kB / 274.3 MB, free: 3.617 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.117e-05/0.01409, allocations: 65.61 kB / 274.4 MB, free: 3.547 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.42e-05/0.01413, allocations: 16.78 kB / 274.4 MB, free: 3.531 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.01413, allocations: 3.938 kB / 274.4 MB, free: 3.527 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.01413, allocations: 4 kB / 274.4 MB, free: 3.523 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.01414, allocations: 3.984 kB / 274.4 MB, free: 3.52 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.01429, allocations: 93.7 kB / 274.5 MB, free: 3.41 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.01429, allocations: 0 / 274.5 MB, free: 3.41 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003122/0.01741, allocations: 45.42 kB / 274.6 MB, free: 3.371 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.01741, allocations: 0 / 274.6 MB, free: 3.371 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.01742, allocations: 8 kB / 274.6 MB, free: 3.363 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.01742, allocations: 0 / 274.6 MB, free: 3.363 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.01743, allocations: 4 kB / 274.6 MB, free: 3.359 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/0.01756, allocations: 243.5 kB / 274.8 MB, free: 3.102 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.378e-05/0.01757, allocations: 11.91 kB / 274.8 MB, free: 3.09 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.01759, allocations: 8 kB / 274.8 MB, free: 3.082 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.817e-05/0.01769, allocations: 7.984 kB / 274.9 MB, free: 3.074 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.376e-05/0.01771, allocations: 4 kB / 274.9 MB, free: 3.07 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.72e-06/0.01772, allocations: 4 kB / 274.9 MB, free: 3.066 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.122e-05/0.01774, allocations: 24.78 kB / 274.9 MB, free: 3.039 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01774, allocations: 4.031 kB / 274.9 MB, free: 3.035 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002412/0.01798, allocations: 20 kB / 274.9 MB, free: 3.016 MB / 250.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.276e-05/0.01804, allocations: 92.28 kB / 275 MB, free: 2.918 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.613e-05/0.01813, allocations: 56.77 kB / 275.1 MB, free: 2.859 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.01813, allocations: 0 / 275.1 MB, free: 2.859 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.046e-05/0.01815, allocations: 16.8 kB / 275.1 MB, free: 2.84 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.01846, allocations: 55.53 kB / 275.1 MB, free: 2.785 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005191/0.01898, allocations: 311.3 kB / 275.4 MB, free: 2.449 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.018e-05/0.01903, allocations: 75.33 kB / 275.5 MB, free: 2.355 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.91e-05/0.01906, allocations: 8.969 kB / 275.5 MB, free: 2.348 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.437e-05/0.01912, allocations: 71.36 kB / 275.6 MB, free: 2.277 MB / 250.7 MB Notification: Performance of SimCode: time 3.71e-07/0.01912, allocations: 0 / 275.6 MB, free: 2.277 MB / 250.7 MB Notification: Performance of Templates: time 0.005642/0.02477, allocations: 1.274 MB / 276.9 MB, free: 1.043 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.275945421308279]