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.001032/0.001032, allocations: 80.36 kB / 20.67 MB, free: 3.895 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.001091/0.001091, allocations: 164.9 kB / 23.95 MB, free: 0.6172 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.9654/0.9654, allocations: 177.4 MB / 204.6 MB, free: 5.285 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.2529/0.2529, allocations: 34.87 MB / 296 MB, free: 296 kB / 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ModelicaTest.Math.Random.TestRandomNumbers,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_Random_TestRandomNumbers",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestRandomNumbers,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_Random_TestRandomNumbers",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 445.5 MB, free: 42.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.896e-05/2.053e-05, allocations: 2.281 kB / 445.5 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.001286/0.001307, allocations: 0.5356 MB / 446 MB, free: 42.41 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008345/0.002141, allocations: 0.5891 MB / 446.6 MB, free: 42.05 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.94e-05/0.002171, allocations: 3.938 kB / 446.6 MB, free: 42.05 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.622e-05/0.002247, allocations: 7.094 kB / 446.6 MB, free: 42.05 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.599e-06/0.002251, allocations: 3.938 kB / 446.6 MB, free: 42.04 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:865:5-949: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.0005906/0.002842, allocations: 210.1 kB / 446.9 MB, free: 41.95 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.759e-05/0.0029, allocations: 28.81 kB / 446.9 MB, free: 41.94 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.994e-05/0.002939, allocations: 6.734 kB / 446.9 MB, free: 41.94 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.31e-05/0.002973, allocations: 15 kB / 446.9 MB, free: 41.94 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.304e-05/0.003016, allocations: 10.3 kB / 446.9 MB, free: 41.93 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.003028, allocations: 2.844 kB / 446.9 MB, free: 41.93 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002541/0.003282, allocations: 199.4 kB / 447.1 MB, free: 41.88 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.707e-05/0.003349, allocations: 62.48 kB / 447.2 MB, free: 41.86 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.121e-05/0.00339, allocations: 38.28 kB / 447.2 MB, free: 41.84 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002234/0.003613, allocations: 220.1 kB / 447.4 MB, free: 41.78 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.003616, allocations: 3.938 kB / 447.4 MB, free: 41.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.003617, allocations: 0 / 447.4 MB, free: 41.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.003622, allocations: 0 / 447.4 MB, free: 41.77 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.0003785/0.004001, allocations: 422.1 kB / 447.8 MB, free: 41.42 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.004039, allocations: 11.84 kB / 447.8 MB, free: 41.42 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000103/0.004142, allocations: 158.7 kB / 448 MB, free: 41.31 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.456e-05/0.004187, allocations: 33.88 kB / 448 MB, free: 41.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.479e-05/0.004242, allocations: 136.1 kB / 448.2 MB, free: 41.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.004263, allocations: 33.94 kB / 448.2 MB, free: 41.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.836e-05/0.004291, allocations: 37.78 kB / 448.2 MB, free: 41.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002794/0.004571, allocations: 308.9 kB / 448.5 MB, free: 41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.004581, allocations: 192 / 448.5 MB, free: 41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.004596, allocations: 7.219 kB / 448.5 MB, free: 41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.004603, allocations: 10.25 kB / 448.6 MB, free: 40.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001736/0.004777, allocations: 213.3 kB / 448.8 MB, free: 40.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006334/0.00541, allocations: 0.574 MB / 449.3 MB, free: 40.56 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.005538, allocations: 139.5 kB / 449.5 MB, free: 40.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.672e-05/0.005624, allocations: 128.4 kB / 449.6 MB, free: 40.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.324e-06/0.005632, allocations: 4 kB / 449.6 MB, free: 40.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001701/0.005802, allocations: 175.5 kB / 449.8 MB, free: 40.35 MB / 410.7 MB Notification: Performance of pre-optimization done (n=60): time 1.513e-06/0.005803, allocations: 0 / 449.8 MB, free: 40.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=60): time 0.0006702/0.006474, allocations: 0.7118 MB / 450.5 MB, free: 40.13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/0.00653, allocations: 105.4 kB / 450.6 MB, free: 40.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.081e-05/0.006561, allocations: 118.6 kB / 450.7 MB, free: 39.94 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.051e-05/0.006601, allocations: 68.34 kB / 450.8 MB, free: 39.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.731e-05/0.006649, allocations: 154 kB / 450.9 MB, free: 39.76 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.55e-05/0.006734, allocations: 162.8 kB / 451.1 MB, free: 39.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.00686, allocations: 166.2 kB / 451.2 MB, free: 39.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.966e-05/0.006909, allocations: 355.6 kB / 451.6 MB, free: 39.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00022/0.007129, allocations: 200 kB / 451.8 MB, free: 39.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003203/0.007449, allocations: 0.5568 MB / 452.3 MB, free: 38.67 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.000718/0.008167, allocations: 0.8752 MB / 453.2 MB, free: 38.03 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/0.008175, allocations: 6.781 kB / 453.2 MB, free: 38.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.1438769856467843]