Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestRandomNumbers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.Random.TestRandomNumbers,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Math_Random_TestRandomNumbers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestRandomNumbers,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Math_Random_TestRandomNumbers",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001259/0.001259, allocations: 198.2 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.253/1.253, allocations: 226.5 MB / 243.4 MB, free: 6.387 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000882/0.000882, allocations: 97.09 kB / 295.5 MB, free: 6.66 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3474/0.3474, allocations: 44.81 MB / 392.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002805/0.0002806, allocations: 11.98 kB / 465.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3028, allocations: 62.95 MB / 0.516 GB, free: 37.33 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.0004988/0.3033, allocations: 260.6 kB / 0.5162 GB, free: 37.16 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000807/0.3041, allocations: 0.5663 MB / 0.5168 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.659e-05/0.3042, allocations: 0 / 0.5168 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 6.012e-05/0.3042, allocations: 7.938 kB / 0.5168 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 3.116e-06/0.3042, allocations: 0 / 0.5168 GB, free: 36.77 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:842:5-926:22:writable] Warning: Pure function ‘ModelicaTest.Math.Random.randomNumbers‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.0005187/0.3048, allocations: 171.6 kB / 0.5169 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.373e-05/0.3048, allocations: 26.19 kB / 0.517 GB, free: 36.69 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.145e-05/0.3048, allocations: 2.906 kB / 0.517 GB, free: 36.69 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.101e-05/0.3049, allocations: 17.12 kB / 0.517 GB, free: 36.69 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.266e-05/0.3049, allocations: 16.69 kB / 0.517 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.006e-06/0.3049, allocations: 0 / 0.517 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002014/0.3051, allocations: 165.6 kB / 0.5171 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.374e-05/0.3052, allocations: 62.05 kB / 0.5172 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.64e-05/0.3053, allocations: 78.27 kB / 0.5173 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.3054, allocations: 141.4 kB / 0.5174 GB, free: 36.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3054, allocations: 2.844 kB / 0.5174 GB, free: 36.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3054, allocations: 0 / 0.5174 GB, free: 36.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.3054, allocations: 0 / 0.5174 GB, free: 36.52 MB / 378.7 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.0003332/0.3058, allocations: 460.2 kB / 0.5179 GB, free: 36.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.3058, allocations: 11.53 kB / 0.5179 GB, free: 36.09 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001037/0.3059, allocations: 145.8 kB / 0.518 GB, free: 35.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.469e-05/0.306, allocations: 38.97 kB / 0.518 GB, free: 35.96 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.224e-05/0.3061, allocations: 205.2 kB / 0.5182 GB, free: 35.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.3061, allocations: 31.72 kB / 0.5183 GB, free: 35.72 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.767e-05/0.3061, allocations: 41.28 kB / 0.5183 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003146/0.3065, allocations: 303.1 kB / 0.5186 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.3065, allocations: 0 / 0.5186 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.3065, allocations: 4 kB / 0.5186 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.3065, allocations: 7.031 kB / 0.5186 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001906/0.3067, allocations: 220.1 kB / 0.5188 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006501/0.3074, allocations: 0.6434 MB / 0.5194 GB, free: 35.1 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.3075, allocations: 199.4 kB / 0.5196 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.3076, allocations: 183.9 kB / 0.5198 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-06/0.3076, allocations: 4 kB / 0.5198 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00016/0.3078, allocations: 177.1 kB / 0.52 GB, free: 34.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=60): time 1.233e-06/0.3078, allocations: 0 / 0.52 GB, free: 34.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=60): time 0.000878/0.3087, allocations: 0.841 MB / 0.5208 GB, free: 34.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.3088, allocations: 108.5 kB / 0.5209 GB, free: 34.51 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.147e-05/0.3088, allocations: 114.2 kB / 0.521 GB, free: 34.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.668e-05/0.3089, allocations: 75.48 kB / 0.5211 GB, free: 34.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.295e-05/0.3089, allocations: 146.7 kB / 0.5212 GB, free: 34.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.309, allocations: 215.6 kB / 0.5214 GB, free: 34.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.149e-05/0.3091, allocations: 29.12 kB / 0.5215 GB, free: 34.03 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.328e-05/0.3091, allocations: 348 kB / 0.5218 GB, free: 33.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003313/0.3095, allocations: 302.9 kB / 0.5221 GB, free: 33.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000457/0.3099, allocations: 0.66 MB / 0.5227 GB, free: 33.09 MB / 378.7 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.001464/0.3114, allocations: 1.401 MB / 0.5241 GB, free: 32.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.268e-06/0.3114, allocations: 5.781 kB / 0.5241 GB, free: 32.27 MB / 378.7 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.) state33[33] $PRE.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: state33[33] $PRE.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:7938:5-7938:89:writable] Error: Internal error Transformation module sort components failed Error: No system for the symbolic initialization was generated