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.001119/0.001118, allocations: 117.7 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001355/0.001355, allocations: 199.8 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2429/0.2429, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 75.88 kB / 480.8 MB, free: 4.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4164/0.418, allocations: 62.44 MB / 0.5305 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.002027/0.4201, allocations: 0.5312 MB / 0.531 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.4215, allocations: 0.5983 MB / 0.5316 GB, free: 12.53 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.907e-05/0.4216, allocations: 4 kB / 0.5316 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.4217, allocations: 3.938 kB / 0.5316 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.185e-06/0.4217, allocations: 3.938 kB / 0.5316 GB, free: 12.52 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.0009646/0.4227, allocations: 209.3 kB / 0.5318 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.948e-05/0.4228, allocations: 28.5 kB / 0.5319 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.696e-05/0.4228, allocations: 3.531 kB / 0.5319 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.073e-05/0.4229, allocations: 11.17 kB / 0.5319 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.922e-05/0.4229, allocations: 17.58 kB / 0.5319 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.4229, allocations: 1.781 kB / 0.5319 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003886/0.4233, allocations: 162.9 kB / 0.5321 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.4234, allocations: 73.58 kB / 0.5321 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.767e-05/0.4235, allocations: 55.11 kB / 0.5322 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004025/0.4239, allocations: 201.6 kB / 0.5324 GB, free: 12.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.4239, allocations: 0 / 0.5324 GB, free: 12.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.424, allocations: 0 / 0.5324 GB, free: 12.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.424, allocations: 0 / 0.5324 GB, free: 12.07 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.0007491/0.4247, allocations: 490.1 kB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/0.4248, allocations: 14.36 kB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001877/0.425, allocations: 150.6 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.959e-05/0.4251, allocations: 37.34 kB / 0.533 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.4252, allocations: 194.4 kB / 0.5332 GB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.377e-05/0.4253, allocations: 33.53 kB / 0.5332 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.932e-05/0.4254, allocations: 38.72 kB / 0.5333 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004888/0.4258, allocations: 302.6 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.4259, allocations: 0 / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.72e-05/0.4259, allocations: 10.28 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.4259, allocations: 4.844 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003017/0.4262, allocations: 210.4 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.4273, allocations: 0.6412 MB / 0.5344 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002189/0.4275, allocations: 189.5 kB / 0.5346 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001901/0.4277, allocations: 189 kB / 0.5348 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.4278, allocations: 0.9688 kB / 0.5348 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003151/0.4281, allocations: 175.4 kB / 0.5349 GB, free: 10.11 MB / 398.1 MB Notification: Performance of pre-optimization done (n=60): time 2.144e-06/0.4281, allocations: 0 / 0.5349 GB, free: 10.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=60): time 0.001373/0.4295, allocations: 0.8559 MB / 0.5358 GB, free: 9.859 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.4296, allocations: 112.5 kB / 0.5359 GB, free: 9.77 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.38e-05/0.4297, allocations: 118 kB / 0.536 GB, free: 9.648 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.16e-05/0.4298, allocations: 70.42 kB / 0.5361 GB, free: 9.594 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.4299, allocations: 144.3 kB / 0.5362 GB, free: 9.461 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000209/0.4301, allocations: 211.8 kB / 0.5364 GB, free: 9.281 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002778/0.4304, allocations: 200.6 kB / 0.5366 GB, free: 9.164 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.4305, allocations: 348.9 kB / 0.5369 GB, free: 8.824 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005113/0.4311, allocations: 310.3 kB / 0.5372 GB, free: 8.695 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007519/0.4318, allocations: 0.6629 MB / 0.5379 GB, free: 8.078 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.002043/0.4339, allocations: 1.418 MB / 0.5393 GB, free: 7.105 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.034e-05/0.4339, allocations: 7.812 kB / 0.5393 GB, free: 7.102 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