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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00132/0.00132, allocations: 117.1 kB / 18.45 MB, free: 4.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001467/0.001467, allocations: 209.7 kB / 21.41 MB, free: 1.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 227.4 MB / 251.7 MB, free: 60 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2337/0.2337, allocations: 46.15 MB / 351.1 MB, free: 14.32 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "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.002235/0.002235, allocations: 82.58 kB / 489.7 MB, free: 28.37 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1351, allocations: 62.45 MB / 0.5392 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.00175/0.1369, allocations: 0.5378 MB / 0.5397 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.1382, allocations: 0.5923 MB / 0.5403 GB, free: 3.648 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.649e-05/0.1382, allocations: 0 / 0.5403 GB, free: 3.648 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001018/0.1383, allocations: 7.922 kB / 0.5403 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.833e-06/0.1383, allocations: 3.938 kB / 0.5403 GB, free: 3.637 MB / 398.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.0007919/0.1391, allocations: 199.4 kB / 0.5405 GB, free: 3.441 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.651e-05/0.1392, allocations: 23.92 kB / 0.5405 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.735e-05/0.1393, allocations: 7.984 kB / 0.5405 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.099e-05/0.1393, allocations: 15.98 kB / 0.5405 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.563e-05/0.1394, allocations: 16.2 kB / 0.5405 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.1394, allocations: 0 / 0.5405 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003113/0.1397, allocations: 167.8 kB / 0.5407 GB, free: 3.211 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.118e-05/0.1398, allocations: 60.11 kB / 0.5408 GB, free: 3.152 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.033e-05/0.1399, allocations: 55.61 kB / 0.5408 GB, free: 3.098 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003062/0.1402, allocations: 211.4 kB / 0.541 GB, free: 2.891 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1402, allocations: 0 / 0.541 GB, free: 2.891 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1402, allocations: 0 / 0.541 GB, free: 2.891 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.1402, allocations: 0 / 0.541 GB, free: 2.891 MB / 398.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.0006315/0.1409, allocations: 0.496 MB / 0.5415 GB, free: 2.344 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.1409, allocations: 8.031 kB / 0.5415 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001691/0.1411, allocations: 150.5 kB / 0.5416 GB, free: 2.18 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.148e-05/0.1411, allocations: 36.7 kB / 0.5417 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.1413, allocations: 199.9 kB / 0.5419 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.78e-05/0.1413, allocations: 28.81 kB / 0.5419 GB, free: 1.883 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.057e-05/0.1414, allocations: 36.38 kB / 0.5419 GB, free: 1.848 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004374/0.1418, allocations: 303.1 kB / 0.5422 GB, free: 1.543 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.1419, allocations: 3.938 kB / 0.5422 GB, free: 1.539 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.1419, allocations: 8 kB / 0.5422 GB, free: 1.531 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.1419, allocations: 8 kB / 0.5422 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002938/0.1422, allocations: 218.2 kB / 0.5424 GB, free: 1.312 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009777/0.1432, allocations: 0.6321 MB / 0.5431 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002629/0.1435, allocations: 203 kB / 0.5433 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/0.1436, allocations: 181.9 kB / 0.5434 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.1437, allocations: 0 / 0.5434 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003609/0.144, allocations: 178.8 kB / 0.5436 GB, free: 56 kB / 398.1 MB Notification: Performance of pre-optimization done (n=60): time 1.522e-06/0.144, allocations: 0 / 0.5436 GB, free: 56 kB / 398.1 MB Notification: Performance of matching and sorting (n=60): time 0.001361/0.1454, allocations: 0.8545 MB / 0.5444 GB, free: 15.19 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002182/0.1456, allocations: 103.8 kB / 0.5445 GB, free: 15.08 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.83e-05/0.1457, allocations: 121.7 kB / 0.5447 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.076e-05/0.1458, allocations: 69.69 kB / 0.5447 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.1459, allocations: 145.7 kB / 0.5449 GB, free: 14.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001937/0.1461, allocations: 234.1 kB / 0.5451 GB, free: 14.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002267/0.1463, allocations: 199 kB / 0.5453 GB, free: 14.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.1465, allocations: 358.7 kB / 0.5456 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000443/0.147, allocations: 302.1 kB / 0.5459 GB, free: 13.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007658/0.1478, allocations: 0.667 MB / 0.5466 GB, free: 12.81 MB / 414.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.00228/0.15, allocations: 1.41 MB / 0.5479 GB, free: 11.24 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/0.1501, allocations: 4 kB / 0.5479 GB, free: 11.24 MB / 414.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:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed Error: No system for the symbolic initialization was generated " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.914968400960788] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.15737280691973865 0.17207954599999994 0.029191164000000002 Calling exit ...