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.0009052/0.0009052, allocations: 88.33 kB / 20.67 MB, free: 3.875 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.001005/0.001005, allocations: 160.9 kB / 23.95 MB, free: 0.5977 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.9378/0.9378, allocations: 177 MB / 204.1 MB, free: 5.746 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.2616/0.2616, allocations: 34.23 MB / 294.8 MB, free: 0.6992 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.833e-06/1.833e-06, allocations: 0 / 442.2 MB, free: 1.555 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.107e-05/2.29e-05, allocations: 2.281 kB / 442.2 MB, free: 1.551 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.001504/0.001527, allocations: 0.544 MB / 442.7 MB, free: 1.008 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.002598, allocations: 0.5876 MB / 443.3 MB, free: 428 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.845e-05/0.002626, allocations: 0 / 443.3 MB, free: 428 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.936e-05/0.002715, allocations: 11.92 kB / 443.3 MB, free: 416 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.721e-06/0.002721, allocations: 3.938 kB / 443.3 MB, free: 412 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.0007156/0.003437, allocations: 207.3 kB / 443.5 MB, free: 204 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.347e-05/0.0035, allocations: 39.83 kB / 443.5 MB, free: 164 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.929e-05/0.00354, allocations: 0 / 443.5 MB, free: 164 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.454e-05/0.003574, allocations: 15.97 kB / 443.6 MB, free: 148 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.406e-05/0.003618, allocations: 16.2 kB / 443.6 MB, free: 128 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.00363, allocations: 0 / 443.6 MB, free: 128 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1963/0.1999, allocations: 201.7 kB / 443.8 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.2, allocations: 58.12 kB / 443.8 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.887e-05/0.2001, allocations: 34 kB / 443.9 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004034/0.2005, allocations: 220.7 kB / 444.1 MB, free: 43.16 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.2005, allocations: 1.719 kB / 444.1 MB, free: 43.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.316e-06/0.2005, allocations: 0 / 444.1 MB, free: 43.16 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.2005, allocations: 2.938 kB / 444.1 MB, free: 43.16 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.0004922/0.201, allocations: 426.5 kB / 444.5 MB, free: 42.85 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.2011, allocations: 14.97 kB / 444.5 MB, free: 42.85 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001249/0.2012, allocations: 147.3 kB / 444.7 MB, free: 42.76 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.118e-05/0.2012, allocations: 38.86 kB / 444.7 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.349e-05/0.2013, allocations: 135.3 kB / 444.8 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/0.2013, allocations: 29.75 kB / 444.9 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.266e-05/0.2014, allocations: 41.88 kB / 444.9 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002843/0.2016, allocations: 300.8 kB / 445.2 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.2017, allocations: 2.812 kB / 445.2 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.2017, allocations: 10.09 kB / 445.2 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.2017, allocations: 9.938 kB / 445.2 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.2018, allocations: 212.7 kB / 445.4 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006557/0.2025, allocations: 0.5736 MB / 446 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.2026, allocations: 146.7 kB / 446.1 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.602e-05/0.2027, allocations: 122.1 kB / 446.3 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.2027, allocations: 0 / 446.3 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002501/0.203, allocations: 174.8 kB / 446.4 MB, free: 42.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=60): time 1.062e-06/0.203, allocations: 1.5 kB / 446.4 MB, free: 42.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=60): time 0.0005831/0.2035, allocations: 0.7054 MB / 447.1 MB, free: 41.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.2036, allocations: 104.6 kB / 447.2 MB, free: 41.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.838e-05/0.2036, allocations: 122.9 kB / 447.4 MB, free: 41.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.317e-05/0.2037, allocations: 72.98 kB / 447.4 MB, free: 41.74 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.399e-05/0.2037, allocations: 153.6 kB / 447.6 MB, free: 41.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.351e-05/0.2038, allocations: 166.8 kB / 447.7 MB, free: 41.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.939e-05/0.2039, allocations: 167.2 kB / 447.9 MB, free: 41.42 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.461e-05/0.2039, allocations: 347.3 kB / 448.2 MB, free: 41.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.2041, allocations: 198.8 kB / 448.4 MB, free: 41.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003039/0.2044, allocations: 0.5558 MB / 449 MB, free: 40.54 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.0005886/0.205, allocations: 0.8709 MB / 449.9 MB, free: 39.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.205, allocations: 6.75 kB / 449.9 MB, free: 39.95 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.1093787411227822] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.21094293892383575 0.217940462 0.015889491000000002 Calling exit ...