Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.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.001986/0.001986, allocations: 112.3 kB / 21.18 MB, free: 0.6289 MB / 14.72 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.002242/0.002242, allocations: 211 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.493/1.493, allocations: 230.4 MB / 258.1 MB, free: 8.16 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.ClockedWithDiscretizedContinuousController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5051,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController") translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5051,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 63.84 kB / 378.7 MB, free: 2.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3071, allocations: 53.33 MB / 432 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.003907/0.311, allocations: 2.097 MB / 434.1 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.3121, allocations: 0.5454 MB / 434.7 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.3122, allocations: 0 / 434.7 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001374/0.3123, allocations: 23.8 kB / 434.7 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.806e-05/0.3124, allocations: 27.72 kB / 434.7 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002626/0.3127, allocations: 58.12 kB / 434.8 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002009/0.3129, allocations: 127.6 kB / 434.9 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/0.313, allocations: 45.78 kB / 435 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.028e-05/0.3131, allocations: 51.73 kB / 435 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.3132, allocations: 59.7 kB / 435.1 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.6e-05/0.3133, allocations: 8 kB / 435.1 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.177e-05/0.3133, allocations: 12 kB / 435.1 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.347e-05/0.3133, allocations: 23.92 kB / 435.1 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.877e-05/0.3134, allocations: 63.66 kB / 435.2 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002119/0.3136, allocations: 133.3 kB / 435.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3136, allocations: 0 / 435.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3136, allocations: 0 / 435.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.3136, allocations: 0 / 435.3 MB, free: 4.117 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007519/0.3144, allocations: 438.8 kB / 435.7 MB, free: 3.641 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.3144, allocations: 12.03 kB / 435.7 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.461e-05/0.3145, allocations: 16.84 kB / 435.8 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003034/0.3148, allocations: 212.2 kB / 436 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.3148, allocations: 12.31 kB / 436 MB, free: 3.355 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.506e-05/0.3148, allocations: 16.38 kB / 436 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005229/0.3153, allocations: 239.4 kB / 436.2 MB, free: 3.082 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.3153, allocations: 4 kB / 436.2 MB, free: 3.078 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.3154, allocations: 0 / 436.2 MB, free: 3.078 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-06/0.3154, allocations: 8 kB / 436.2 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002685/0.3156, allocations: 83.88 kB / 436.3 MB, free: 2.988 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007635/0.3164, allocations: 0.596 MB / 436.9 MB, free: 2.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003625/0.3168, allocations: 143.9 kB / 437.1 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001813/0.3169, allocations: 74.62 kB / 437.1 MB, free: 2.07 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.708e-05/0.317, allocations: 4 kB / 437.1 MB, free: 2.066 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.317, allocations: 34.5 kB / 437.2 MB, free: 2.023 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.317, allocations: 0 / 437.2 MB, free: 2.023 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005566/0.3176, allocations: 185.5 kB / 437.3 MB, free: 1.836 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.402e-05/0.3176, allocations: 106.8 kB / 437.4 MB, free: 1.707 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.3178, allocations: 141.2 kB / 437.6 MB, free: 1.562 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.3178, allocations: 25.7 kB / 437.6 MB, free: 1.531 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.182e-05/0.3179, allocations: 120 kB / 437.7 MB, free: 1.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.165e-05/0.3179, allocations: 19.86 kB / 437.7 MB, free: 1.391 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.179e-05/0.3179, allocations: 33.7 kB / 437.8 MB, free: 1.352 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.3181, allocations: 327.2 kB / 438.1 MB, free: 1.023 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.3182, allocations: 40 kB / 438.1 MB, free: 0.9844 MB / 334.1 MB Error: Internal error BackendDAEOptimize.partitionIndependentBlocks failed without good error message Error: No system for the symbolic initialization was generated Error: Internal error SimCode DAEmode: The model Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController could not be translated " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.5665397020056844] Failed to read output from testmodel.py, exit status != 0: ['time', 'load.phi', 'load.w', 'PI.x', 'PI.y'] 0.3265512580983341 0.34218890700000004 0.025382663000000003 Calling exit ...