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.001477/0.001476, allocations: 104.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001835/0.001835, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.542/1.542, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2271/0.2271, allocations: 46.1 MB / 343.6 MB, free: 11.84 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 85.39 kB / 416.9 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1367, allocations: 62.44 MB / 479.4 MB, free: 5.664 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.002821/0.1396, allocations: 0.5877 MB / 480 MB, free: 5.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00142/0.1411, allocations: 0.6223 MB / 480.6 MB, free: 4.449 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.944e-05/0.1411, allocations: 0 / 480.6 MB, free: 4.449 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000107/0.1412, allocations: 7.938 kB / 480.6 MB, free: 4.441 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.268e-06/0.1413, allocations: 0 / 480.6 MB, free: 4.441 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.0007997/0.1421, allocations: 175.6 kB / 480.8 MB, free: 4.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.903e-05/0.1421, allocations: 23.97 kB / 480.8 MB, free: 4.246 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.83e-05/0.1422, allocations: 7.938 kB / 480.8 MB, free: 4.238 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.473e-05/0.1422, allocations: 15.98 kB / 480.8 MB, free: 4.223 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.809e-05/0.1423, allocations: 20.47 kB / 480.8 MB, free: 4.199 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.1423, allocations: 0 / 480.8 MB, free: 4.199 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002867/0.1426, allocations: 163.8 kB / 481 MB, free: 4.039 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.1427, allocations: 60.39 kB / 481.1 MB, free: 3.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.058e-05/0.1428, allocations: 55.61 kB / 481.1 MB, free: 3.926 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003573/0.1431, allocations: 199.4 kB / 481.3 MB, free: 3.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1432, allocations: 4 kB / 481.3 MB, free: 3.727 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1432, allocations: 0 / 481.3 MB, free: 3.727 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.752e-06/0.1432, allocations: 0 / 481.3 MB, free: 3.727 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.0006247/0.1438, allocations: 496.7 kB / 481.8 MB, free: 3.195 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.1439, allocations: 8.875 kB / 481.8 MB, free: 3.188 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001734/0.1441, allocations: 149.9 kB / 482 MB, free: 3.031 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.205e-05/0.1441, allocations: 32.56 kB / 482 MB, free: 3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.1443, allocations: 199.9 kB / 482.2 MB, free: 2.766 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.424e-05/0.1443, allocations: 32.81 kB / 482.2 MB, free: 2.734 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.68e-05/0.1444, allocations: 44.38 kB / 482.3 MB, free: 2.691 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004377/0.1448, allocations: 310.5 kB / 482.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.1448, allocations: 0 / 482.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.1449, allocations: 4 kB / 482.6 MB, free: 2.375 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.1449, allocations: 8 kB / 482.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002924/0.1452, allocations: 214.2 kB / 482.8 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.1462, allocations: 0.6474 MB / 483.4 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002504/0.1465, allocations: 195 kB / 483.6 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.1467, allocations: 181.9 kB / 483.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.1467, allocations: 4 kB / 483.8 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003173/0.1471, allocations: 178.7 kB / 484 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of pre-optimization done (n=60): time 1.332e-06/0.1471, allocations: 0 / 484 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of matching and sorting (n=60): time 0.001298/0.1484, allocations: 0.8427 MB / 484.8 MB, free: 48 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001309/0.1485, allocations: 107.9 kB / 484.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.84e-05/0.1486, allocations: 125.5 kB / 485 MB, free: 15.79 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.009e-05/0.1487, allocations: 73.69 kB / 485.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.591e-05/0.1488, allocations: 137.5 kB / 485.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002023/0.149, allocations: 225.1 kB / 485.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002205/0.1492, allocations: 195 kB / 485.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.1494, allocations: 350.7 kB / 486 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004396/0.1498, allocations: 306.1 kB / 486.3 MB, free: 14.51 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006652/0.1505, allocations: 0.6631 MB / 487 MB, free: 13.68 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.001856/0.1524, allocations: 1.413 MB / 488.4 MB, free: 12.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.1524, allocations: 4 kB / 488.4 MB, free: 12.1 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:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed Error: No system for the symbolic initialization was generated