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.001045/0.001045, allocations: 84.34 kB / 20.68 MB, free: 3.883 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.001/0.001, allocations: 160.9 kB / 23.95 MB, free: 0.6094 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 1.066/1.066, allocations: 177.1 MB / 204.2 MB, free: 5.598 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.2638/0.2638, allocations: 34.87 MB / 295.6 MB, free: 0.4961 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: 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.683e-06/1.683e-06, allocations: 0 / 444 MB, free: 12 kB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.38e-05/1.548e-05, allocations: 4.953 kB / 444 MB, free: 8 kB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.1804/0.1804, allocations: 0.5226 MB / 444.6 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000923/0.1814, allocations: 0.5866 MB / 445.2 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.335e-05/0.1814, allocations: 1.406 kB / 445.2 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.462e-05/0.1815, allocations: 6.844 kB / 445.2 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.358e-06/0.1815, allocations: 0 / 445.2 MB, free: 43.07 MB / 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.0006675/0.1822, allocations: 216.5 kB / 445.4 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.59e-05/0.1822, allocations: 33.42 kB / 445.4 MB, free: 43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.932e-05/0.1823, allocations: 2.875 kB / 445.4 MB, free: 43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.878e-05/0.1823, allocations: 15.25 kB / 445.4 MB, free: 43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.631e-05/0.1824, allocations: 13.39 kB / 445.4 MB, free: 43 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.1824, allocations: 0 / 445.4 MB, free: 43 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002806/0.1827, allocations: 205 kB / 445.6 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.686e-05/0.1827, allocations: 63.61 kB / 445.7 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.737e-05/0.1828, allocations: 41.8 kB / 445.7 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002416/0.183, allocations: 212.8 kB / 445.9 MB, free: 42.9 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.183, allocations: 6.938 kB / 446 MB, free: 42.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.183, allocations: 0 / 446 MB, free: 42.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.183, allocations: 0 / 446 MB, free: 42.89 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.0004171/0.1835, allocations: 421.3 kB / 446.4 MB, free: 42.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.1835, allocations: 9.969 kB / 446.4 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001117/0.1836, allocations: 157.5 kB / 446.5 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.898e-05/0.1837, allocations: 33.88 kB / 446.6 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.273e-05/0.1837, allocations: 138 kB / 446.7 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.1837, allocations: 29.59 kB / 446.7 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.165e-05/0.1838, allocations: 40.62 kB / 446.8 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003054/0.1841, allocations: 307 kB / 447.1 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.1841, allocations: 192 / 447.1 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.1841, allocations: 9.406 kB / 447.1 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.1841, allocations: 12.41 kB / 447.1 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001849/0.1843, allocations: 215.4 kB / 447.3 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007002/0.185, allocations: 0.5753 MB / 447.9 MB, free: 41.85 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.1851, allocations: 138 kB / 448 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.1853, allocations: 131 kB / 448.1 MB, free: 41.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.778e-06/0.1853, allocations: 0 / 448.1 MB, free: 41.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001901/0.1855, allocations: 176.5 kB / 448.3 MB, free: 41.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=60): time 2.545e-06/0.1855, allocations: 4.844 kB / 448.3 MB, free: 41.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=60): time 0.0007041/0.1862, allocations: 0.7053 MB / 449 MB, free: 41.42 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.145e-05/0.1862, allocations: 107.5 kB / 449.1 MB, free: 41.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.276e-05/0.1863, allocations: 117.9 kB / 449.2 MB, free: 41.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.788e-05/0.1863, allocations: 72.16 kB / 449.3 MB, free: 41.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.694e-05/0.1864, allocations: 149.9 kB / 449.5 MB, free: 41.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.594e-05/0.1864, allocations: 159.6 kB / 449.6 MB, free: 40.94 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.1866, allocations: 171.7 kB / 449.8 MB, free: 40.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.461e-05/0.1866, allocations: 344.2 kB / 450.1 MB, free: 40.53 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002387/0.1869, allocations: 202.2 kB / 450.3 MB, free: 40.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003433/0.1872, allocations: 0.5609 MB / 450.9 MB, free: 39.97 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.0007422/0.1879, allocations: 0.8769 MB / 451.7 MB, free: 39.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/0.188, allocations: 6.969 kB / 451.8 MB, free: 39.32 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.2717238618060946]