Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001668/0.001668, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.002054/0.002054, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.497/1.497, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2301/0.2301, allocations: 46.89 MB / 357.4 MB, free: 10.48 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_Math_Random_TestRandomNumbers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestRandomNumbers,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_Random_TestRandomNumbers",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002274/0.002274, allocations: 87.86 kB / 0.4913 GB, free: 8.316 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1453, allocations: 66 MB / 0.5557 GB, free: 6.188 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.001852/0.1472, allocations: 0.5242 MB / 0.5562 GB, free: 5.656 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.1486, allocations: 0.6096 MB / 0.5568 GB, free: 5.047 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.326e-05/0.1486, allocations: 0 / 0.5568 GB, free: 5.047 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 9.568e-05/0.1487, allocations: 3.938 kB / 0.5568 GB, free: 5.043 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 4.138e-06/0.1487, allocations: 7.938 kB / 0.5568 GB, free: 5.035 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.0008402/0.1495, allocations: 201.7 kB / 0.557 GB, free: 4.84 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 9.434e-05/0.1496, allocations: 27.97 kB / 0.557 GB, free: 4.812 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.946e-05/0.1497, allocations: 0 / 0.557 GB, free: 4.812 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.896e-05/0.1497, allocations: 15.92 kB / 0.5571 GB, free: 4.797 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.103e-05/0.1498, allocations: 20.19 kB / 0.5571 GB, free: 4.773 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.1498, allocations: 4 kB / 0.5571 GB, free: 4.77 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003332/0.1501, allocations: 175.7 kB / 0.5573 GB, free: 4.598 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.1502, allocations: 64.16 kB / 0.5573 GB, free: 4.535 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.337e-05/0.1503, allocations: 47.62 kB / 0.5574 GB, free: 4.488 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003061/0.1506, allocations: 207.2 kB / 0.5576 GB, free: 4.285 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1506, allocations: 3.938 kB / 0.5576 GB, free: 4.281 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.1507, allocations: 0 / 0.5576 GB, free: 4.281 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.1507, allocations: 0 / 0.5576 GB, free: 4.281 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.0006718/0.1513, allocations: 0.4959 MB / 0.558 GB, free: 3.734 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.1514, allocations: 12.03 kB / 0.5581 GB, free: 3.723 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001778/0.1516, allocations: 150.5 kB / 0.5582 GB, free: 3.566 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.837e-05/0.1516, allocations: 44.62 kB / 0.5582 GB, free: 3.523 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.1518, allocations: 192 kB / 0.5584 GB, free: 3.297 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.835e-05/0.1518, allocations: 32.81 kB / 0.5585 GB, free: 3.266 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.252e-05/0.1519, allocations: 40.38 kB / 0.5585 GB, free: 3.227 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005154/0.1524, allocations: 303.1 kB / 0.5588 GB, free: 2.918 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.1524, allocations: 7.938 kB / 0.5588 GB, free: 2.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.1524, allocations: 4 kB / 0.5588 GB, free: 2.906 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.1524, allocations: 4 kB / 0.5588 GB, free: 2.902 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002873/0.1527, allocations: 214.2 kB / 0.559 GB, free: 2.695 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.1538, allocations: 0.636 MB / 0.5596 GB, free: 2.008 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/0.154, allocations: 143 kB / 0.5598 GB, free: 1.859 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001552/0.1542, allocations: 125.9 kB / 0.5599 GB, free: 1.734 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.1542, allocations: 0 / 0.5599 GB, free: 1.734 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003433/0.1545, allocations: 178.7 kB / 0.5601 GB, free: 1.547 MB / 414.1 MB Notification: Performance of pre-optimization done (n=60): time 1.202e-06/0.1545, allocations: 0 / 0.5601 GB, free: 1.547 MB / 414.1 MB Notification: Performance of matching and sorting (n=60): time 0.001399/0.1559, allocations: 0.8544 MB / 0.5609 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.156, allocations: 107.9 kB / 0.561 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.82e-05/0.1561, allocations: 121.7 kB / 0.5611 GB, free: 452 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.452e-05/0.1562, allocations: 69.67 kB / 0.5612 GB, free: 376 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.1563, allocations: 153.7 kB / 0.5613 GB, free: 216 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002186/0.1565, allocations: 218.3 kB / 0.5615 GB, free: 15.99 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000224/0.1568, allocations: 202.9 kB / 0.5617 GB, free: 15.79 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.1569, allocations: 346.8 kB / 0.5621 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004838/0.1574, allocations: 310 kB / 0.5623 GB, free: 15.14 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008835/0.1583, allocations: 0.667 MB / 0.563 GB, free: 14.31 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.00225/0.1606, allocations: 1.413 MB / 0.5644 GB, free: 12.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.147e-05/0.1606, allocations: 0 / 0.5644 GB, free: 12.73 MB / 430.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.046856143977493] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.1689426153898239 0.19399037899999996 0.038385464 Calling exit ...