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.001108/0.001108, allocations: 114 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001446/0.001446, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2399/0.2399, allocations: 46.1 MB / 343.8 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 85.86 kB / 417.2 MB, free: 20 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1376, allocations: 62.45 MB / 479.6 MB, free: 5.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.002062/0.1397, allocations: 0.5942 MB / 480.2 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.1409, allocations: 0.5965 MB / 480.8 MB, free: 4.332 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.932e-05/0.141, allocations: 0 / 480.8 MB, free: 4.332 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.566e-05/0.1411, allocations: 7.938 kB / 480.8 MB, free: 4.324 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.22e-06/0.1411, allocations: 0 / 480.8 MB, free: 4.324 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.0009323/0.1421, allocations: 191.2 kB / 481 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.968e-05/0.1422, allocations: 27.91 kB / 481 MB, free: 4.113 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.5e-05/0.1422, allocations: 7.938 kB / 481 MB, free: 4.105 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.563e-05/0.1423, allocations: 11.98 kB / 481 MB, free: 4.094 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.414e-05/0.1423, allocations: 20.48 kB / 481 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.1423, allocations: 0 / 481 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003226/0.1427, allocations: 159.8 kB / 481.2 MB, free: 3.914 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.1428, allocations: 64.38 kB / 481.3 MB, free: 3.852 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.152e-05/0.1428, allocations: 63.59 kB / 481.3 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003692/0.1432, allocations: 203.4 kB / 481.5 MB, free: 3.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1432, allocations: 0 / 481.5 MB, free: 3.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1432, allocations: 0 / 481.5 MB, free: 3.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.1433, allocations: 0 / 481.5 MB, free: 3.59 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.0007492/0.144, allocations: 496.7 kB / 482 MB, free: 3.059 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.1441, allocations: 8.031 kB / 482 MB, free: 3.051 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002216/0.1443, allocations: 153.9 kB / 482.2 MB, free: 2.891 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.517e-05/0.1444, allocations: 36.56 kB / 482.2 MB, free: 2.855 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.1446, allocations: 196 kB / 482.4 MB, free: 2.625 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.396e-05/0.1447, allocations: 32.81 kB / 482.4 MB, free: 2.594 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.106e-05/0.1448, allocations: 40.38 kB / 482.5 MB, free: 2.555 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006082/0.1454, allocations: 302.5 kB / 482.8 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.1454, allocations: 0 / 482.8 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.01e-05/0.1454, allocations: 12 kB / 482.8 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.1455, allocations: 4 kB / 482.8 MB, free: 2.234 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004165/0.1459, allocations: 210.2 kB / 483 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00149/0.1474, allocations: 0.6357 MB / 483.6 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003128/0.1477, allocations: 199 kB / 483.8 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00026/0.148, allocations: 181.9 kB / 484 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.148, allocations: 4 kB / 484 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003505/0.1484, allocations: 174.7 kB / 484.2 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of pre-optimization done (n=60): time 2.024e-06/0.1484, allocations: 0 / 484.2 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of matching and sorting (n=60): time 0.001414/0.1498, allocations: 0.8504 MB / 485 MB, free: 15.92 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.541e-05/0.1499, allocations: 107.9 kB / 485.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.99e-05/0.15, allocations: 125.6 kB / 485.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.016e-05/0.1501, allocations: 69.67 kB / 485.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.128e-05/0.1502, allocations: 145.5 kB / 485.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002494/0.1504, allocations: 221.1 kB / 485.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002196/0.1507, allocations: 199 kB / 485.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.1508, allocations: 350.7 kB / 486.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004376/0.1513, allocations: 306.1 kB / 486.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007858/0.1521, allocations: 0.6631 MB / 487.2 MB, free: 13.55 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.002712/0.1548, allocations: 1.413 MB / 488.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.064e-05/0.1548, allocations: 4 kB / 488.6 MB, free: 11.97 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:7953:5-7953:89:writable] Error: Internal error Transformation module sort components failed Error: No system for the symbolic initialization was generated