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.001536/0.001536, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001731/0.001731, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 227.4 MB / 246.8 MB, free: 10.5 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.2439/0.2439, allocations: 46.11 MB / 344.2 MB, free: 11.54 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.002236/0.002236, allocations: 82.17 kB / 417.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.115, allocations: 62.43 MB / 480.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.00184/0.1169, allocations: 0.5374 MB / 480.7 MB, free: 4.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.1181, allocations: 0.6028 MB / 481.3 MB, free: 3.984 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.308e-05/0.1181, allocations: 0 / 481.3 MB, free: 3.984 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.496e-05/0.1182, allocations: 3.938 kB / 481.3 MB, free: 3.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.168e-06/0.1182, allocations: 0 / 481.3 MB, free: 3.98 MB / 350.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.0007201/0.1189, allocations: 202.4 kB / 481.5 MB, free: 3.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.371e-05/0.119, allocations: 23.97 kB / 481.6 MB, free: 3.762 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.45e-05/0.1191, allocations: 8 kB / 481.6 MB, free: 3.754 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.616e-05/0.1191, allocations: 19.92 kB / 481.6 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.6e-05/0.1192, allocations: 16.19 kB / 481.6 MB, free: 3.715 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.1192, allocations: 0 / 481.6 MB, free: 3.715 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003798/0.1196, allocations: 171.7 kB / 481.8 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.1197, allocations: 60.09 kB / 481.8 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.042e-05/0.1198, allocations: 55.61 kB / 481.9 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004093/0.1202, allocations: 199.5 kB / 482.1 MB, free: 3.238 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1202, allocations: 3.984 kB / 482.1 MB, free: 3.234 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1203, allocations: 0 / 482.1 MB, free: 3.234 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.1203, allocations: 4 kB / 482.1 MB, free: 3.23 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.0007802/0.1211, allocations: 496.7 kB / 482.6 MB, free: 2.699 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.1211, allocations: 11.97 kB / 482.6 MB, free: 2.688 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002315/0.1214, allocations: 149.9 kB / 482.7 MB, free: 2.531 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.764e-05/0.1215, allocations: 36.56 kB / 482.8 MB, free: 2.496 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.1217, allocations: 188 kB / 483 MB, free: 2.273 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.538e-05/0.1217, allocations: 28.81 kB / 483 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.268e-05/0.1218, allocations: 44.38 kB / 483 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006363/0.1225, allocations: 310.5 kB / 483.3 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.1225, allocations: 0 / 483.3 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.093e-05/0.1225, allocations: 12 kB / 483.3 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.913e-05/0.1226, allocations: 4 kB / 483.3 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004072/0.123, allocations: 214.1 kB / 483.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001405/0.1244, allocations: 0.6396 MB / 484.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003111/0.1247, allocations: 195.1 kB / 484.4 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000264/0.125, allocations: 177.9 kB / 484.6 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.125, allocations: 4 kB / 484.6 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000391/0.1254, allocations: 178.7 kB / 484.7 MB, free: 424 kB / 350.1 MB Notification: Performance of pre-optimization done (n=60): time 1.733e-06/0.1254, allocations: 0 / 484.7 MB, free: 424 kB / 350.1 MB Notification: Performance of matching and sorting (n=60): time 0.001931/0.1274, allocations: 0.8427 MB / 485.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001299/0.1275, allocations: 108 kB / 485.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.1277, allocations: 125.6 kB / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001099/0.1278, allocations: 73.61 kB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001653/0.128, allocations: 137.5 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002712/0.1282, allocations: 225.1 kB / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003469/0.1286, allocations: 199 kB / 486.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002332/0.1289, allocations: 358.7 kB / 486.8 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007138/0.1296, allocations: 306.1 kB / 487.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/0.1308, allocations: 0.6631 MB / 487.7 MB, free: 13.18 MB / 366.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.003104/0.1339, allocations: 1.41 MB / 489.2 MB, free: 11.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.466e-05/0.1339, allocations: 4 kB / 489.2 MB, free: 11.61 MB / 366.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