Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_Math_Random_TestRandomNumbers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestRandomNumbers,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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.001314/0.001314, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00141/0.00141, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, 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 4.1.0-beta.om/package.mo): time 0.245/0.245, allocations: 46.12 MB / 344.4 MB, free: 11.46 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002268/0.002268, allocations: 79.88 kB / 480.9 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3462, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.001715/0.3479, allocations: 0.5315 MB / 0.5311 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001264/0.3492, allocations: 0.5979 MB / 0.5317 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.528e-05/0.3492, allocations: 0 / 0.5317 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.412e-05/0.3493, allocations: 7.875 kB / 0.5317 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.599e-06/0.3493, allocations: 5.562 kB / 0.5317 GB, free: 12.51 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.0007211/0.3501, allocations: 199.8 kB / 0.5319 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.793e-05/0.3502, allocations: 29.31 kB / 0.532 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.823e-05/0.3502, allocations: 2.906 kB / 0.532 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.788e-05/0.3502, allocations: 14.39 kB / 0.532 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.404e-05/0.3503, allocations: 14.2 kB / 0.532 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.3503, allocations: 1.25 kB / 0.532 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00032/0.3506, allocations: 171.2 kB / 0.5321 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.932e-05/0.3507, allocations: 64.89 kB / 0.5322 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.516e-05/0.3508, allocations: 55.73 kB / 0.5323 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003049/0.3511, allocations: 201 kB / 0.5325 GB, free: 12.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3511, allocations: 5.219 kB / 0.5325 GB, free: 12.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3511, allocations: 0 / 0.5325 GB, free: 12.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.3511, allocations: 0 / 0.5325 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.0005897/0.3517, allocations: 0.4914 MB / 0.5329 GB, free: 11.61 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.3518, allocations: 9.625 kB / 0.533 GB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001562/0.3519, allocations: 155.2 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.102e-05/0.352, allocations: 38.58 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.3522, allocations: 190.9 kB / 0.5333 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/0.3522, allocations: 27.94 kB / 0.5333 GB, free: 11.22 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.625e-05/0.3523, allocations: 47.88 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000411/0.3527, allocations: 302.2 kB / 0.5337 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.3527, allocations: 0 / 0.5337 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.3527, allocations: 10.44 kB / 0.5337 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.3527, allocations: 4.719 kB / 0.5337 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003231/0.3531, allocations: 213.1 kB / 0.5339 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009362/0.354, allocations: 0.6341 MB / 0.5345 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.3542, allocations: 193.4 kB / 0.5347 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.3544, allocations: 189.6 kB / 0.5349 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/0.3544, allocations: 1.375 kB / 0.5349 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002538/0.3547, allocations: 174.8 kB / 0.535 GB, free: 10.1 MB / 398.1 MB Notification: Performance of pre-optimization done (n=60): time 1.233e-06/0.3547, allocations: 0 / 0.535 GB, free: 10.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=60): time 0.001228/0.3559, allocations: 0.8481 MB / 0.5359 GB, free: 9.852 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.433e-05/0.356, allocations: 108.9 kB / 0.536 GB, free: 9.766 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.623e-05/0.3561, allocations: 126 kB / 0.5361 GB, free: 9.637 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.192e-05/0.3562, allocations: 71.52 kB / 0.5362 GB, free: 9.582 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.3563, allocations: 147 kB / 0.5363 GB, free: 9.445 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000249/0.3565, allocations: 226.5 kB / 0.5365 GB, free: 9.254 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002375/0.3568, allocations: 195.8 kB / 0.5367 GB, free: 9.141 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.3569, allocations: 348.6 kB / 0.537 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004385/0.3574, allocations: 318.2 kB / 0.5373 GB, free: 8.664 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000755/0.3582, allocations: 0.6592 MB / 0.538 GB, free: 8.051 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.001995/0.3602, allocations: 1.421 MB / 0.5394 GB, free: 7.074 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.118e-05/0.3602, allocations: 4.406 kB / 0.5394 GB, free: 7.074 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