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.001414/0.001414, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001576/0.001576, allocations: 166 kB / 23.95 MB, free: 0.6133 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.9487/0.9487, allocations: 177.1 MB / 204.3 MB, free: 5.754 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.2515/0.2515, allocations: 34.25 MB / 294.9 MB, free: 0.7148 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ModelicaTest.Math.Random.TestRandomNumbers,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_Random_TestRandomNumbers",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestRandomNumbers,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_Random_TestRandomNumbers",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 3.938 kB / 443.7 MB, free: 136 kB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.843e-05/2.057e-05, allocations: 2.281 kB / 443.7 MB, free: 132 kB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.1754/0.1754, allocations: 0.5311 MB / 444.3 MB, free: 44.05 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009341/0.1763, allocations: 0.5878 MB / 444.9 MB, free: 43.84 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.215e-05/0.1764, allocations: 0 / 444.9 MB, free: 43.84 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.256e-05/0.1765, allocations: 10.08 kB / 444.9 MB, free: 43.84 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.078e-06/0.1765, allocations: 5.781 kB / 444.9 MB, free: 43.83 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.0006665/0.1771, allocations: 205.1 kB / 445.1 MB, free: 43.78 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.424e-05/0.1772, allocations: 33.08 kB / 445.1 MB, free: 43.77 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.167e-05/0.1772, allocations: 0 / 445.1 MB, free: 43.77 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.604e-05/0.1773, allocations: 28.41 kB / 445.1 MB, free: 43.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.764e-05/0.1773, allocations: 9.719 kB / 445.1 MB, free: 43.76 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.1773, allocations: 2.969 kB / 445.1 MB, free: 43.76 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002691/0.1776, allocations: 195.5 kB / 445.3 MB, free: 43.73 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.619e-05/0.1777, allocations: 70.7 kB / 445.4 MB, free: 43.73 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.876e-05/0.1777, allocations: 34.73 kB / 445.4 MB, free: 43.72 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.1779, allocations: 214.8 kB / 445.6 MB, free: 43.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.1779, allocations: 0 / 445.6 MB, free: 43.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1779, allocations: 0 / 445.6 MB, free: 43.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.78e-06/0.1779, allocations: 6 kB / 445.7 MB, free: 43.68 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.000351/0.1783, allocations: 423 kB / 446.1 MB, free: 43.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.1783, allocations: 10.66 kB / 446.1 MB, free: 43.36 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.682e-05/0.1784, allocations: 148.3 kB / 446.2 MB, free: 43.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.251e-05/0.1785, allocations: 42.3 kB / 446.3 MB, free: 43.24 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.166e-05/0.1785, allocations: 137 kB / 446.4 MB, free: 43.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.1785, allocations: 32.09 kB / 446.4 MB, free: 43.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.1786, allocations: 42.44 kB / 446.5 MB, free: 43.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002484/0.1788, allocations: 306.9 kB / 446.8 MB, free: 43.05 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.1788, allocations: 0.9375 kB / 446.8 MB, free: 43.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.1788, allocations: 12.81 kB / 446.8 MB, free: 43.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.1788, allocations: 8.469 kB / 446.8 MB, free: 43.05 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.179, allocations: 210.4 kB / 447 MB, free: 43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005902/0.1796, allocations: 0.5819 MB / 447.6 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.1797, allocations: 140.9 kB / 447.7 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.909e-05/0.1798, allocations: 123.1 kB / 447.8 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.885e-06/0.1798, allocations: 2.938 kB / 447.8 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000144/0.1799, allocations: 178.5 kB / 448 MB, free: 42.42 MB / 410.7 MB Notification: Performance of pre-optimization done (n=60): time 1.362e-06/0.1799, allocations: 0 / 448 MB, free: 42.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=60): time 0.0005447/0.1804, allocations: 0.6987 MB / 448.7 MB, free: 42.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.1805, allocations: 106.8 kB / 448.8 MB, free: 42.13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.95e-05/0.1805, allocations: 129.8 kB / 448.9 MB, free: 42.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.252e-05/0.1806, allocations: 68.05 kB / 449 MB, free: 41.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.104e-05/0.1806, allocations: 153.4 kB / 449.2 MB, free: 41.83 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.874e-05/0.1807, allocations: 160.8 kB / 449.3 MB, free: 41.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.174e-05/0.1808, allocations: 167.1 kB / 449.5 MB, free: 41.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.391e-05/0.1808, allocations: 349.4 kB / 449.8 MB, free: 41.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/0.181, allocations: 202.3 kB / 450 MB, free: 41.26 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002674/0.1812, allocations: 0.5578 MB / 450.6 MB, free: 40.75 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.0006544/0.1819, allocations: 0.8765 MB / 451.5 MB, free: 40.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.087e-05/0.1819, allocations: 2.875 kB / 451.5 MB, free: 40.11 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.2148376777768135]