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.001143/0.001143, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001213/0.001214, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.344/1.344, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.217/0.217, allocations: 44.19 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 64.05 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.118, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.001817/0.1198, allocations: 0.5297 MB / 469.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.121, allocations: 0.6027 MB / 470.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.323e-05/0.121, allocations: 3.938 kB / 470.5 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.218e-05/0.1211, allocations: 3.938 kB / 470.5 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.418e-06/0.1211, allocations: 4 kB / 470.5 MB, free: 13.12 MB / 350.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.0006572/0.1218, allocations: 199.4 kB / 470.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.281e-05/0.1219, allocations: 27.91 kB / 470.7 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.882e-05/0.1219, allocations: 4 kB / 470.7 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.313e-05/0.122, allocations: 23.97 kB / 470.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.673e-05/0.122, allocations: 8.219 kB / 470.8 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.122, allocations: 0 / 470.8 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002706/0.1223, allocations: 175.7 kB / 470.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.663e-05/0.1224, allocations: 60.09 kB / 471 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.997e-05/0.1224, allocations: 55.61 kB / 471 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002477/0.1227, allocations: 199.5 kB / 471.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.1227, allocations: 0 / 471.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.1227, allocations: 0 / 471.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.1227, allocations: 3.938 kB / 471.2 MB, free: 12.38 MB / 350.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.0004896/0.1232, allocations: 499.7 kB / 471.7 MB, free: 11.85 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.1233, allocations: 8.031 kB / 471.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001363/0.1234, allocations: 153.9 kB / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.381e-05/0.1235, allocations: 36.56 kB / 471.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.1236, allocations: 192 kB / 472.1 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.739e-05/0.1236, allocations: 28.81 kB / 472.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.946e-05/0.1237, allocations: 44.38 kB / 472.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003636/0.124, allocations: 306.5 kB / 472.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.124, allocations: 0 / 472.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.1241, allocations: 16 kB / 472.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.1241, allocations: 7.938 kB / 472.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002265/0.1243, allocations: 210.2 kB / 472.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00083/0.1251, allocations: 0.6357 MB / 473.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/0.1253, allocations: 195.1 kB / 473.5 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001462/0.1255, allocations: 181.9 kB / 473.7 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.1255, allocations: 4 kB / 473.7 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002401/0.1258, allocations: 174.7 kB / 473.9 MB, free: 9.559 MB / 350.1 MB Notification: Performance of pre-optimization done (n=60): time 3.106e-06/0.1258, allocations: 3.938 kB / 473.9 MB, free: 9.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=60): time 0.001158/0.1269, allocations: 0.8583 MB / 474.8 MB, free: 8.695 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.237e-05/0.127, allocations: 107.9 kB / 474.9 MB, free: 8.578 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.163e-05/0.1271, allocations: 125.6 kB / 475 MB, free: 8.445 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.934e-05/0.1272, allocations: 69.67 kB / 475 MB, free: 8.371 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.235e-05/0.1273, allocations: 137.5 kB / 475.2 MB, free: 8.234 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001539/0.1274, allocations: 221.1 kB / 475.4 MB, free: 8.016 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001987/0.1276, allocations: 199 kB / 475.6 MB, free: 7.816 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.1278, allocations: 354.7 kB / 475.9 MB, free: 7.461 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004176/0.1282, allocations: 310.1 kB / 476.2 MB, free: 7.156 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007103/0.1289, allocations: 0.6592 MB / 476.9 MB, free: 6.328 MB / 350.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.001914/0.1309, allocations: 1.41 MB / 478.3 MB, free: 4.758 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.211e-05/0.1309, allocations: 8 kB / 478.3 MB, free: 4.75 MB / 350.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:7956:5-7956:89:writable] Error: Internal error Transformation module sort components failed Error: No system for the symbolic initialization was generated