Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009084/0.0009084, allocations: 83.69 kB / 20.67 MB, free: 3.883 MB / 18.57 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.0009365/0.0009365, allocations: 174 kB / 23.95 MB, free: 0.6055 MB / 18.57 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 0.8831/0.8831, allocations: 177.1 MB / 204.3 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2341/0.2341, allocations: 34.24 MB / 294.9 MB, free: 0.7188 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Math_Random_TestRandomNumbers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestRandomNumbers,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_Random_TestRandomNumbers",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 442.2 MB, free: 1.672 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.857e-05/1.997e-05, allocations: 6.281 kB / 442.2 MB, free: 1.664 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.001195/0.001215, allocations: 0.5231 MB / 442.7 MB, free: 1.145 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008148/0.002029, allocations: 0.5999 MB / 443.3 MB, free: 0.5391 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.454e-05/0.002054, allocations: 0 / 443.3 MB, free: 0.5391 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.396e-05/0.002128, allocations: 3.938 kB / 443.3 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.546e-06/0.002131, allocations: 0 / 443.3 MB, free: 0.5352 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.0006343/0.002766, allocations: 211.2 kB / 443.5 MB, free: 336 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.559e-05/0.002821, allocations: 23.97 kB / 443.5 MB, free: 312 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.899e-05/0.00286, allocations: 11.92 kB / 443.6 MB, free: 300 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.281e-05/0.002893, allocations: 15.98 kB / 443.6 MB, free: 284 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.87e-05/0.002932, allocations: 16.25 kB / 443.6 MB, free: 264 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.002944, allocations: 0 / 443.6 MB, free: 264 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002615/0.003205, allocations: 199.5 kB / 443.8 MB, free: 64 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.526e-05/0.00327, allocations: 64.03 kB / 443.8 MB, free: 0 / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1712/0.1745, allocations: 29.84 kB / 443.9 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003993/0.1749, allocations: 216.6 kB / 444.1 MB, free: 43.24 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1749, allocations: 6.344 kB / 444.1 MB, free: 43.24 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1749, allocations: 2.969 kB / 444.1 MB, free: 43.24 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.1749, allocations: 2.078 kB / 444.1 MB, free: 43.24 MB / 410.7 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.0003275/0.1752, allocations: 423.5 kB / 444.5 MB, free: 42.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.1753, allocations: 10.88 kB / 444.5 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.824e-05/0.1754, allocations: 150.2 kB / 444.7 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.914e-05/0.1754, allocations: 39.12 kB / 444.7 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.747e-05/0.1755, allocations: 141.8 kB / 444.8 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/0.1755, allocations: 32.09 kB / 444.9 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.1755, allocations: 41.16 kB / 444.9 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002328/0.1757, allocations: 300.6 kB / 445.2 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.1757, allocations: 4.094 kB / 445.2 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.1758, allocations: 14.19 kB / 445.2 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.1758, allocations: 2.969 kB / 445.2 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001397/0.1759, allocations: 216.9 kB / 445.4 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005208/0.1764, allocations: 0.5781 MB / 446 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.775e-05/0.1765, allocations: 140.4 kB / 446.2 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.854e-05/0.1766, allocations: 126.5 kB / 446.3 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.115e-06/0.1766, allocations: 4.156 kB / 446.3 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001677/0.1768, allocations: 175.4 kB / 446.5 MB, free: 42.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=60): time 1.113e-06/0.1768, allocations: 0 / 446.5 MB, free: 42.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=60): time 0.0004892/0.1773, allocations: 0.7045 MB / 447.2 MB, free: 42.06 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.1773, allocations: 104 kB / 447.3 MB, free: 41.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.055e-05/0.1773, allocations: 122.1 kB / 447.4 MB, free: 41.87 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.1774, allocations: 73.52 kB / 447.4 MB, free: 41.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.868e-05/0.1774, allocations: 154.6 kB / 447.6 MB, free: 41.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.691e-05/0.1774, allocations: 159.2 kB / 447.8 MB, free: 41.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.49e-05/0.1775, allocations: 167 kB / 447.9 MB, free: 41.51 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.997e-05/0.1776, allocations: 350.9 kB / 448.3 MB, free: 41.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.1777, allocations: 201.2 kB / 448.5 MB, free: 41.13 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002288/0.178, allocations: 0.5579 MB / 449 MB, free: 40.64 MB / 410.7 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.0005224/0.1785, allocations: 0.8716 MB / 449.9 MB, free: 40.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.1785, allocations: 2.969 kB / 449.9 MB, free: 40.05 MB / 410.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:337:7-337: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.) $outputAlias_result $PRE.$outputAlias_result $PRE.$outputAlias_result = $outputAlias_result $outputAlias_result = $PRE.$outputAlias_result [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:347:7-347:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: $outputAlias_result $PRE.$outputAlias_result equations: $PRE.$outputAlias_result = $outputAlias_result $outputAlias_result = $PRE.$outputAlias_result [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:351:7-351:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:202:5-202:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:113:7-113:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7979:5-7979: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: 1.9464857261627913] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.18320218659937382 0.189265483 0.013052348 Calling exit ...