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.001838/0.001838, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002253/0.002253, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.57/1.57, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] 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.2441/0.2441, allocations: 46.92 MB / 357.1 MB, free: 10.3 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+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 0.002991/0.002991, allocations: 63.91 kB / 0.4909 GB, free: 7.941 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1397, allocations: 65.99 MB / 0.5554 GB, free: 5.824 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.001661/0.1413, allocations: 0.5303 MB / 0.5559 GB, free: 5.293 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001248/0.1426, allocations: 0.6102 MB / 0.5565 GB, free: 4.68 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.078e-05/0.1426, allocations: 0 / 0.5565 GB, free: 4.68 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 7.755e-05/0.1427, allocations: 3.938 kB / 0.5565 GB, free: 4.676 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 4.058e-06/0.1427, allocations: 7.938 kB / 0.5565 GB, free: 4.668 MB / 414.1 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.0007055/0.1434, allocations: 206.5 kB / 0.5567 GB, free: 4.469 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.922e-05/0.1435, allocations: 23.98 kB / 0.5567 GB, free: 4.445 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.889e-05/0.1435, allocations: 0 / 0.5567 GB, free: 4.445 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.544e-05/0.1435, allocations: 27.84 kB / 0.5567 GB, free: 4.418 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.402e-05/0.1436, allocations: 16.2 kB / 0.5568 GB, free: 4.398 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.009e-05/0.1436, allocations: 0 / 0.5568 GB, free: 4.398 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000304/0.1439, allocations: 183.7 kB / 0.5569 GB, free: 4.219 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.794e-05/0.144, allocations: 56.17 kB / 0.557 GB, free: 4.164 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.101e-05/0.144, allocations: 51.61 kB / 0.557 GB, free: 4.113 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002951/0.1443, allocations: 211.2 kB / 0.5572 GB, free: 3.906 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.1443, allocations: 4 kB / 0.5572 GB, free: 3.902 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1443, allocations: 0 / 0.5572 GB, free: 3.902 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.1443, allocations: 0 / 0.5572 GB, free: 3.902 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.0005808/0.1449, allocations: 0.492 MB / 0.5577 GB, free: 3.363 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.145, allocations: 8.031 kB / 0.5577 GB, free: 3.355 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001625/0.1451, allocations: 150.5 kB / 0.5579 GB, free: 3.199 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.286e-05/0.1452, allocations: 40.64 kB / 0.5579 GB, free: 3.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.1453, allocations: 192 kB / 0.5581 GB, free: 2.934 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.377e-05/0.1454, allocations: 36.81 kB / 0.5581 GB, free: 2.898 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.613e-05/0.1454, allocations: 44.31 kB / 0.5582 GB, free: 2.855 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004227/0.1458, allocations: 302.5 kB / 0.5585 GB, free: 2.547 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.1458, allocations: 0 / 0.5585 GB, free: 2.547 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.1459, allocations: 8 kB / 0.5585 GB, free: 2.539 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.158e-06/0.1459, allocations: 8 kB / 0.5585 GB, free: 2.531 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002552/0.1461, allocations: 206.2 kB / 0.5587 GB, free: 2.332 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009226/0.147, allocations: 0.6438 MB / 0.5593 GB, free: 1.637 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.1472, allocations: 143.1 kB / 0.5594 GB, free: 1.488 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.1474, allocations: 121.9 kB / 0.5596 GB, free: 1.367 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.1474, allocations: 0 / 0.5596 GB, free: 1.367 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002666/0.1476, allocations: 174.7 kB / 0.5597 GB, free: 1.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=60): time 1.303e-06/0.1476, allocations: 4 kB / 0.5597 GB, free: 1.176 MB / 414.1 MB Notification: Performance of matching and sorting (n=60): time 0.001175/0.1488, allocations: 0.8427 MB / 0.5606 GB, free: 340 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.664e-05/0.1489, allocations: 112 kB / 0.5607 GB, free: 216 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.003e-05/0.149, allocations: 121.7 kB / 0.5608 GB, free: 84 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.949e-05/0.1491, allocations: 69.67 kB / 0.5608 GB, free: 8 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.1492, allocations: 149.7 kB / 0.561 GB, free: 15.86 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000192/0.1494, allocations: 226.2 kB / 0.5612 GB, free: 15.63 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002343/0.1496, allocations: 198.9 kB / 0.5614 GB, free: 15.43 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.1498, allocations: 354.7 kB / 0.5617 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004436/0.1502, allocations: 306.1 kB / 0.562 GB, free: 14.78 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007462/0.151, allocations: 0.6631 MB / 0.5627 GB, free: 13.95 MB / 430.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.001963/0.1529, allocations: 1.413 MB / 0.5641 GB, free: 12.37 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/0.1529, allocations: 4 kB / 0.5641 GB, free: 12.37 MB / 430.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: 3.086545847123489] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.16115950583480299 0.174363914 0.027331344 Calling exit ...