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.001152/0.001151, allocations: 112.8 kB / 17.33 MB, free: 5.988 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.001155/0.001156, allocations: 193.3 kB / 18.25 MB, free: 5.086 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.361/1.361, allocations: 222.9 MB / 241.9 MB, free: 15.37 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.2367/0.2367, allocations: 44.17 MB / 336.2 MB, free: 2.93 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 60.28 kB / 408 MB, free: 27.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1443, allocations: 60.84 MB / 468.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.002232/0.1466, allocations: 0.5916 MB / 469.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.1479, allocations: 0.6106 MB / 470 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.288e-05/0.1479, allocations: 3.938 kB / 470 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001084/0.148, allocations: 4 kB / 470 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.542e-06/0.1481, allocations: 0 / 470 MB, free: 13.41 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.0009321/0.149, allocations: 171.6 kB / 470.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.26e-05/0.1491, allocations: 35.95 kB / 470.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.736e-05/0.1492, allocations: 0 / 470.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.153e-05/0.1492, allocations: 19.92 kB / 470.3 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.192e-05/0.1493, allocations: 16.48 kB / 470.3 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.1493, allocations: 4 kB / 470.3 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003326/0.1496, allocations: 167.8 kB / 470.4 MB, free: 13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.929e-05/0.1497, allocations: 56.39 kB / 470.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.051e-05/0.1498, allocations: 55.61 kB / 470.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003691/0.1502, allocations: 203.4 kB / 470.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1502, allocations: 0 / 470.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1502, allocations: 0 / 470.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.1502, allocations: 4 kB / 470.8 MB, free: 12.69 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.0006192/0.1509, allocations: 0.4889 MB / 471.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.1509, allocations: 12.03 kB / 471.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001608/0.1511, allocations: 149.9 kB / 471.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.368e-05/0.1512, allocations: 32.56 kB / 471.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.1513, allocations: 196 kB / 471.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.512e-05/0.1513, allocations: 28.81 kB / 471.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.192e-05/0.1514, allocations: 44.36 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004337/0.1518, allocations: 302.5 kB / 472 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.1519, allocations: 4 kB / 472 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.035e-05/0.1519, allocations: 15.98 kB / 472 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.1519, allocations: 7.938 kB / 472 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002595/0.1522, allocations: 210.1 kB / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009512/0.1531, allocations: 0.6396 MB / 472.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/0.1534, allocations: 203 kB / 473.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.1535, allocations: 181.9 kB / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.1535, allocations: 0 / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002495/0.1538, allocations: 178.7 kB / 473.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of pre-optimization done (n=60): time 1.533e-06/0.1538, allocations: 0 / 473.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=60): time 0.001135/0.155, allocations: 0.8504 MB / 474.3 MB, free: 9.004 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.109e-05/0.155, allocations: 104 kB / 474.4 MB, free: 8.891 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.967e-05/0.1551, allocations: 121.6 kB / 474.5 MB, free: 8.762 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.751e-05/0.1552, allocations: 69.67 kB / 474.5 MB, free: 8.688 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.382e-05/0.1553, allocations: 145.5 kB / 474.7 MB, free: 8.543 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001749/0.1555, allocations: 221.1 kB / 474.9 MB, free: 8.324 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000224/0.1557, allocations: 199 kB / 475.1 MB, free: 8.125 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.1558, allocations: 354.7 kB / 475.4 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004274/0.1563, allocations: 302.1 kB / 475.7 MB, free: 7.473 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006762/0.157, allocations: 0.6553 MB / 476.4 MB, free: 6.648 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.001947/0.1589, allocations: 1.421 MB / 477.8 MB, free: 5.066 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.968e-05/0.1589, allocations: 0 / 477.8 MB, free: 5.066 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:7953:5-7953:89:writable] Error: Internal error Transformation module sort components failed Error: No system for the symbolic initialization was generated