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.0007193/0.0007194, allocations: 93.42 kB / 17.35 MB, free: 6.375 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.0008283/0.0008284, allocations: 179.3 kB / 18.26 MB, free: 5.52 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.33/1.33, allocations: 223.3 MB / 242.3 MB, free: 228 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1848/0.1848, allocations: 44.25 MB / 337.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003369/0.0003367, allocations: 16 kB / 410.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1206, allocations: 61.92 MB / 472.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.0007031/0.1213, allocations: 266.8 kB / 472.6 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.1227, allocations: 0.606 MB / 473.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.602e-05/0.1227, allocations: 7.938 kB / 473.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.309e-05/0.1228, allocations: 0 / 473.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.34e-06/0.1229, allocations: 0 / 473.2 MB, free: 12.39 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.000779/0.1236, allocations: 175.6 kB / 473.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.163e-05/0.1237, allocations: 19.98 kB / 473.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.981e-05/0.1238, allocations: 4 kB / 473.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.021e-05/0.1238, allocations: 19.92 kB / 473.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.157e-05/0.1239, allocations: 20.47 kB / 473.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.688e-06/0.1239, allocations: 0 / 473.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003152/0.1242, allocations: 159.8 kB / 473.6 MB, free: 12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.1243, allocations: 76.31 kB / 473.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.912e-05/0.1244, allocations: 77.38 kB / 473.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003738/0.1248, allocations: 199.4 kB / 474 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1248, allocations: 0 / 474 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1248, allocations: 0 / 474 MB, free: 11.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.1248, allocations: 0 / 474 MB, free: 11.65 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.0004922/0.1253, allocations: 468.7 kB / 474.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.1254, allocations: 8.031 kB / 474.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001454/0.1255, allocations: 149.9 kB / 474.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.571e-05/0.1256, allocations: 40.56 kB / 474.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.1257, allocations: 192 kB / 474.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.853e-05/0.1257, allocations: 36.75 kB / 474.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.48e-05/0.1258, allocations: 40.38 kB / 474.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003844/0.1262, allocations: 302.5 kB / 475.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.1262, allocations: 0 / 475.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/0.1262, allocations: 12 kB / 475.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.1262, allocations: 4 kB / 475.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002354/0.1265, allocations: 214.1 kB / 475.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008841/0.1274, allocations: 0.6396 MB / 476 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.1275, allocations: 199.1 kB / 476.2 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/0.1277, allocations: 181.9 kB / 476.4 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.795e-06/0.1277, allocations: 4 kB / 476.4 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002414/0.128, allocations: 170.7 kB / 476.6 MB, free: 8.859 MB / 350.1 MB Notification: Performance of pre-optimization done (n=60): time 1.252e-06/0.128, allocations: 0 / 476.6 MB, free: 8.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=60): time 0.001145/0.1291, allocations: 0.8504 MB / 477.4 MB, free: 8.004 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.72e-05/0.1292, allocations: 104 kB / 477.5 MB, free: 7.891 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.1294, allocations: 125.6 kB / 477.7 MB, free: 7.758 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.485e-05/0.1295, allocations: 73.67 kB / 477.7 MB, free: 7.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.1296, allocations: 145.5 kB / 477.9 MB, free: 7.535 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001767/0.1298, allocations: 221.1 kB / 478.1 MB, free: 7.316 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.1299, allocations: 109.7 kB / 478.2 MB, free: 7.203 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.1301, allocations: 350.7 kB / 478.5 MB, free: 6.852 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004452/0.1305, allocations: 306.1 kB / 478.8 MB, free: 6.555 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000721/0.1312, allocations: 0.6631 MB / 479.5 MB, free: 5.719 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.001997/0.1332, allocations: 1.417 MB / 480.9 MB, free: 4.141 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.548e-05/0.1333, allocations: 4 kB / 480.9 MB, free: 4.137 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:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed Error: No system for the symbolic initialization was generated