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.0008719/0.0008719, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009803/0.0009803, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.93/0.93, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.2751/0.2751, allocations: 34.24 MB / 294.8 MB, free: 0.6836 MB / 266.7 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 1.512e-06/1.512e-06, allocations: 0 / 442.2 MB, free: 1.555 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.388e-05/2.539e-05, allocations: 5.094 kB / 442.2 MB, free: 1.551 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.001375/0.001401, allocations: 0.5436 MB / 442.7 MB, free: 1.012 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.002585, allocations: 0.5954 MB / 443.3 MB, free: 424 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.783e-05/0.002623, allocations: 0 / 443.3 MB, free: 424 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001206/0.002743, allocations: 3.938 kB / 443.3 MB, free: 420 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.882e-06/0.002749, allocations: 0 / 443.3 MB, free: 420 kB / 410.7 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.0008672/0.003616, allocations: 211.2 kB / 443.5 MB, free: 208 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.782e-05/0.003684, allocations: 31.91 kB / 443.5 MB, free: 176 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.031e-05/0.003734, allocations: 7.984 kB / 443.5 MB, free: 168 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.729e-05/0.003782, allocations: 15.98 kB / 443.6 MB, free: 152 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.492e-05/0.003837, allocations: 16.19 kB / 443.6 MB, free: 132 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.003854, allocations: 7.938 kB / 443.6 MB, free: 124 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1991/0.203, allocations: 197.9 kB / 443.8 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.051e-05/0.2031, allocations: 59.5 kB / 443.8 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.507e-05/0.2031, allocations: 31.81 kB / 443.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003441/0.2035, allocations: 218.6 kB / 444.1 MB, free: 43.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.2035, allocations: 3.594 kB / 444.1 MB, free: 43.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2035, allocations: 1.625 kB / 444.1 MB, free: 43.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.2035, allocations: 0 / 444.1 MB, free: 43.23 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.0004014/0.2039, allocations: 426.9 kB / 444.5 MB, free: 42.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.2039, allocations: 14.94 kB / 444.5 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.99e-05/0.204, allocations: 147 kB / 444.7 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.162e-05/0.2041, allocations: 38.14 kB / 444.7 MB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.406e-05/0.2041, allocations: 133.3 kB / 444.8 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/0.2041, allocations: 31.34 kB / 444.9 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.511e-05/0.2042, allocations: 40.41 kB / 444.9 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002552/0.2044, allocations: 301.7 kB / 445.2 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.2044, allocations: 3.469 kB / 445.2 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.2045, allocations: 9.375 kB / 445.2 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.2045, allocations: 12.03 kB / 445.2 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001525/0.2046, allocations: 211.6 kB / 445.4 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005806/0.2052, allocations: 0.5735 MB / 446 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.2053, allocations: 139.2 kB / 446.1 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.513e-05/0.2054, allocations: 133.6 kB / 446.3 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.004e-05/0.2054, allocations: 3.75 kB / 446.3 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002044/0.2056, allocations: 173.2 kB / 446.4 MB, free: 42.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=60): time 1.713e-06/0.2056, allocations: 0 / 446.4 MB, free: 42.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=60): time 0.0005714/0.2062, allocations: 0.7022 MB / 447.1 MB, free: 42.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.671e-05/0.2062, allocations: 108 kB / 447.2 MB, free: 41.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.765e-05/0.2063, allocations: 125.2 kB / 447.4 MB, free: 41.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.594e-05/0.2063, allocations: 67.64 kB / 447.4 MB, free: 41.81 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.169e-05/0.2064, allocations: 150.4 kB / 447.6 MB, free: 41.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.292e-05/0.2064, allocations: 166 kB / 447.7 MB, free: 41.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.2065, allocations: 169.2 kB / 447.9 MB, free: 41.49 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.858e-05/0.2066, allocations: 351.7 kB / 448.3 MB, free: 41.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001807/0.2068, allocations: 201.8 kB / 448.4 MB, free: 41.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002752/0.2071, allocations: 0.553 MB / 449 MB, free: 40.61 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.0006179/0.2077, allocations: 0.8725 MB / 449.9 MB, free: 40.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.2077, allocations: 9.5 kB / 449.9 MB, free: 40.02 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.108800573274493] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.21468902193009853 0.22612904599999994 0.020868833 Calling exit ...