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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 124.5 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 211.2 kB / 20.75 MB, free: 2.293 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.462/1.462, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.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.2268/0.2268, allocations: 44.91 MB / 355.1 MB, free: 12.33 MB / 286.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 71.89 kB / 499.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1368, allocations: 65.42 MB / 0.5518 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.001847/0.1386, allocations: 0.5491 MB / 0.5523 GB, free: 9.582 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001314/0.1399, allocations: 0.6024 MB / 0.5529 GB, free: 8.977 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.06e-05/0.14, allocations: 0 / 0.5529 GB, free: 8.977 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000107/0.1401, allocations: 7.922 kB / 0.5529 GB, free: 8.969 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 5.61e-06/0.1401, allocations: 7.938 kB / 0.5529 GB, free: 8.961 MB / 414.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.0008076/0.1409, allocations: 195.5 kB / 0.5531 GB, free: 8.77 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 8.035e-05/0.141, allocations: 27.91 kB / 0.5531 GB, free: 8.742 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.683e-05/0.141, allocations: 11.98 kB / 0.5531 GB, free: 8.73 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.581e-05/0.141, allocations: 11.98 kB / 0.5531 GB, free: 8.719 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.511e-05/0.1411, allocations: 8.219 kB / 0.5531 GB, free: 8.707 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.1411, allocations: 0 / 0.5531 GB, free: 8.707 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003405/0.1414, allocations: 183.7 kB / 0.5533 GB, free: 8.527 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.1415, allocations: 64.09 kB / 0.5534 GB, free: 8.465 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.592e-05/0.1416, allocations: 59.55 kB / 0.5534 GB, free: 8.406 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000335/0.142, allocations: 211.4 kB / 0.5536 GB, free: 8.199 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.142, allocations: 0 / 0.5536 GB, free: 8.199 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.574e-06/0.142, allocations: 4 kB / 0.5536 GB, free: 8.195 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.237e-05/0.142, allocations: 0 / 0.5536 GB, free: 8.195 MB / 414.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.0006829/0.1427, allocations: 499.9 kB / 0.5541 GB, free: 7.66 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.1427, allocations: 8.031 kB / 0.5541 GB, free: 7.652 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001884/0.1429, allocations: 150.5 kB / 0.5543 GB, free: 7.496 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.002e-05/0.143, allocations: 40.7 kB / 0.5543 GB, free: 7.457 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/0.1431, allocations: 195.9 kB / 0.5545 GB, free: 7.227 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.921e-05/0.1432, allocations: 32.81 kB / 0.5545 GB, free: 7.195 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.552e-05/0.1432, allocations: 40.38 kB / 0.5546 GB, free: 7.156 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004426/0.1437, allocations: 306.5 kB / 0.5549 GB, free: 6.848 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.1437, allocations: 0 / 0.5549 GB, free: 6.848 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.064e-05/0.1437, allocations: 12 kB / 0.5549 GB, free: 6.836 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.1437, allocations: 4 kB / 0.5549 GB, free: 6.832 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002672/0.144, allocations: 218.1 kB / 0.5551 GB, free: 6.621 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009822/0.145, allocations: 0.6244 MB / 0.5557 GB, free: 5.945 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.1452, allocations: 143 kB / 0.5558 GB, free: 5.797 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001415/0.1453, allocations: 125.9 kB / 0.5559 GB, free: 5.672 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.1453, allocations: 4 kB / 0.5559 GB, free: 5.668 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000275/0.1456, allocations: 178.7 kB / 0.5561 GB, free: 5.477 MB / 414.1 MB Notification: Performance of pre-optimization done (n=60): time 1.122e-06/0.1456, allocations: 0 / 0.5561 GB, free: 5.477 MB / 414.1 MB Notification: Performance of matching and sorting (n=60): time 0.001201/0.1468, allocations: 0.8466 MB / 0.5569 GB, free: 4.629 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.628e-05/0.1469, allocations: 104 kB / 0.557 GB, free: 4.516 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.455e-05/0.147, allocations: 125.7 kB / 0.5572 GB, free: 4.383 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.059e-05/0.1471, allocations: 73.69 kB / 0.5572 GB, free: 4.305 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.1472, allocations: 149.6 kB / 0.5574 GB, free: 4.152 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002191/0.1474, allocations: 230.2 kB / 0.5576 GB, free: 3.926 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00024/0.1476, allocations: 195 kB / 0.5578 GB, free: 3.727 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002175/0.1478, allocations: 354.7 kB / 0.5581 GB, free: 3.371 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004625/0.1483, allocations: 306.1 kB / 0.5584 GB, free: 3.074 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008386/0.1491, allocations: 0.6709 MB / 0.5591 GB, free: 2.23 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.002019/0.1512, allocations: 1.406 MB / 0.5604 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.246e-06/0.1512, allocations: 4 kB / 0.5604 GB, free: 0.6602 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: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: 2.8802991891279817] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.1583854709751904 0.172501351 0.027869413000000003 Calling exit ...