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.001401/0.001402, allocations: 102.3 kB / 16.4 MB, free: 6.516 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.001418/0.001418, allocations: 192.2 kB / 17.34 MB, free: 5.738 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.431/1.431, 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.2361/0.2361, allocations: 43.51 MB / 314.1 MB, free: 460 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.002112/0.002112, allocations: 69.45 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1225, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.001888/0.1245, allocations: 0.5492 MB / 499.7 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001265/0.1258, allocations: 0.596 MB / 0.4885 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.232e-05/0.1258, allocations: 0 / 0.4885 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.1259, allocations: 3.938 kB / 0.4885 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.588e-06/0.126, allocations: 3.938 kB / 0.4885 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008261/0.1268, allocations: 199.4 kB / 0.4887 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.26e-05/0.1269, allocations: 27.97 kB / 0.4887 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.067e-05/0.1269, allocations: 0 / 0.4887 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.45e-05/0.127, allocations: 23.91 kB / 0.4888 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.45e-05/0.127, allocations: 12.2 kB / 0.4888 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.1271, allocations: 7.938 kB / 0.4888 GB, free: 10.87 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003417/0.1274, allocations: 159.8 kB / 0.4889 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.1275, allocations: 60.16 kB / 0.489 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.249e-05/0.1276, allocations: 55.61 kB / 0.4891 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003582/0.128, allocations: 203.2 kB / 0.4892 GB, free: 10.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.128, allocations: 0 / 0.4892 GB, free: 10.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 6.011e-06/0.128, allocations: 3.984 kB / 0.4893 GB, free: 10.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.128, allocations: 0 / 0.4893 GB, free: 10.4 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.0006456/0.1286, allocations: 0.4954 MB / 0.4897 GB, free: 9.859 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.1287, allocations: 11.89 kB / 0.4897 GB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002026/0.1289, allocations: 158.4 kB / 0.4899 GB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.428e-05/0.129, allocations: 36.75 kB / 0.4899 GB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.1292, allocations: 192 kB / 0.4901 GB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.59e-05/0.1292, allocations: 32.81 kB / 0.4901 GB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.662e-05/0.1293, allocations: 40.38 kB / 0.4902 GB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000533/0.1298, allocations: 302.5 kB / 0.4905 GB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.1299, allocations: 0 / 0.4905 GB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.776e-05/0.1299, allocations: 12 kB / 0.4905 GB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.1299, allocations: 4 kB / 0.4905 GB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003169/0.1302, allocations: 210.2 kB / 0.4907 GB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.1313, allocations: 0.6399 MB / 0.4913 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002429/0.1316, allocations: 199 kB / 0.4915 GB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001829/0.1318, allocations: 178 kB / 0.4917 GB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.1318, allocations: 3.984 kB / 0.4917 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003198/0.1321, allocations: 170.7 kB / 0.4918 GB, free: 7.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 1.523e-06/0.1321, allocations: 4 kB / 0.4918 GB, free: 7.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001253/0.1334, allocations: 0.8544 MB / 0.4927 GB, free: 6.711 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.054e-05/0.1335, allocations: 104 kB / 0.4928 GB, free: 6.598 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.1336, allocations: 121.8 kB / 0.4929 GB, free: 6.469 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.26e-05/0.1337, allocations: 69.67 kB / 0.493 GB, free: 6.395 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.1338, allocations: 145.7 kB / 0.4931 GB, free: 6.246 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002173/0.134, allocations: 230.2 kB / 0.4933 GB, free: 6.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002761/0.1343, allocations: 203 kB / 0.4935 GB, free: 5.812 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.1345, allocations: 350.7 kB / 0.4938 GB, free: 5.461 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004755/0.135, allocations: 306.1 kB / 0.4941 GB, free: 5.164 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007659/0.1358, allocations: 0.6592 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.00201/0.1378, allocations: 1.417 MB / 0.4962 GB, free: 2.762 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-05/0.1378, 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