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.001399/0.001399, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001926/0.001926, allocations: 206.6 kB / 20.75 MB, free: 2.312 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.498/1.498, allocations: 230.4 MB / 254 MB, free: 15.04 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.2308/0.2308, allocations: 46.92 MB / 357 MB, free: 10.18 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.002278/0.002278, allocations: 79.88 kB / 0.491 GB, free: 7.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1782, allocations: 66.04 MB / 0.5555 GB, free: 5.539 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.002701/0.1809, allocations: 0.5333 MB / 0.556 GB, free: 5 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002116/0.183, allocations: 0.6136 MB / 0.5566 GB, free: 4.387 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.214e-05/0.183, allocations: 0 / 0.5566 GB, free: 4.387 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 9.698e-05/0.1831, allocations: 3.938 kB / 0.5566 GB, free: 4.383 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 1.104e-05/0.1831, allocations: 7.875 kB / 0.5566 GB, free: 4.375 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.001196/0.1843, allocations: 194.6 kB / 0.5568 GB, free: 4.188 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.1844, allocations: 31.95 kB / 0.5568 GB, free: 4.156 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.933e-05/0.1845, allocations: 0 / 0.5568 GB, free: 4.156 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.385e-05/0.1845, allocations: 19.92 kB / 0.5568 GB, free: 4.137 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.523e-05/0.1846, allocations: 16.2 kB / 0.5569 GB, free: 4.117 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.1846, allocations: 0 / 0.5569 GB, free: 4.117 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005403/0.1851, allocations: 183.8 kB / 0.557 GB, free: 3.938 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001289/0.1853, allocations: 60.16 kB / 0.5571 GB, free: 3.879 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.1854, allocations: 55.59 kB / 0.5571 GB, free: 3.824 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000462/0.1858, allocations: 203.2 kB / 0.5573 GB, free: 3.625 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1858, allocations: 0 / 0.5573 GB, free: 3.625 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1858, allocations: 4 kB / 0.5573 GB, free: 3.621 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.1859, allocations: 0 / 0.5573 GB, free: 3.621 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.0008686/0.1867, allocations: 495.9 kB / 0.5578 GB, free: 3.086 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.1868, allocations: 12.03 kB / 0.5578 GB, free: 3.074 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002263/0.187, allocations: 158.4 kB / 0.558 GB, free: 2.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.1871, allocations: 40.64 kB / 0.558 GB, free: 2.871 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/0.1873, allocations: 196 kB / 0.5582 GB, free: 2.641 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.94e-05/0.1874, allocations: 32.81 kB / 0.5582 GB, free: 2.609 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.191e-05/0.1874, allocations: 40.38 kB / 0.5583 GB, free: 2.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006308/0.1881, allocations: 299.1 kB / 0.5586 GB, free: 2.273 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.1881, allocations: 3.938 kB / 0.5586 GB, free: 2.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.757e-05/0.1881, allocations: 8 kB / 0.5586 GB, free: 2.262 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.1881, allocations: 8 kB / 0.5586 GB, free: 2.254 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000415/0.1885, allocations: 206.2 kB / 0.5588 GB, free: 2.055 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001476/0.19, allocations: 0.6437 MB / 0.5594 GB, free: 1.359 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002913/0.1903, allocations: 143 kB / 0.5595 GB, free: 1.211 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002494/0.1905, allocations: 125.9 kB / 0.5597 GB, free: 1.086 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.1906, allocations: 0 / 0.5597 GB, free: 1.086 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004353/0.191, allocations: 174.7 kB / 0.5598 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of pre-optimization done (n=60): time 2.054e-06/0.191, allocations: 4 kB / 0.5598 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of matching and sorting (n=60): time 0.001954/0.1929, allocations: 0.8505 MB / 0.5607 GB, free: 44 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001467/0.1931, allocations: 108 kB / 0.5608 GB, free: 15.93 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.1932, allocations: 121.7 kB / 0.5609 GB, free: 15.8 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001274/0.1933, allocations: 69.67 kB / 0.5609 GB, free: 15.72 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.1935, allocations: 149.7 kB / 0.5611 GB, free: 15.57 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003105/0.1938, allocations: 230.2 kB / 0.5613 GB, free: 15.34 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003906/0.1942, allocations: 195 kB / 0.5615 GB, free: 15.14 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002283/0.1944, allocations: 354.8 kB / 0.5618 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007575/0.1952, allocations: 310.1 kB / 0.5621 GB, free: 14.49 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00122/0.1964, allocations: 0.6631 MB / 0.5628 GB, free: 13.66 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.003722/0.2001, allocations: 1.413 MB / 0.5641 GB, free: 12.08 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-05/0.2001, allocations: 4 kB / 0.5642 GB, free: 12.08 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.0239369340706617] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.20954442699439824 0.227961092 0.038925184 Calling exit ...