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.001754/0.001754, allocations: 118.4 kB / 17.78 MB, free: 5.258 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.001968/0.001968, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.526/1.526, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.2223/0.2223, allocations: 44.19 MB / 336.8 MB, free: 2.633 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 63.89 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3834/0.3853, allocations: 60.82 MB / 0.5184 GB, free: 3.266 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.001599/0.3869, allocations: 0.5533 MB / 0.519 GB, free: 2.918 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.388, allocations: 0.5962 MB / 0.5196 GB, free: 2.527 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.81e-05/0.388, allocations: 1.188 kB / 0.5196 GB, free: 2.527 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.267e-05/0.3881, allocations: 4.547 kB / 0.5196 GB, free: 2.523 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.052e-06/0.3882, allocations: 3.938 kB / 0.5196 GB, free: 2.52 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.0007973/0.389, allocations: 204.8 kB / 0.5198 GB, free: 2.426 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.915e-05/0.389, allocations: 28.27 kB / 0.5198 GB, free: 2.418 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.239e-05/0.3891, allocations: 3.125 kB / 0.5198 GB, free: 2.418 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.971e-05/0.3891, allocations: 14.34 kB / 0.5198 GB, free: 2.414 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.718e-05/0.3892, allocations: 20.69 kB / 0.5198 GB, free: 2.398 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.3892, allocations: 1.094 kB / 0.5198 GB, free: 2.398 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003257/0.3895, allocations: 167.9 kB / 0.52 GB, free: 2.344 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.3897, allocations: 62.64 kB / 0.52 GB, free: 2.324 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.915e-05/0.3897, allocations: 57.84 kB / 0.5201 GB, free: 2.285 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003292/0.3901, allocations: 204.8 kB / 0.5203 GB, free: 2.223 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3901, allocations: 0 / 0.5203 GB, free: 2.223 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3901, allocations: 0 / 0.5203 GB, free: 2.223 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.3901, allocations: 1.094 kB / 0.5203 GB, free: 2.223 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.0005079/0.3906, allocations: 0.4954 MB / 0.5208 GB, free: 1.773 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.3907, allocations: 10 kB / 0.5208 GB, free: 1.773 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001251/0.3908, allocations: 148.7 kB / 0.5209 GB, free: 1.664 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.605e-05/0.3909, allocations: 37.52 kB / 0.521 GB, free: 1.645 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.088e-05/0.3909, allocations: 192 kB / 0.5211 GB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.224e-05/0.391, allocations: 32.53 kB / 0.5212 GB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.136e-05/0.391, allocations: 40.19 kB / 0.5212 GB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000399/0.3914, allocations: 302.2 kB / 0.5215 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.3915, allocations: 0 / 0.5215 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.3915, allocations: 14.33 kB / 0.5215 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.3915, allocations: 9.406 kB / 0.5215 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002628/0.3918, allocations: 207.9 kB / 0.5217 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008625/0.3926, allocations: 0.6323 MB / 0.5223 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.3928, allocations: 197.7 kB / 0.5225 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001666/0.393, allocations: 180.6 kB / 0.5227 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.393, allocations: 0.8906 kB / 0.5227 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002673/0.3933, allocations: 178.2 kB / 0.5229 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 2.054e-06/0.3933, allocations: 0 / 0.5229 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001147/0.3945, allocations: 0.8632 MB / 0.5237 GB, free: 288 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.493e-05/0.3946, allocations: 104.4 kB / 0.5238 GB, free: 216 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.451e-05/0.3946, allocations: 119.5 kB / 0.5239 GB, free: 96 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.956e-05/0.3947, allocations: 69.38 kB / 0.524 GB, free: 48 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.3948, allocations: 148.6 kB / 0.5241 GB, free: 15.91 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002089/0.395, allocations: 224.8 kB / 0.5244 GB, free: 15.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002347/0.3952, allocations: 204.1 kB / 0.5245 GB, free: 15.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002173/0.3955, allocations: 348.5 kB / 0.5249 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000464/0.3959, allocations: 306.8 kB / 0.5252 GB, free: 15.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008301/0.3968, allocations: 0.6635 MB / 0.5258 GB, free: 14.7 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.002117/0.3989, allocations: 1.413 MB / 0.5272 GB, free: 13.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.345e-05/0.3989, allocations: 2.75 kB / 0.5272 GB, free: 13.88 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