Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestRandomNumbers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.Random.TestRandomNumbers,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_Random_TestRandomNumbers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestRandomNumbers,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_Random_TestRandomNumbers",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001912/0.00192, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002265/0.002265, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.576/1.576, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2411/0.2411, allocations: 46.12 MB / 344.2 MB, free: 11.59 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002228/0.002228, allocations: 82.67 kB / 417.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1318, allocations: 62.44 MB / 480.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.001805/0.1337, allocations: 0.5385 MB / 480.7 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001282/0.135, allocations: 0.5952 MB / 481.3 MB, free: 4.016 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.125e-05/0.135, allocations: 3.938 kB / 481.3 MB, free: 4.012 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.405e-05/0.1352, allocations: 7.938 kB / 481.3 MB, free: 4.004 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.699e-06/0.1352, allocations: 0 / 481.3 MB, free: 4.004 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.0008096/0.136, allocations: 203.4 kB / 481.5 MB, free: 3.805 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.824e-05/0.1361, allocations: 27.91 kB / 481.6 MB, free: 3.777 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.737e-05/0.1361, allocations: 4 kB / 481.6 MB, free: 3.773 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.046e-05/0.1361, allocations: 15.98 kB / 481.6 MB, free: 3.758 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.121e-05/0.1362, allocations: 12.2 kB / 481.6 MB, free: 3.742 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.1362, allocations: 0 / 481.6 MB, free: 3.742 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003179/0.1365, allocations: 171.7 kB / 481.8 MB, free: 3.574 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.496e-05/0.1367, allocations: 68.09 kB / 481.8 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.275e-05/0.1367, allocations: 51.62 kB / 481.9 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000308/0.137, allocations: 195.5 kB / 482.1 MB, free: 3.266 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1371, allocations: 0 / 482.1 MB, free: 3.266 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1371, allocations: 4 kB / 482.1 MB, free: 3.262 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.176e-06/0.1371, allocations: 0 / 482.1 MB, free: 3.262 MB / 350.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.0006803/0.1378, allocations: 0.4889 MB / 482.6 MB, free: 2.727 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/0.1378, allocations: 8.031 kB / 482.6 MB, free: 2.719 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001777/0.138, allocations: 153.9 kB / 482.7 MB, free: 2.559 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.787e-05/0.1381, allocations: 36.55 kB / 482.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.1383, allocations: 192 kB / 483 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.378e-05/0.1383, allocations: 28.81 kB / 483 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.603e-05/0.1384, allocations: 44.38 kB / 483 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004586/0.1388, allocations: 306.5 kB / 483.3 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.1388, allocations: 0 / 483.3 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.1389, allocations: 8 kB / 483.3 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.1389, allocations: 4 kB / 483.3 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002918/0.1392, allocations: 218.1 kB / 483.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009893/0.1402, allocations: 0.6357 MB / 484.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/0.1404, allocations: 199 kB / 484.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001854/0.1406, allocations: 181.9 kB / 484.6 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.714e-06/0.1406, allocations: 0 / 484.6 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002981/0.1409, allocations: 178.7 kB / 484.7 MB, free: 452 kB / 350.1 MB Notification: Performance of pre-optimization done (n=60): time 3.476e-06/0.1409, allocations: 0 / 484.7 MB, free: 452 kB / 350.1 MB Notification: Performance of matching and sorting (n=60): time 0.001375/0.1423, allocations: 0.8543 MB / 485.6 MB, free: 15.58 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.1424, allocations: 103.9 kB / 485.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.039e-05/0.1425, allocations: 125.5 kB / 485.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.748e-05/0.1426, allocations: 73.67 kB / 485.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.1427, allocations: 137.5 kB / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001994/0.1429, allocations: 217.1 kB / 486.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002533/0.1432, allocations: 203 kB / 486.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002113/0.1434, allocations: 354.7 kB / 486.8 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004669/0.1439, allocations: 302.1 kB / 487.1 MB, free: 14.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008544/0.1447, allocations: 0.6709 MB / 487.7 MB, free: 13.21 MB / 366.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.002172/0.1469, allocations: 1.413 MB / 489.2 MB, free: 11.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.346e-05/0.147, allocations: 4 kB / 489.2 MB, free: 11.63 MB / 366.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:7956:5-7956:89:writable] Error: Internal error Transformation module sort components failed Error: No system for the symbolic initialization was generated