Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.Random.TestRandomNumbers,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestRandomNumbers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestRandomNumbers,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestRandomNumbers",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 109 kB / 17.21 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 194 kB / 18.12 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 222.9 MB / 241.8 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2457/0.2457, allocations: 44.18 MB / 336.1 MB, free: 3.012 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 67.61 kB / 407.8 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1401, allocations: 60.82 MB / 468.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.002377/0.1426, allocations: 0.5955 MB / 469.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.144, allocations: 0.6223 MB / 469.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.008e-05/0.144, allocations: 0 / 469.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001037/0.1442, allocations: 3.938 kB / 469.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.55e-06/0.1442, allocations: 0 / 469.8 MB, free: 13.54 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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.0008117/0.145, allocations: 182.4 kB / 470 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.014e-05/0.1451, allocations: 19.98 kB / 470 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.339e-05/0.1451, allocations: 7.938 kB / 470.1 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.671e-05/0.1452, allocations: 15.86 kB / 470.1 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.572e-05/0.1452, allocations: 24.47 kB / 470.1 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.1453, allocations: 4 kB / 470.1 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000337/0.1456, allocations: 159.8 kB / 470.3 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.413e-05/0.1457, allocations: 60.39 kB / 470.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.468e-05/0.1458, allocations: 47.67 kB / 470.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003358/0.1461, allocations: 207.4 kB / 470.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1461, allocations: 4 kB / 470.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.31e-07/0.1461, allocations: 0 / 470.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.1461, allocations: 0 / 470.6 MB, free: 12.82 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.0005819/0.1467, allocations: 496.7 kB / 471 MB, free: 12.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.1468, allocations: 12.03 kB / 471.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001559/0.1469, allocations: 146 kB / 471.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.379e-05/0.147, allocations: 32.56 kB / 471.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.1472, allocations: 196 kB / 471.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/0.1472, allocations: 36.75 kB / 471.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.55e-05/0.1473, allocations: 44.38 kB / 471.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004073/0.1477, allocations: 302.5 kB / 471.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.1477, allocations: 3.984 kB / 471.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.032e-05/0.1477, allocations: 8 kB / 471.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.1477, allocations: 4 kB / 471.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002623/0.148, allocations: 210.2 kB / 472 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009337/0.1489, allocations: 0.6474 MB / 472.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.1492, allocations: 191.1 kB / 472.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/0.1493, allocations: 181.9 kB / 473 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/0.1494, allocations: 3.938 kB / 473 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002689/0.1496, allocations: 182.7 kB / 473.2 MB, free: 9.992 MB / 350.1 MB Notification: Performance of pre-optimization done (n=60): time 1.613e-06/0.1496, allocations: 0 / 473.2 MB, free: 9.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=60): time 0.001179/0.1508, allocations: 0.8505 MB / 474.1 MB, free: 9.137 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.055e-05/0.1509, allocations: 100 kB / 474.2 MB, free: 9.027 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.787e-05/0.151, allocations: 125.5 kB / 474.3 MB, free: 8.895 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.246e-05/0.1511, allocations: 65.69 kB / 474.4 MB, free: 8.824 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.894e-05/0.1512, allocations: 145.5 kB / 474.5 MB, free: 8.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001748/0.1513, allocations: 229 kB / 474.7 MB, free: 8.453 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002163/0.1516, allocations: 195 kB / 474.9 MB, free: 8.258 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.1517, allocations: 354.7 kB / 475.3 MB, free: 7.902 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004406/0.1522, allocations: 306.1 kB / 475.6 MB, free: 7.602 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006858/0.1529, allocations: 0.6631 MB / 476.2 MB, free: 6.77 MB / 350.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.001959/0.1548, allocations: 1.405 MB / 477.6 MB, free: 5.203 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.879e-05/0.1549, allocations: 4 kB / 477.6 MB, free: 5.199 MB / 350.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