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.001494/0.001494, allocations: 108 kB / 16.41 MB, free: 6.484 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.001292/0.001292, allocations: 188.1 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.374/1.374, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2099/0.2099, allocations: 43.53 MB / 314.1 MB, free: 468 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.001591/0.001591, allocations: 63.91 kB / 441.3 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1174, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.001993/0.1195, allocations: 0.5338 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.1207, allocations: 0.596 MB / 0.4885 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.19e-05/0.1207, allocations: 3.938 kB / 0.4885 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.1209, allocations: 11.92 kB / 0.4885 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.881e-06/0.1209, allocations: 0 / 0.4885 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000839/0.1217, allocations: 203.4 kB / 0.4887 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.288e-05/0.1218, allocations: 27.97 kB / 0.4887 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.358e-05/0.1219, allocations: 4 kB / 0.4887 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.257e-05/0.1219, allocations: 15.86 kB / 0.4888 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.827e-05/0.122, allocations: 24.19 kB / 0.4888 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.638e-06/0.122, allocations: 0 / 0.4888 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002911/0.1223, allocations: 163.8 kB / 0.4889 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.745e-05/0.1224, allocations: 52.17 kB / 0.489 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.899e-05/0.1224, allocations: 55.61 kB / 0.489 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003143/0.1228, allocations: 203.2 kB / 0.4892 GB, free: 10.42 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1228, allocations: 0 / 0.4892 GB, free: 10.42 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1228, allocations: 0 / 0.4892 GB, free: 10.42 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.1228, allocations: 0 / 0.4892 GB, free: 10.42 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.0006655/0.1235, allocations: 0.4921 MB / 0.4897 GB, free: 9.879 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.1235, allocations: 15.83 kB / 0.4897 GB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001446/0.1237, allocations: 158.4 kB / 0.4899 GB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.682e-05/0.1237, allocations: 32.75 kB / 0.4899 GB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.1239, allocations: 199.9 kB / 0.4901 GB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.739e-05/0.1239, allocations: 24.81 kB / 0.4901 GB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.6e-05/0.1239, allocations: 40.38 kB / 0.4902 GB, free: 9.371 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003868/0.1243, allocations: 306.5 kB / 0.4905 GB, free: 9.066 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.1244, allocations: 0 / 0.4905 GB, free: 9.066 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/0.1244, allocations: 8 kB / 0.4905 GB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.1244, allocations: 4 kB / 0.4905 GB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002338/0.1246, allocations: 218.1 kB / 0.4907 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008869/0.1255, allocations: 0.6399 MB / 0.4913 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.1257, allocations: 199 kB / 0.4915 GB, free: 7.941 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/0.1259, allocations: 181.9 kB / 0.4917 GB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.849e-06/0.1259, allocations: 0 / 0.4917 GB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002447/0.1262, allocations: 170.7 kB / 0.4918 GB, free: 7.582 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 1.533e-06/0.1262, allocations: 4 kB / 0.4918 GB, free: 7.578 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001106/0.1273, allocations: 0.8504 MB / 0.4927 GB, free: 6.727 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.123e-05/0.1274, allocations: 112 kB / 0.4928 GB, free: 6.605 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.068e-05/0.1274, allocations: 113.8 kB / 0.4929 GB, free: 6.484 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.597e-05/0.1275, allocations: 73.67 kB / 0.493 GB, free: 6.406 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.297e-05/0.1276, allocations: 149.7 kB / 0.4931 GB, free: 6.254 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00016/0.1278, allocations: 226.2 kB / 0.4933 GB, free: 6.031 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002023/0.128, allocations: 195 kB / 0.4935 GB, free: 5.832 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.1281, allocations: 358.7 kB / 0.4938 GB, free: 5.473 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000402/0.1285, allocations: 298.1 kB / 0.4941 GB, free: 5.184 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006796/0.1292, allocations: 0.6592 MB / 0.4948 GB, free: 4.359 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.001906/0.1311, allocations: 1.421 MB / 0.4962 GB, free: 2.777 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-05/0.1312, allocations: 3.938 kB / 0.4962 GB, free: 2.773 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