Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0008481/0.0008481, allocations: 79.69 kB / 20.67 MB, free: 3.891 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.0008766/0.0008766, allocations: 170 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.8593/0.8593, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2249/0.2249, allocations: 32.79 MB / 293.5 MB, free: 1.254 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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: "" <> buildModelFMU(ModelicaTest.Math.Random.TestRandomNumbers,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestRandomNumbers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestRandomNumbers,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestRandomNumbers",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 439.6 MB, free: 4.258 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.222e-05/2.392e-05, allocations: 3.547 kB / 439.6 MB, free: 4.254 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.001195/0.001219, allocations: 0.5305 MB / 440.1 MB, free: 3.727 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008005/0.00202, allocations: 0.5921 MB / 440.7 MB, free: 3.129 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.307e-05/0.002043, allocations: 0 / 440.7 MB, free: 3.129 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.492e-05/0.002128, allocations: 11.94 kB / 440.7 MB, free: 3.117 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.647e-06/0.002131, allocations: 0 / 440.7 MB, free: 3.117 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0005596/0.002691, allocations: 213.9 kB / 440.9 MB, free: 2.91 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.502e-05/0.002746, allocations: 27.97 kB / 441 MB, free: 2.883 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.855e-05/0.002785, allocations: 3.984 kB / 441 MB, free: 2.879 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.293e-05/0.002817, allocations: 15.97 kB / 441 MB, free: 2.863 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.942e-05/0.002857, allocations: 16.2 kB / 441 MB, free: 2.844 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.002868, allocations: 0 / 441 MB, free: 2.844 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002415/0.003109, allocations: 203.5 kB / 441.2 MB, free: 2.645 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.743e-05/0.003177, allocations: 60.14 kB / 441.2 MB, free: 2.586 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.007e-05/0.003217, allocations: 39.84 kB / 441.3 MB, free: 2.547 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002143/0.003431, allocations: 223.3 kB / 441.5 MB, free: 2.328 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.003433, allocations: 0 / 441.5 MB, free: 2.328 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.003434, allocations: 0 / 441.5 MB, free: 2.328 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.003438, allocations: 0 / 441.5 MB, free: 2.328 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.000359/0.003797, allocations: 422.9 kB / 441.9 MB, free: 1.883 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.003832, allocations: 8.031 kB / 441.9 MB, free: 1.875 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001115/0.003944, allocations: 158.5 kB / 442.1 MB, free: 1.707 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/0.003984, allocations: 32.75 kB / 442.1 MB, free: 1.676 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.366e-05/0.004057, allocations: 137.4 kB / 442.2 MB, free: 1.516 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.004079, allocations: 36.88 kB / 442.3 MB, free: 1.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.799e-05/0.004107, allocations: 44.31 kB / 442.3 MB, free: 1.438 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002582/0.004365, allocations: 299.6 kB / 442.6 MB, free: 1.141 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.004374, allocations: 192 / 442.6 MB, free: 1.141 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.004388, allocations: 11.94 kB / 442.6 MB, free: 1.129 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.004395, allocations: 8 kB / 442.6 MB, free: 1.121 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001607/0.004556, allocations: 206.4 kB / 442.8 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000609/0.005165, allocations: 0.5794 MB / 443.4 MB, free: 300 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.00528, allocations: 143 kB / 443.6 MB, free: 148 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.812e-05/0.005358, allocations: 125.8 kB / 443.7 MB, free: 20 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.767e-06/0.005367, allocations: 4 kB / 443.7 MB, free: 16 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.157/0.1624, allocations: 177.7 kB / 443.9 MB, free: 46.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=60): time 1.904e-06/0.1624, allocations: 0 / 443.9 MB, free: 46.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=60): time 0.0005591/0.163, allocations: 0.7049 MB / 444.6 MB, free: 46.06 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.163, allocations: 110.3 kB / 444.7 MB, free: 46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.412e-05/0.163, allocations: 116.8 kB / 444.8 MB, free: 45.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.1631, allocations: 69.8 kB / 444.9 MB, free: 45.87 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.528e-05/0.1631, allocations: 151.6 kB / 445 MB, free: 45.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.158e-05/0.1632, allocations: 163 kB / 445.2 MB, free: 45.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.63e-05/0.1633, allocations: 169.8 kB / 445.3 MB, free: 45.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.193e-05/0.1633, allocations: 347.5 kB / 445.7 MB, free: 45.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.1635, allocations: 208.3 kB / 445.9 MB, free: 45.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002299/0.1637, allocations: 0.5526 MB / 446.4 MB, free: 44.77 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.0005188/0.1642, allocations: 0.8709 MB / 447.3 MB, free: 44.15 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.1642, allocations: 10.73 kB / 447.3 MB, free: 44.15 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: 1.8708607768639922] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.17035995237529278 0.17665677000000002 0.171864871 Calling exit ...