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.001094/0.001094, allocations: 103.5 kB / 16.4 MB, free: 6.508 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.001165/0.001165, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.533/1.533, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2215/0.2215, allocations: 43.53 MB / 314.1 MB, free: 448 kB / 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.00247/0.00247, allocations: 65.45 kB / 441.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.138, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.001953/0.14, allocations: 0.5416 MB / 499.6 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001254/0.1413, allocations: 0.5999 MB / 0.4885 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.649e-05/0.1414, allocations: 4 kB / 0.4885 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.848e-05/0.1415, allocations: 3.938 kB / 0.4885 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.45e-06/0.1415, allocations: 3.938 kB / 0.4885 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008306/0.1424, allocations: 195.5 kB / 0.4887 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.385e-05/0.1424, allocations: 23.97 kB / 0.4887 GB, free: 10.9 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.546e-05/0.1425, allocations: 4.281 kB / 0.4887 GB, free: 10.9 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.865e-05/0.1425, allocations: 23.91 kB / 0.4888 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.36e-05/0.1426, allocations: 16.14 kB / 0.4888 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.1426, allocations: 0 / 0.4888 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003318/0.143, allocations: 163.8 kB / 0.4889 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.516e-05/0.1431, allocations: 60.16 kB / 0.489 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.162e-05/0.1431, allocations: 55.61 kB / 0.489 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003511/0.1435, allocations: 199.4 kB / 0.4892 GB, free: 10.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1435, allocations: 0 / 0.4892 GB, free: 10.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1435, allocations: 0 / 0.4892 GB, free: 10.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.1435, allocations: 0 / 0.4892 GB, free: 10.39 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.0005505/0.1441, allocations: 492.5 kB / 0.4897 GB, free: 9.863 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.1441, allocations: 15.83 kB / 0.4897 GB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001579/0.1443, allocations: 158 kB / 0.4899 GB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.138e-05/0.1444, allocations: 36.47 kB / 0.4899 GB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.1445, allocations: 196 kB / 0.4901 GB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.703e-05/0.1445, allocations: 32.81 kB / 0.4901 GB, free: 9.387 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.649e-05/0.1446, allocations: 36.38 kB / 0.4902 GB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004036/0.145, allocations: 306.5 kB / 0.4905 GB, free: 9.047 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.145, allocations: 0 / 0.4905 GB, free: 9.047 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.1451, allocations: 8 kB / 0.4905 GB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.1451, allocations: 4 kB / 0.4905 GB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002454/0.1453, allocations: 214.2 kB / 0.4907 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/0.1464, allocations: 0.6357 MB / 0.4913 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002562/0.1466, allocations: 195 kB / 0.4915 GB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001545/0.1468, allocations: 181.9 kB / 0.4916 GB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/0.1468, allocations: 0 / 0.4916 GB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002477/0.1471, allocations: 174.7 kB / 0.4918 GB, free: 7.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 1.553e-06/0.1471, allocations: 4 kB / 0.4918 GB, free: 7.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001159/0.1482, allocations: 0.8544 MB / 0.4927 GB, free: 6.711 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.633e-05/0.1483, allocations: 107.9 kB / 0.4928 GB, free: 6.594 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.862e-05/0.1484, allocations: 113.7 kB / 0.4929 GB, free: 6.473 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.697e-05/0.1485, allocations: 73.67 kB / 0.4929 GB, free: 6.395 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.854e-05/0.1486, allocations: 149.4 kB / 0.4931 GB, free: 6.242 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001666/0.1487, allocations: 217.2 kB / 0.4933 GB, free: 6.027 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002086/0.1489, allocations: 195 kB / 0.4935 GB, free: 5.828 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.1491, allocations: 350.8 kB / 0.4938 GB, free: 5.477 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004502/0.1496, allocations: 310.1 kB / 0.4941 GB, free: 5.176 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006717/0.1502, allocations: 0.6592 MB / 0.4947 GB, free: 4.352 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.001936/0.1522, allocations: 1.417 MB / 0.4961 GB, free: 2.773 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-05/0.1522, allocations: 8 kB / 0.4961 GB, free: 2.766 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:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed Error: No system for the symbolic initialization was generated