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.001245/0.001245, allocations: 121.6 kB / 17.78 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.001289/0.001289, allocations: 203.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2351/0.2351, allocations: 46.11 MB / 344.3 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002159/0.002159, allocations: 79.88 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3596, allocations: 62.45 MB / 0.5306 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.001705/0.3613, allocations: 0.5411 MB / 0.5312 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.3626, allocations: 0.603 MB / 0.5317 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.176e-05/0.3627, allocations: 0 / 0.5317 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.628e-05/0.3628, allocations: 5 kB / 0.5318 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.458e-06/0.3628, allocations: 0 / 0.5318 GB, free: 12.48 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.0007685/0.3636, allocations: 200.9 kB / 0.5319 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.975e-05/0.3637, allocations: 28.56 kB / 0.532 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.639e-05/0.3637, allocations: 2.031 kB / 0.532 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.699e-05/0.3637, allocations: 19.69 kB / 0.532 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.009e-05/0.3638, allocations: 9.969 kB / 0.532 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.3638, allocations: 5.844 kB / 0.532 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003097/0.3641, allocations: 174.6 kB / 0.5322 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.899e-05/0.3642, allocations: 60.84 kB / 0.5322 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.446e-05/0.3643, allocations: 56.3 kB / 0.5323 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002959/0.3646, allocations: 205.4 kB / 0.5325 GB, free: 12.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3646, allocations: 0 / 0.5325 GB, free: 12.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3646, allocations: 0 / 0.5325 GB, free: 12.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.3647, allocations: 0 / 0.5325 GB, free: 12.04 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.0005812/0.3652, allocations: 0.4914 MB / 0.533 GB, free: 11.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.3653, allocations: 13.62 kB / 0.533 GB, free: 11.57 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001798/0.3655, allocations: 152.6 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.533e-05/0.3655, allocations: 37.2 kB / 0.5332 GB, free: 11.42 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.3657, allocations: 187 kB / 0.5333 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.455e-05/0.3657, allocations: 27.94 kB / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.665e-05/0.3658, allocations: 43.88 kB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004356/0.3662, allocations: 306.8 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.3663, allocations: 0 / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.3663, allocations: 9.375 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.3663, allocations: 9.484 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002616/0.3666, allocations: 213.8 kB / 0.5339 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000984/0.3676, allocations: 0.634 MB / 0.5345 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002293/0.3678, allocations: 193.5 kB / 0.5347 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002073/0.368, allocations: 184.7 kB / 0.5349 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-06/0.368, allocations: 1.375 kB / 0.5349 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002936/0.3683, allocations: 187 kB / 0.5351 GB, free: 10.06 MB / 398.1 MB Notification: Performance of pre-optimization done (n=60): time 1.493e-06/0.3683, allocations: 0 / 0.5351 GB, free: 10.06 MB / 398.1 MB Notification: Performance of matching and sorting (n=60): time 0.001333/0.3697, allocations: 0.844 MB / 0.5359 GB, free: 9.816 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.585e-05/0.3698, allocations: 108.7 kB / 0.536 GB, free: 9.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.666e-05/0.3699, allocations: 122.8 kB / 0.5361 GB, free: 9.605 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.424e-05/0.37, allocations: 70.58 kB / 0.5362 GB, free: 9.551 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.3701, allocations: 147.9 kB / 0.5363 GB, free: 9.414 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002132/0.3703, allocations: 225.5 kB / 0.5365 GB, free: 9.223 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002306/0.3705, allocations: 200.4 kB / 0.5367 GB, free: 9.105 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002114/0.3707, allocations: 349 kB / 0.5371 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005019/0.3712, allocations: 309.9 kB / 0.5374 GB, free: 8.637 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009094/0.3722, allocations: 0.6668 MB / 0.538 GB, free: 8.016 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.00211/0.3743, allocations: 1.417 MB / 0.5394 GB, free: 7.043 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.171e-05/0.3743, allocations: 4.312 kB / 0.5394 GB, free: 7.043 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