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.001776/0.001776, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001916/0.001916, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2298/0.2298, allocations: 46.09 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 79 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1296, allocations: 62.44 MB / 480.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.001705/0.1314, allocations: 0.5307 MB / 480.7 MB, free: 4.668 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.1326, allocations: 0.6028 MB / 481.3 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.785e-05/0.1326, allocations: 4 kB / 481.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.88e-05/0.1327, allocations: 3.938 kB / 481.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.418e-06/0.1327, allocations: 4 kB / 481.3 MB, free: 4.051 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.0007582/0.1335, allocations: 191.5 kB / 481.5 MB, free: 3.863 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.169e-05/0.1335, allocations: 31.95 kB / 481.5 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.92e-05/0.1336, allocations: 0 / 481.5 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.367e-05/0.1336, allocations: 15.94 kB / 481.5 MB, free: 3.816 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.266e-05/0.1337, allocations: 16.19 kB / 481.5 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.1337, allocations: 4 kB / 481.5 MB, free: 3.793 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003138/0.134, allocations: 167.7 kB / 481.7 MB, free: 3.629 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.278e-05/0.1341, allocations: 68.03 kB / 481.8 MB, free: 3.562 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.608e-05/0.1342, allocations: 59.61 kB / 481.8 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002883/0.1345, allocations: 191.5 kB / 482 MB, free: 3.316 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1345, allocations: 0 / 482 MB, free: 3.316 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.1345, allocations: 0 / 482 MB, free: 3.316 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.1345, allocations: 3.938 kB / 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.0005401/0.135, allocations: 0.4889 MB / 482.5 MB, free: 2.777 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.1351, allocations: 8.031 kB / 482.5 MB, free: 2.77 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001465/0.1352, allocations: 153.9 kB / 482.7 MB, free: 2.609 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.16e-05/0.1353, allocations: 36.55 kB / 482.7 MB, free: 2.574 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.1354, allocations: 196 kB / 482.9 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.323e-05/0.1355, allocations: 32.81 kB / 482.9 MB, free: 2.312 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.464e-05/0.1355, allocations: 40.38 kB / 483 MB, free: 2.273 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003737/0.1359, allocations: 306.5 kB / 483.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.1359, allocations: 0 / 483.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.889e-05/0.136, allocations: 12 kB / 483.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.136, allocations: 4 kB / 483.3 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002399/0.1362, allocations: 210.2 kB / 483.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008241/0.137, allocations: 0.6357 MB / 484.1 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.1372, allocations: 195.1 kB / 484.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001624/0.1374, allocations: 181.9 kB / 484.5 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.1374, allocations: 4 kB / 484.5 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002418/0.1377, allocations: 178.7 kB / 484.7 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of pre-optimization done (n=60): time 1.433e-06/0.1377, allocations: 0 / 484.7 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of matching and sorting (n=60): time 0.001166/0.1389, allocations: 0.8427 MB / 485.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/0.139, allocations: 112 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.127e-05/0.1391, allocations: 117.6 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.919e-05/0.1391, allocations: 77.61 kB / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.811e-05/0.1392, allocations: 145.5 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/0.1394, allocations: 217.1 kB / 486.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002348/0.1396, allocations: 203 kB / 486.4 MB, free: 14.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.1398, allocations: 350.8 kB / 486.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004033/0.1402, allocations: 306.1 kB / 487 MB, free: 14.1 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006382/0.1408, allocations: 0.667 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.001929/0.1428, allocations: 1.41 MB / 489.1 MB, free: 11.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-05/0.1428, allocations: 4 kB / 489.1 MB, free: 11.69 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