Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.Random.TestRandomNumbers,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestRandomNumbers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestRandomNumbers,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestRandomNumbers",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001156, allocations: 110.4 kB / 17.78 MB, free: 5.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 187.1 kB / 18.71 MB, free: 4.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 242.4 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2151/0.2151, allocations: 44.19 MB / 336.8 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 67.89 kB / 470 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3152, allocations: 60.83 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.001681/0.317, allocations: 0.5276 MB / 0.5189 GB, free: 2.973 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.3181, allocations: 0.6103 MB / 0.5195 GB, free: 2.566 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.093e-05/0.3181, allocations: 1.406 kB / 0.5195 GB, free: 2.566 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.73e-05/0.3182, allocations: 9.234 kB / 0.5195 GB, free: 2.559 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.869e-06/0.3182, allocations: 0 / 0.5195 GB, free: 2.559 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.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.0007893/0.319, allocations: 200.7 kB / 0.5197 GB, free: 2.469 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.665e-05/0.3191, allocations: 28.88 kB / 0.5198 GB, free: 2.461 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.574e-05/0.3192, allocations: 7.078 kB / 0.5198 GB, free: 2.457 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.877e-05/0.3192, allocations: 9.516 kB / 0.5198 GB, free: 2.457 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.025e-05/0.3192, allocations: 16.44 kB / 0.5198 GB, free: 2.445 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.001e-05/0.3193, allocations: 1.469 kB / 0.5198 GB, free: 2.445 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003218/0.3196, allocations: 175.7 kB / 0.52 GB, free: 2.383 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.109e-05/0.3197, allocations: 63.36 kB / 0.52 GB, free: 2.363 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.772e-05/0.3197, allocations: 54.31 kB / 0.5201 GB, free: 2.328 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003657/0.3201, allocations: 200 kB / 0.5203 GB, free: 2.266 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3201, allocations: 0 / 0.5203 GB, free: 2.266 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3201, allocations: 0 / 0.5203 GB, free: 2.266 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.3201, allocations: 1.219 kB / 0.5203 GB, free: 2.266 MB / 382.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.0005257/0.3207, allocations: 494.7 kB / 0.5207 GB, free: 1.832 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.3207, allocations: 8.781 kB / 0.5208 GB, free: 1.832 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001282/0.3209, allocations: 155.9 kB / 0.5209 GB, free: 1.715 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.958e-05/0.3209, allocations: 38.06 kB / 0.5209 GB, free: 1.695 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.139e-05/0.321, allocations: 196 kB / 0.5211 GB, free: 1.473 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.997e-05/0.3211, allocations: 29.38 kB / 0.5212 GB, free: 1.461 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.335e-05/0.3211, allocations: 43.16 kB / 0.5212 GB, free: 1.445 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00042/0.3215, allocations: 302.4 kB / 0.5215 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.3216, allocations: 0.6562 kB / 0.5215 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.3216, allocations: 10.28 kB / 0.5215 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.517e-06/0.3216, allocations: 5.25 kB / 0.5215 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002567/0.3219, allocations: 211.6 kB / 0.5217 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009059/0.3228, allocations: 0.6398 MB / 0.5223 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.323, allocations: 193.5 kB / 0.5225 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001385/0.3231, allocations: 181.1 kB / 0.5227 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.3231, allocations: 0 / 0.5227 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002338/0.3234, allocations: 174.6 kB / 0.5228 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 1.973e-06/0.3234, allocations: 4 kB / 0.5229 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001098/0.3245, allocations: 0.8519 MB / 0.5237 GB, free: 348 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.065e-05/0.3246, allocations: 107.2 kB / 0.5238 GB, free: 272 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.31e-05/0.3246, allocations: 120.5 kB / 0.5239 GB, free: 152 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.072e-05/0.3247, allocations: 69.5 kB / 0.524 GB, free: 104 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.167e-05/0.3248, allocations: 144 kB / 0.5241 GB, free: 15.97 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002032/0.325, allocations: 219.9 kB / 0.5243 GB, free: 15.8 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002227/0.3252, allocations: 196.2 kB / 0.5245 GB, free: 15.71 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.3254, allocations: 357 kB / 0.5248 GB, free: 15.37 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004981/0.3259, allocations: 305.7 kB / 0.5251 GB, free: 15.3 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007419/0.3266, allocations: 0.6596 MB / 0.5258 GB, free: 14.77 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.00198/0.3286, allocations: 1.418 MB / 0.5272 GB, free: 13.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-05/0.3287, allocations: 7.094 kB / 0.5272 GB, free: 13.93 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