Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.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.001739/0.001739, allocations: 106.5 kB / 21.2 MB, free: 0.6406 MB / 14.72 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.001486/0.001486, allocations: 216.6 kB / 24.49 MB, free: 3.93 MB / 14.72 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 1.437/1.437, allocations: 230.6 MB / 258.3 MB, free: 7.75 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+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.ClockedWithDiscretizedContinuousController,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.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_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 55.91 kB / 379 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2391, allocations: 53.36 MB / 432.3 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.003674/0.2427, allocations: 2.023 MB / 434.3 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.2438, allocations: 0.5181 MB / 434.9 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.2439, allocations: 4 kB / 434.9 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001215/0.2441, allocations: 15.8 kB / 434.9 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.338e-05/0.2441, allocations: 27.73 kB / 434.9 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002922/0.2444, allocations: 59.88 kB / 435 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002033/0.2446, allocations: 123.6 kB / 435.1 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.2448, allocations: 53.56 kB / 435.1 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.258e-05/0.2449, allocations: 51.8 kB / 435.2 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.809e-05/0.245, allocations: 63.7 kB / 435.3 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.997e-05/0.245, allocations: 8 kB / 435.3 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.533e-05/0.245, allocations: 12 kB / 435.3 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.349e-05/0.2451, allocations: 27.91 kB / 435.3 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.303e-05/0.2451, allocations: 47.73 kB / 435.4 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002253/0.2454, allocations: 126.4 kB / 435.5 MB, free: 3.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2454, allocations: 0 / 435.5 MB, free: 3.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.2454, allocations: 0 / 435.5 MB, free: 3.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.2454, allocations: 0 / 435.5 MB, free: 3.52 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.0006642/0.246, allocations: 368.3 kB / 435.8 MB, free: 3.133 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.2461, allocations: 8.031 kB / 435.8 MB, free: 3.125 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.172e-05/0.2461, allocations: 16.84 kB / 435.9 MB, free: 3.109 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003011/0.2464, allocations: 150.3 kB / 436 MB, free: 2.938 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.2465, allocations: 8.375 kB / 436 MB, free: 2.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.576e-05/0.2465, allocations: 16.33 kB / 436 MB, free: 2.914 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005803/0.2471, allocations: 243.5 kB / 436.3 MB, free: 2.652 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.2471, allocations: 4 kB / 436.3 MB, free: 2.648 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/0.2471, allocations: 4 kB / 436.3 MB, free: 2.645 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.2471, allocations: 4 kB / 436.3 MB, free: 2.641 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000277/0.2474, allocations: 87.81 kB / 436.4 MB, free: 2.555 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007366/0.2482, allocations: 496.4 kB / 436.9 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004027/0.2486, allocations: 147.9 kB / 437 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.2487, allocations: 74.61 kB / 437.1 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.2488, allocations: 4 kB / 437.1 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.2488, allocations: 42.5 kB / 437.1 MB, free: 1.715 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.2488, allocations: 3.938 kB / 437.1 MB, free: 1.711 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005592/0.2494, allocations: 177.4 kB / 437.3 MB, free: 1.531 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.376e-05/0.2494, allocations: 118.8 kB / 437.4 MB, free: 1.391 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.2496, allocations: 134.2 kB / 437.5 MB, free: 1.25 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/0.2496, allocations: 25.7 kB / 437.6 MB, free: 1.219 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.948e-05/0.2497, allocations: 116.1 kB / 437.7 MB, free: 1.102 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.984e-05/0.2497, allocations: 27.78 kB / 437.7 MB, free: 1.074 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-05/0.2498, allocations: 29.72 kB / 437.7 MB, free: 1.039 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.2499, allocations: 326.8 kB / 438.1 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.2501, allocations: 31.97 kB / 438.1 MB, free: 0.6797 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.363531929004239] Failed to read output from testmodel.py, exit status != 0: ['time', 'load.phi', 'load.w', 'PI.x', 'PI.y'] 0.25844833200244466 0.275792987 0.027085923 Calling exit ...