Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) 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_trunk_ModelicaTest_Math_Random_TestRandomNumbers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestRandomNumbers,fileNamePrefix="ModelicaTest_trunk_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.0009867/0.0009867, allocations: 106.6 kB / 17.64 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001047/0.001047, allocations: 218.5 kB / 18.59 MB, free: 4.57 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2095/0.2096, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.001371, allocations: 69.23 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1171, allocations: 62.45 MB / 480.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.001971/0.1191, allocations: 0.5252 MB / 480.7 MB, free: 4.672 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00129/0.1204, allocations: 0.599 MB / 481.3 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.863e-05/0.1205, allocations: 0 / 481.3 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001038/0.1206, allocations: 15.92 kB / 481.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.144e-06/0.1207, allocations: 7.938 kB / 481.3 MB, free: 4.047 MB / 350.1 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.0009766/0.1216, allocations: 198.8 kB / 481.5 MB, free: 3.855 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.859e-05/0.1217, allocations: 19.98 kB / 481.5 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.7e-05/0.1218, allocations: 4 kB / 481.5 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.06e-05/0.1218, allocations: 15.92 kB / 481.5 MB, free: 3.816 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.027e-05/0.1219, allocations: 20.19 kB / 481.5 MB, free: 3.793 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.1219, allocations: 4 kB / 481.5 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003858/0.1223, allocations: 163.8 kB / 481.7 MB, free: 3.629 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.1224, allocations: 64.09 kB / 481.8 MB, free: 3.566 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.399e-05/0.1225, allocations: 59.55 kB / 481.8 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003679/0.1229, allocations: 199.5 kB / 482 MB, free: 3.312 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1229, allocations: 0 / 482 MB, free: 3.312 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1229, allocations: 0 / 482 MB, free: 3.312 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.1229, allocations: 0 / 482 MB, free: 3.312 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.0006669/0.1236, allocations: 496.7 kB / 482.5 MB, free: 2.781 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.1236, allocations: 8.031 kB / 482.5 MB, free: 2.773 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001794/0.1238, allocations: 153.9 kB / 482.7 MB, free: 2.613 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.86e-05/0.1239, allocations: 32.56 kB / 482.7 MB, free: 2.582 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.1241, allocations: 200 kB / 482.9 MB, free: 2.348 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.662e-05/0.1241, allocations: 28.81 kB / 482.9 MB, free: 2.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.329e-05/0.1242, allocations: 44.36 kB / 483 MB, free: 2.277 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004553/0.1246, allocations: 302.5 kB / 483.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.1247, allocations: 0 / 483.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.1247, allocations: 11.98 kB / 483.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.1247, allocations: 4 kB / 483.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000267/0.125, allocations: 214.1 kB / 483.5 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008883/0.1259, allocations: 0.6358 MB / 484.1 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.1261, allocations: 199 kB / 484.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/0.1262, allocations: 181.9 kB / 484.5 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.1263, allocations: 4 kB / 484.5 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002482/0.1265, allocations: 174.7 kB / 484.7 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of pre-optimization done (n=60): time 1.603e-06/0.1265, allocations: 0 / 484.7 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of matching and sorting (n=60): time 0.001202/0.1277, allocations: 0.8504 MB / 485.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.894e-05/0.1278, allocations: 111.9 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.771e-05/0.1279, allocations: 117.6 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.644e-05/0.128, allocations: 77.61 kB / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.73e-05/0.1281, allocations: 141.5 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001953/0.1283, allocations: 225.1 kB / 486.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002627/0.1286, allocations: 199 kB / 486.4 MB, free: 14.74 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.1288, allocations: 354.7 kB / 486.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004207/0.1292, allocations: 302.1 kB / 487 MB, free: 14.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006334/0.1298, allocations: 0.6631 MB / 487.7 MB, free: 13.26 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.001819/0.1316, allocations: 1.417 MB / 489.1 MB, free: 11.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-05/0.1317, allocations: 4 kB / 489.1 MB, free: 11.68 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