Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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: "" <> buildModelFMU(ModelicaTest.Math.Random.TestRandomNumbers,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_Random_TestRandomNumbers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestRandomNumbers,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_Random_TestRandomNumbers",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001586/0.001586, allocations: 118.2 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002106/0.002106, allocations: 202 kB / 18.73 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2319/0.2319, allocations: 46.09 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 75.88 kB / 480.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4399/0.4414, allocations: 62.43 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.001616/0.443, allocations: 0.5329 MB / 0.531 GB, free: 13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.4442, allocations: 0.602 MB / 0.5316 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.098e-05/0.4442, allocations: 3.938 kB / 0.5316 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 8.834e-05/0.4443, allocations: 9.438 kB / 0.5316 GB, free: 12.53 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.018e-06/0.4443, allocations: 0 / 0.5316 GB, free: 12.53 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:842:5-926:22:writable] Warning: Pure function 'ModelicaTest.Math.Random.randomNumbers' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0007173/0.4451, allocations: 194.6 kB / 0.5318 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.374e-05/0.4451, allocations: 30.5 kB / 0.5319 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.378e-05/0.4452, allocations: 1.312 kB / 0.5319 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.403e-05/0.4452, allocations: 15.52 kB / 0.5319 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.407e-05/0.4453, allocations: 15.7 kB / 0.5319 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.4453, allocations: 0 / 0.5319 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002801/0.4456, allocations: 175.4 kB / 0.532 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.28e-05/0.4457, allocations: 62.88 kB / 0.5321 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.357e-05/0.4457, allocations: 52.78 kB / 0.5322 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002912/0.446, allocations: 206 kB / 0.5324 GB, free: 12.1 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.446, allocations: 0 / 0.5324 GB, free: 12.1 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4461, allocations: 0 / 0.5324 GB, free: 12.1 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.4461, allocations: 1.438 kB / 0.5324 GB, free: 12.1 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0005554/0.4466, allocations: 0.4917 MB / 0.5328 GB, free: 11.63 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.4467, allocations: 9.156 kB / 0.5328 GB, free: 11.63 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000148/0.4468, allocations: 150.9 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.505e-05/0.4469, allocations: 41.28 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.447, allocations: 195.8 kB / 0.5332 GB, free: 11.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/0.4471, allocations: 27.28 kB / 0.5332 GB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.849e-05/0.4471, allocations: 44.47 kB / 0.5333 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003822/0.4475, allocations: 302.7 kB / 0.5336 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.4475, allocations: 0 / 0.5336 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.4475, allocations: 9.5 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.4475, allocations: 5.656 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002546/0.4478, allocations: 217.4 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008626/0.4487, allocations: 0.6337 MB / 0.5344 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/0.4489, allocations: 209.1 kB / 0.5346 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/0.4491, allocations: 181.4 kB / 0.5348 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-06/0.4491, allocations: 1.094 kB / 0.5348 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002705/0.4494, allocations: 175.6 kB / 0.535 GB, free: 10.11 MB / 398.1 MB Notification: Performance of pre-optimization done (n=60): time 1.433e-06/0.4494, allocations: 0 / 0.535 GB, free: 10.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=60): time 0.001261/0.4506, allocations: 0.8476 MB / 0.5358 GB, free: 9.867 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.917e-05/0.4507, allocations: 108 kB / 0.5359 GB, free: 9.781 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.328e-05/0.4508, allocations: 127.6 kB / 0.536 GB, free: 9.652 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.119e-05/0.4509, allocations: 70.52 kB / 0.5361 GB, free: 9.598 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.716e-05/0.451, allocations: 143.3 kB / 0.5362 GB, free: 9.465 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001641/0.4512, allocations: 222.3 kB / 0.5364 GB, free: 9.277 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002392/0.4514, allocations: 195.5 kB / 0.5366 GB, free: 9.164 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.4516, allocations: 357.4 kB / 0.5369 GB, free: 8.816 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004712/0.4521, allocations: 306 kB / 0.5372 GB, free: 8.691 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006852/0.4528, allocations: 0.6664 MB / 0.5379 GB, free: 8.07 MB / 398.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.002004/0.4548, allocations: 1.418 MB / 0.5393 GB, free: 7.098 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.531e-05/0.4548, allocations: 4.344 kB / 0.5393 GB, free: 7.098 MB / 398.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:332:7-332:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed (Purely discrete algebraic loops cannot be solved by iterative processes. Try to break them open using the delay() operator.) $PRE.state33[33] state33[33] $PRE.state33[33] = state33[33] state33[33] = $PRE.state33[33] [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: $PRE.state33[33] state33[33] equations: $PRE.state33[33] = state33[33] state33[33] = $PRE.state33[33] [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed Error: No system for the symbolic initialization was generated