Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Math_Random_TestRandomNumbers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestRandomNumbers,fileNamePrefix="ModelicaTest_3_2_3_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.001285/0.001286, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 203.1 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.598/1.598, allocations: 205.1 MB / 222.6 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.391/0.391, allocations: 43.5 MB / 313.5 MB, free: 8.301 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 70.55 kB / 382.1 MB, free: 8.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1245, allocations: 57.78 MB / 439.9 MB, free: 14.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.001824/0.1264, allocations: 0.6048 MB / 440.5 MB, free: 13.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.1275, allocations: 0.6084 MB / 441.1 MB, free: 13.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.234e-05/0.1276, allocations: 3.938 kB / 441.1 MB, free: 13.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.872e-05/0.1277, allocations: 0 / 441.1 MB, free: 13.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.797e-06/0.1277, allocations: 4 kB / 441.1 MB, free: 13.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007013/0.1284, allocations: 167.6 kB / 441.3 MB, free: 13.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.275e-05/0.1285, allocations: 27.97 kB / 441.3 MB, free: 13.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.116e-05/0.1285, allocations: 4 kB / 441.3 MB, free: 13.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.96e-05/0.1285, allocations: 23.91 kB / 441.4 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.917e-05/0.1286, allocations: 12.5 kB / 441.4 MB, free: 13.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.1286, allocations: 0 / 441.4 MB, free: 13.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002927/0.1289, allocations: 167.8 kB / 441.5 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.297e-05/0.129, allocations: 60.44 kB / 441.6 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.887e-05/0.1291, allocations: 55.61 kB / 441.6 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003093/0.1294, allocations: 199.4 kB / 441.8 MB, free: 12.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.1294, allocations: 0 / 441.8 MB, free: 12.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1294, allocations: 4 kB / 441.8 MB, free: 12.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.1294, allocations: 0 / 441.8 MB, free: 12.61 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.0006533/0.1301, allocations: 496.7 kB / 442.3 MB, free: 12.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.1302, allocations: 8.031 kB / 442.3 MB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001597/0.1303, allocations: 154 kB / 442.5 MB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.668e-05/0.1304, allocations: 36.47 kB / 442.5 MB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.1306, allocations: 196 kB / 442.7 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.032e-05/0.1306, allocations: 36.81 kB / 442.7 MB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.524e-05/0.1307, allocations: 40.38 kB / 442.8 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004538/0.1311, allocations: 306.5 kB / 443.1 MB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.1311, allocations: 0 / 443.1 MB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.1312, allocations: 8 kB / 443.1 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.1312, allocations: 8 kB / 443.1 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000258/0.1315, allocations: 210.2 kB / 443.3 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009161/0.1324, allocations: 0.6396 MB / 443.9 MB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002109/0.1326, allocations: 199 kB / 444.1 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.1328, allocations: 185.9 kB / 444.3 MB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.1328, allocations: 4 kB / 444.3 MB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002901/0.1331, allocations: 178.7 kB / 444.5 MB, free: 9.773 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 1.502e-06/0.1331, allocations: 0 / 444.5 MB, free: 9.773 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001105/0.1342, allocations: 0.8544 MB / 445.4 MB, free: 8.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.012e-05/0.1343, allocations: 103.9 kB / 445.5 MB, free: 8.797 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.86e-05/0.1344, allocations: 117.7 kB / 445.6 MB, free: 8.672 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.191e-05/0.1345, allocations: 77.61 kB / 445.6 MB, free: 8.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.472e-05/0.1346, allocations: 145.4 kB / 445.8 MB, free: 8.441 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001567/0.1347, allocations: 217.2 kB / 446 MB, free: 8.227 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001897/0.1349, allocations: 203 kB / 446.2 MB, free: 8.023 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.1351, allocations: 346.8 kB / 446.5 MB, free: 7.676 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003959/0.1355, allocations: 310.1 kB / 446.8 MB, free: 7.375 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006597/0.1361, allocations: 0.6592 MB / 447.5 MB, free: 6.555 MB / 382.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.001863/0.138, allocations: 1.413 MB / 448.9 MB, free: 4.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.094e-05/0.138, allocations: 4 kB / 448.9 MB, free: 4.977 MB / 382.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