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.001484/0.001484, allocations: 110.9 kB / 16.41 MB, free: 6.492 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.001589/0.001589, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.464/1.464, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2469/0.2469, allocations: 43.52 MB / 314.1 MB, free: 456 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.002097/0.002097, allocations: 75.89 kB / 441.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1425, allocations: 57.8 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.001937/0.1444, allocations: 0.5416 MB / 499.7 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001304/0.1458, allocations: 0.5882 MB / 0.4885 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.071e-05/0.1458, allocations: 3.938 kB / 0.4885 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.371e-05/0.1459, allocations: 3.938 kB / 0.4885 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.599e-06/0.1459, allocations: 3.938 kB / 0.4885 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007444/0.1467, allocations: 199.5 kB / 0.4887 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.749e-05/0.1468, allocations: 31.95 kB / 0.4888 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.709e-05/0.1468, allocations: 4 kB / 0.4888 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.082e-05/0.1468, allocations: 15.92 kB / 0.4888 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.721e-05/0.1469, allocations: 24.19 kB / 0.4888 GB, free: 10.87 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.1469, allocations: 4 kB / 0.4888 GB, free: 10.87 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003026/0.1472, allocations: 159.7 kB / 0.4889 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.672e-05/0.1473, allocations: 52.17 kB / 0.489 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.387e-05/0.1474, allocations: 55.61 kB / 0.4891 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003149/0.1477, allocations: 195.2 kB / 0.4892 GB, free: 10.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.1478, allocations: 4 kB / 0.4892 GB, free: 10.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1478, allocations: 0 / 0.4892 GB, free: 10.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.1478, allocations: 0 / 0.4892 GB, free: 10.41 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.0006391/0.1484, allocations: 0.4993 MB / 0.4897 GB, free: 9.867 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.1485, allocations: 19.89 kB / 0.4897 GB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000168/0.1486, allocations: 150.4 kB / 0.4899 GB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.249e-05/0.1487, allocations: 32.75 kB / 0.4899 GB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.1489, allocations: 196 kB / 0.4901 GB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.646e-05/0.1489, allocations: 28.81 kB / 0.4901 GB, free: 9.402 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.403e-05/0.149, allocations: 40.38 kB / 0.4902 GB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000431/0.1494, allocations: 306.5 kB / 0.4905 GB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.1495, allocations: 0 / 0.4905 GB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/0.1495, allocations: 4 kB / 0.4905 GB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.06e-05/0.1495, allocations: 15.98 kB / 0.4905 GB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002694/0.1498, allocations: 214.1 kB / 0.4907 GB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/0.1508, allocations: 0.6438 MB / 0.4913 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002431/0.1511, allocations: 191.1 kB / 0.4915 GB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002086/0.1513, allocations: 178 kB / 0.4917 GB, free: 7.758 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.1513, allocations: 4 kB / 0.4917 GB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003086/0.1516, allocations: 178.7 kB / 0.4918 GB, free: 7.566 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 1.232e-06/0.1516, allocations: 0 / 0.4918 GB, free: 7.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001376/0.153, allocations: 0.8504 MB / 0.4927 GB, free: 6.715 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/0.1531, allocations: 108 kB / 0.4928 GB, free: 6.598 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.648e-05/0.1532, allocations: 113.8 kB / 0.4929 GB, free: 6.477 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.431e-05/0.1533, allocations: 77.67 kB / 0.493 GB, free: 6.395 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.1535, allocations: 145.7 kB / 0.4931 GB, free: 6.246 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002583/0.1537, allocations: 226.2 kB / 0.4933 GB, free: 6.023 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003274/0.1541, allocations: 199 kB / 0.4935 GB, free: 5.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002441/0.1543, allocations: 354.7 kB / 0.4938 GB, free: 5.465 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005243/0.1548, allocations: 306 kB / 0.4941 GB, free: 5.168 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000889/0.1557, allocations: 0.6631 MB / 0.4948 GB, free: 4.34 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.002161/0.1579, allocations: 1.417 MB / 0.4962 GB, free: 2.762 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.295e-05/0.1579, allocations: 4 kB / 0.4962 GB, free: 2.758 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