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.001053/0.001053, allocations: 117.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001307/0.001307, allocations: 208.5 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2539/0.2539, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 75.88 kB / 480.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3858/0.3873, allocations: 62.44 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.001713/0.3891, allocations: 0.5277 MB / 0.531 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.3903, allocations: 0.5945 MB / 0.5316 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.229e-05/0.3904, allocations: 0 / 0.5316 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.583e-05/0.3905, allocations: 11.92 kB / 0.5316 GB, free: 12.56 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.072e-06/0.3905, allocations: 5.906 kB / 0.5316 GB, free: 12.55 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.0007438/0.3913, allocations: 202.1 kB / 0.5318 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.832e-05/0.3913, allocations: 29.8 kB / 0.5319 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.402e-05/0.3914, allocations: 6.516 kB / 0.5319 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.368e-05/0.3914, allocations: 10.56 kB / 0.5319 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.132e-05/0.3915, allocations: 18 kB / 0.5319 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.3915, allocations: 1.25 kB / 0.5319 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000288/0.3918, allocations: 164.8 kB / 0.532 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.705e-05/0.3919, allocations: 68.73 kB / 0.5321 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.996e-05/0.392, allocations: 50.53 kB / 0.5322 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00027/0.3922, allocations: 206.6 kB / 0.5324 GB, free: 12.11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3923, allocations: 0 / 0.5324 GB, free: 12.11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3923, allocations: 0 / 0.5324 GB, free: 12.11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.3923, allocations: 4 kB / 0.5324 GB, free: 12.11 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.0006313/0.3929, allocations: 494.3 kB / 0.5328 GB, free: 11.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.393, allocations: 9.625 kB / 0.5328 GB, free: 11.66 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001844/0.3932, allocations: 150.7 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.669e-05/0.3932, allocations: 34.44 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.3933, allocations: 202.8 kB / 0.5332 GB, free: 11.28 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.364e-05/0.3934, allocations: 27.94 kB / 0.5332 GB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.687e-05/0.3934, allocations: 43.97 kB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004072/0.3938, allocations: 309.9 kB / 0.5336 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.3939, allocations: 0 / 0.5336 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.3939, allocations: 6.5 kB / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.3939, allocations: 4.719 kB / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002551/0.3942, allocations: 217.4 kB / 0.5338 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009394/0.3951, allocations: 0.6272 MB / 0.5344 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002026/0.3953, allocations: 196.2 kB / 0.5346 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/0.3955, allocations: 185.2 kB / 0.5348 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.3955, allocations: 4.938 kB / 0.5348 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002795/0.3958, allocations: 175.5 kB / 0.5349 GB, free: 10.14 MB / 398.1 MB Notification: Performance of pre-optimization done (n=60): time 1.222e-06/0.3958, allocations: 0 / 0.5349 GB, free: 10.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=60): time 0.001286/0.3971, allocations: 0.8482 MB / 0.5358 GB, free: 9.898 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.829e-05/0.3972, allocations: 104.1 kB / 0.5359 GB, free: 9.816 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.787e-05/0.3973, allocations: 123.7 kB / 0.536 GB, free: 9.691 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.456e-05/0.3974, allocations: 69.12 kB / 0.5361 GB, free: 9.637 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.288e-05/0.3975, allocations: 148.1 kB / 0.5362 GB, free: 9.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001632/0.3976, allocations: 217 kB / 0.5364 GB, free: 9.316 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002214/0.3979, allocations: 195.8 kB / 0.5366 GB, free: 9.203 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.398, allocations: 354.2 kB / 0.5369 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004699/0.3985, allocations: 300.8 kB / 0.5372 GB, free: 8.738 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007488/0.3992, allocations: 0.6675 MB / 0.5379 GB, free: 8.117 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.002006/0.4013, allocations: 1.417 MB / 0.5392 GB, free: 7.145 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.541e-05/0.4013, allocations: 4.531 kB / 0.5393 GB, free: 7.145 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