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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 116.8 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001869/0.001869, allocations: 189.2 kB / 21.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 225.6 MB / 249.8 MB, free: 3.598 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2342/0.2342, allocations: 44.92 MB / 349.6 MB, free: 1.719 MB / 270.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 67.16 kB / 491.8 MB, free: 29.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1212, allocations: 64.26 MB / 0.543 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.00164/0.1229, allocations: 0.5399 MB / 0.5435 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.1242, allocations: 0.6122 MB / 0.5441 GB, free: 2.941 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.349e-05/0.1242, allocations: 0 / 0.5441 GB, free: 2.941 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.753e-05/0.1243, allocations: 11.92 kB / 0.5441 GB, free: 2.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.058e-06/0.1243, allocations: 0 / 0.5441 GB, free: 2.93 MB / 398.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.000732/0.125, allocations: 195.4 kB / 0.5443 GB, free: 2.738 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.158e-05/0.1251, allocations: 23.98 kB / 0.5444 GB, free: 2.715 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.488e-05/0.1251, allocations: 3.938 kB / 0.5444 GB, free: 2.711 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.428e-05/0.1251, allocations: 15.97 kB / 0.5444 GB, free: 2.695 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.17e-05/0.1252, allocations: 24.2 kB / 0.5444 GB, free: 2.668 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.022e-05/0.1252, allocations: 0 / 0.5444 GB, free: 2.668 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003051/0.1255, allocations: 183.7 kB / 0.5446 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.681e-05/0.1256, allocations: 60.11 kB / 0.5446 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.777e-05/0.1257, allocations: 55.61 kB / 0.5447 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002895/0.126, allocations: 203.5 kB / 0.5449 GB, free: 2.176 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.126, allocations: 0 / 0.5449 GB, free: 2.176 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.126, allocations: 7.938 kB / 0.5449 GB, free: 2.168 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.126, allocations: 0 / 0.5449 GB, free: 2.168 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.0005871/0.1266, allocations: 499.9 kB / 0.5454 GB, free: 1.633 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.1266, allocations: 16.03 kB / 0.5454 GB, free: 1.617 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001481/0.1267, allocations: 150.5 kB / 0.5455 GB, free: 1.461 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.688e-05/0.1268, allocations: 36.7 kB / 0.5456 GB, free: 1.426 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.127, allocations: 192 kB / 0.5457 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.292e-05/0.127, allocations: 28.81 kB / 0.5458 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.63e-05/0.127, allocations: 40.38 kB / 0.5458 GB, free: 1.133 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004337/0.1275, allocations: 310.5 kB / 0.5461 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.1275, allocations: 0 / 0.5461 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/0.1275, allocations: 4 kB / 0.5461 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.659e-06/0.1275, allocations: 8 kB / 0.5461 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002621/0.1278, allocations: 214.2 kB / 0.5463 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009948/0.1288, allocations: 0.636 MB / 0.5469 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/0.1289, allocations: 139 kB / 0.5471 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/0.1291, allocations: 129.9 kB / 0.5472 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.1291, allocations: 0 / 0.5472 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002716/0.1294, allocations: 174.7 kB / 0.5474 GB, free: 15.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=60): time 1.923e-06/0.1294, allocations: 0 / 0.5474 GB, free: 15.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=60): time 0.001251/0.1306, allocations: 0.8544 MB / 0.5482 GB, free: 14.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.06e-05/0.1307, allocations: 108 kB / 0.5483 GB, free: 14.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.772e-05/0.1308, allocations: 113.8 kB / 0.5484 GB, free: 14.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.812e-05/0.1309, allocations: 69.67 kB / 0.5485 GB, free: 14.28 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.131, allocations: 149.7 kB / 0.5486 GB, free: 14.13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002126/0.1312, allocations: 230.1 kB / 0.5488 GB, free: 13.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002295/0.1314, allocations: 203 kB / 0.549 GB, free: 13.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.1316, allocations: 350.7 kB / 0.5494 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004366/0.132, allocations: 310 kB / 0.5497 GB, free: 13.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007622/0.1328, allocations: 0.6631 MB / 0.5503 GB, free: 12.21 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.002046/0.1348, allocations: 1.421 MB / 0.5517 GB, free: 10.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.036e-05/0.1348, allocations: 4 kB / 0.5517 GB, free: 10.63 MB / 414.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/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_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8012:5-8012: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: 3.0281891897320747] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.14184902515262365 0.156288838 0.027550699 Calling exit ...