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.0008329/0.0008329, allocations: 98.92 kB / 17.36 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009992/0.0009993, allocations: 207.2 kB / 18.29 MB, free: 5.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.211/0.211, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003001/0.0003001, allocations: 8 kB / 419.6 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1314, allocations: 63.56 MB / 483.2 MB, free: 4.074 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.0007304/0.1322, allocations: 278.7 kB / 483.4 MB, free: 3.801 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001249/0.1335, allocations: 0.5992 MB / 484 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.618e-05/0.1335, allocations: 0 / 484 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.385e-05/0.1336, allocations: 3.938 kB / 484 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.041e-06/0.1336, allocations: 0 / 484 MB, free: 3.195 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.0007699/0.1344, allocations: 171.2 kB / 484.2 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.563e-05/0.1345, allocations: 23.97 kB / 484.2 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.565e-05/0.1345, allocations: 7.938 kB / 484.2 MB, free: 3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.923e-05/0.1346, allocations: 15.98 kB / 484.3 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.223e-05/0.1346, allocations: 20.48 kB / 484.3 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.028e-05/0.1346, allocations: 0 / 484.3 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003814/0.135, allocations: 163.7 kB / 484.4 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.147e-05/0.1351, allocations: 68.38 kB / 484.5 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.297e-05/0.1352, allocations: 85.3 kB / 484.6 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003275/0.1356, allocations: 191.5 kB / 484.8 MB, free: 2.457 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1356, allocations: 3.984 kB / 484.8 MB, free: 2.453 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1356, allocations: 0 / 484.8 MB, free: 2.453 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.698e-06/0.1356, allocations: 0 / 484.8 MB, free: 2.453 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.0005232/0.1361, allocations: 464.7 kB / 485.2 MB, free: 1.953 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.1362, allocations: 16.86 kB / 485.3 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000168/0.1364, allocations: 153.9 kB / 485.4 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.501e-05/0.1364, allocations: 36.56 kB / 485.4 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.1366, allocations: 188 kB / 485.6 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.503e-05/0.1366, allocations: 32.81 kB / 485.7 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.418e-05/0.1367, allocations: 44.38 kB / 485.7 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003996/0.1371, allocations: 306.5 kB / 486 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1371, allocations: 0 / 486 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.21e-05/0.1371, allocations: 12 kB / 486 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.1371, allocations: 4 kB / 486 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002514/0.1374, allocations: 214.2 kB / 486.2 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009121/0.1383, allocations: 0.6396 MB / 486.9 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002506/0.1386, allocations: 199.1 kB / 487.1 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/0.1387, allocations: 178.1 kB / 487.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.1388, allocations: 4 kB / 487.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002168/0.139, allocations: 178.7 kB / 487.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of pre-optimization done (n=60): time 1.153e-06/0.139, allocations: 0 / 487.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=60): time 0.001135/0.1401, allocations: 0.8466 MB / 488.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.494e-05/0.1402, allocations: 107.8 kB / 488.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.778e-05/0.1403, allocations: 129.5 kB / 488.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.356e-05/0.1404, allocations: 69.67 kB / 488.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.578e-05/0.1405, allocations: 137.5 kB / 488.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001771/0.1407, allocations: 225.1 kB / 488.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/0.1408, allocations: 105.7 kB / 489 MB, free: 14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.141, allocations: 350.8 kB / 489.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004494/0.1414, allocations: 310.1 kB / 489.7 MB, free: 13.35 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007491/0.1422, allocations: 0.667 MB / 490.3 MB, free: 12.52 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.001931/0.1441, allocations: 1.41 MB / 491.7 MB, free: 10.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.229e-05/0.1442, allocations: 4 kB / 491.7 MB, free: 10.95 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