Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_Math_Random_TestRandomNumbers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestRandomNumbers,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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.001474/0.001474, allocations: 116.5 kB / 17.33 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001589/0.00159, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 227.4 MB / 246.5 MB, free: 9.078 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2424/0.2424, allocations: 46.12 MB / 343.8 MB, free: 11.53 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002234/0.002234, allocations: 72.44 kB / 417.2 MB, free: 19.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1401, allocations: 62.45 MB / 479.7 MB, free: 5.477 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.002276/0.1424, allocations: 0.602 MB / 480.3 MB, free: 4.871 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.1437, allocations: 0.5964 MB / 480.9 MB, free: 4.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.569e-05/0.1438, allocations: 0 / 480.9 MB, free: 4.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001043/0.1439, allocations: 7.938 kB / 480.9 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.88e-06/0.1439, allocations: 4 kB / 480.9 MB, free: 4.258 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.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.0007366/0.1447, allocations: 171.7 kB / 481.1 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.867e-05/0.1448, allocations: 31.97 kB / 481.1 MB, free: 4.059 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.167e-05/0.1448, allocations: 3.938 kB / 481.1 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.977e-05/0.1448, allocations: 19.97 kB / 481.1 MB, free: 4.035 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.999e-05/0.1449, allocations: 12.5 kB / 481.1 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.1449, allocations: 4 kB / 481.1 MB, free: 4.016 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003034/0.1452, allocations: 167.7 kB / 481.3 MB, free: 3.852 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.649e-05/0.1453, allocations: 64.38 kB / 481.3 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.596e-05/0.1454, allocations: 55.61 kB / 481.4 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002968/0.1457, allocations: 195.5 kB / 481.6 MB, free: 3.543 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1457, allocations: 3.938 kB / 481.6 MB, free: 3.539 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1457, allocations: 4 kB / 481.6 MB, free: 3.535 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.371e-06/0.1457, allocations: 0 / 481.6 MB, free: 3.535 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.0006273/0.1464, allocations: 496.7 kB / 482.1 MB, free: 3.004 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/0.1464, allocations: 12.02 kB / 482.1 MB, free: 2.992 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000166/0.1466, allocations: 153.9 kB / 482.2 MB, free: 2.832 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.445e-05/0.1467, allocations: 36.56 kB / 482.3 MB, free: 2.797 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.1468, allocations: 192 kB / 482.5 MB, free: 2.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.152e-05/0.1469, allocations: 28.81 kB / 482.5 MB, free: 2.543 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.623e-05/0.1469, allocations: 36.38 kB / 482.5 MB, free: 2.508 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004584/0.1474, allocations: 314.5 kB / 482.8 MB, free: 2.191 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.1474, allocations: 0 / 482.8 MB, free: 2.191 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.1474, allocations: 8 kB / 482.8 MB, free: 2.184 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.1475, allocations: 4 kB / 482.9 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002809/0.1477, allocations: 214.2 kB / 483.1 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009576/0.1487, allocations: 0.6396 MB / 483.7 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.1489, allocations: 195 kB / 483.9 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001839/0.1491, allocations: 186 kB / 484.1 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.906e-06/0.1492, allocations: 0 / 484.1 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002705/0.1494, allocations: 182.7 kB / 484.3 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of pre-optimization done (n=60): time 1.323e-06/0.1494, allocations: 0 / 484.3 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of matching and sorting (n=60): time 0.001218/0.1507, allocations: 0.8427 MB / 485.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.1508, allocations: 111.9 kB / 485.2 MB, free: 15.74 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.127e-05/0.1509, allocations: 121.5 kB / 485.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.16e-05/0.151, allocations: 73.67 kB / 485.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.698e-05/0.1511, allocations: 141.5 kB / 485.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001911/0.1513, allocations: 217.1 kB / 485.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002261/0.1515, allocations: 203 kB / 485.9 MB, free: 14.97 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.1517, allocations: 350.7 kB / 486.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004559/0.1521, allocations: 306 kB / 486.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007615/0.1529, allocations: 0.6592 MB / 487.2 MB, free: 13.49 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.002042/0.155, allocations: 1.421 MB / 488.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.333e-06/0.155, allocations: 0 / 488.7 MB, free: 11.91 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