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.0008782/0.0008782, allocations: 83.69 kB / 20.68 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.0009988/0.0009988, allocations: 170 kB / 23.95 MB, free: 0.6094 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.925/0.925, allocations: 177.1 MB / 204.3 MB, free: 5.719 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.2417/0.2417, allocations: 34.24 MB / 294.9 MB, free: 0.7031 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 2.094e-06/2.094e-06, allocations: 0 / 442.2 MB, free: 1.66 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.721e-05/1.931e-05, allocations: 6.219 kB / 442.2 MB, free: 1.652 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.001294/0.001313, allocations: 0.5382 MB / 442.7 MB, free: 1.117 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.002378, allocations: 0.5883 MB / 443.3 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.868e-05/0.002406, allocations: 0 / 443.3 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.711e-05/0.002503, allocations: 11.88 kB / 443.3 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.268e-06/0.002508, allocations: 0 / 443.3 MB, free: 0.5117 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.0006514/0.003159, allocations: 214.7 kB / 443.5 MB, free: 312 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.732e-05/0.003216, allocations: 27.95 kB / 443.6 MB, free: 284 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.137e-05/0.003258, allocations: 4 kB / 443.6 MB, free: 280 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.85e-05/0.003296, allocations: 15.92 kB / 443.6 MB, free: 264 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.033e-05/0.003337, allocations: 12.25 kB / 443.6 MB, free: 248 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.003352, allocations: 4 kB / 443.6 MB, free: 244 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002703/0.003622, allocations: 203.5 kB / 443.8 MB, free: 40 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1869/0.1905, allocations: 58.98 kB / 443.8 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.708e-05/0.1906, allocations: 31.8 kB / 443.9 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004172/0.191, allocations: 216.6 kB / 444.1 MB, free: 42.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.191, allocations: 0 / 444.1 MB, free: 42.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.191, allocations: 2.938 kB / 444.1 MB, free: 42.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.191, allocations: 0 / 444.1 MB, free: 42.75 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.0003791/0.1914, allocations: 431.6 kB / 444.5 MB, free: 42.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.1914, allocations: 11.62 kB / 444.5 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.81e-05/0.1915, allocations: 150.8 kB / 444.7 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.331e-05/0.1916, allocations: 39.02 kB / 444.7 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.14e-05/0.1916, allocations: 134.9 kB / 444.8 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.1916, allocations: 29.06 kB / 444.9 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.963e-05/0.1917, allocations: 45.22 kB / 444.9 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/0.1919, allocations: 302.2 kB / 445.2 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.1919, allocations: 1.906 kB / 445.2 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.1919, allocations: 13.53 kB / 445.2 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.1919, allocations: 7.469 kB / 445.2 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.1921, allocations: 206.9 kB / 445.4 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005333/0.1926, allocations: 0.5855 MB / 446 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.835e-05/0.1927, allocations: 145.1 kB / 446.2 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.284e-05/0.1928, allocations: 121.6 kB / 446.3 MB, free: 41.83 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.606e-06/0.1928, allocations: 1.75 kB / 446.3 MB, free: 41.83 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001771/0.1929, allocations: 175.8 kB / 446.5 MB, free: 41.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=60): time 1.162e-06/0.193, allocations: 0 / 446.5 MB, free: 41.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=60): time 0.0005122/0.1935, allocations: 0.703 MB / 447.2 MB, free: 41.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.1935, allocations: 112.4 kB / 447.3 MB, free: 41.66 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.157e-05/0.1935, allocations: 118.3 kB / 447.4 MB, free: 41.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.1936, allocations: 71.38 kB / 447.4 MB, free: 41.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.932e-05/0.1936, allocations: 152.1 kB / 447.6 MB, free: 41.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.056e-05/0.1936, allocations: 163.4 kB / 447.8 MB, free: 41.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.218e-05/0.1937, allocations: 165.2 kB / 447.9 MB, free: 41.31 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.447e-05/0.1938, allocations: 354 kB / 448.3 MB, free: 41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.1939, allocations: 205.3 kB / 448.5 MB, free: 40.99 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002411/0.1942, allocations: 0.5515 MB / 449 MB, free: 40.5 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.0005566/0.1947, allocations: 0.8741 MB / 449.9 MB, free: 39.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.1948, allocations: 2.906 kB / 449.9 MB, free: 39.91 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: 2.0419728327542543] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.20034854300320148 0.20740404399999995 0.014839007000000001 Calling exit ...