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.0008503/0.0008503, allocations: 79.7 kB / 20.67 MB, free: 3.895 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.0008666/0.0008666, allocations: 170 kB / 23.95 MB, free: 0.6172 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.8812/0.8812, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.2226/0.2226, allocations: 32.79 MB / 293.5 MB, free: 1.219 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.303e-06/1.303e-06, allocations: 0 / 439.6 MB, free: 4.273 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.375e-05/1.505e-05, allocations: 4.812 kB / 439.6 MB, free: 4.27 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.0009543/0.0009693, allocations: 0.5398 MB / 440.1 MB, free: 3.734 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007696/0.001739, allocations: 0.5882 MB / 440.7 MB, free: 3.141 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.104e-05/0.00176, allocations: 0 / 440.7 MB, free: 3.141 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.289e-05/0.001833, allocations: 7.938 kB / 440.7 MB, free: 3.133 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.257e-06/0.001836, allocations: 0 / 440.7 MB, free: 3.133 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.000542/0.002378, allocations: 211.2 kB / 440.9 MB, free: 2.926 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.585e-05/0.002434, allocations: 31.95 kB / 441 MB, free: 2.895 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.45e-05/0.002468, allocations: 0 / 441 MB, free: 2.895 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.308e-05/0.002502, allocations: 23.97 kB / 441 MB, free: 2.871 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.007e-05/0.002542, allocations: 12.2 kB / 441 MB, free: 2.855 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.002552, allocations: 0 / 441 MB, free: 2.855 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002292/0.002782, allocations: 203.5 kB / 441.2 MB, free: 2.656 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.559e-05/0.002847, allocations: 60.14 kB / 441.2 MB, free: 2.598 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.753e-05/0.002885, allocations: 35.84 kB / 441.3 MB, free: 2.562 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002055/0.00309, allocations: 223.3 kB / 441.5 MB, free: 2.344 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.003092, allocations: 4 kB / 441.5 MB, free: 2.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.003093, allocations: 0 / 441.5 MB, free: 2.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.003096, allocations: 4 kB / 441.5 MB, free: 2.336 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.0003402/0.003437, allocations: 418.9 kB / 441.9 MB, free: 1.895 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.003468, allocations: 12.03 kB / 441.9 MB, free: 1.883 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001148/0.003583, allocations: 158.5 kB / 442.1 MB, free: 1.715 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.768e-05/0.003621, allocations: 32.75 kB / 442.1 MB, free: 1.684 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.198e-05/0.003683, allocations: 137.4 kB / 442.3 MB, free: 1.523 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.003704, allocations: 32.88 kB / 442.3 MB, free: 1.492 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002788/0.003983, allocations: 40.38 kB / 442.3 MB, free: 1.453 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/0.004238, allocations: 303.6 kB / 442.6 MB, free: 1.152 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.004247, allocations: 4.125 kB / 442.6 MB, free: 1.148 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.004263, allocations: 11.94 kB / 442.6 MB, free: 1.137 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.00427, allocations: 8 kB / 442.6 MB, free: 1.129 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00016/0.00443, allocations: 206.4 kB / 442.8 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005681/0.004998, allocations: 0.5794 MB / 443.4 MB, free: 308 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.005103, allocations: 143 kB / 443.6 MB, free: 156 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.337e-05/0.005177, allocations: 125.8 kB / 443.7 MB, free: 28 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.845e-06/0.005185, allocations: 4 kB / 443.7 MB, free: 24 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.165/0.1702, allocations: 175.5 kB / 443.9 MB, free: 45.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=60): time 2.284e-06/0.1702, allocations: 0.9062 kB / 443.9 MB, free: 45.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=60): time 0.000586/0.1708, allocations: 0.7061 MB / 444.6 MB, free: 45.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/0.1709, allocations: 102.6 kB / 444.7 MB, free: 45.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.647e-05/0.1709, allocations: 122.7 kB / 444.8 MB, free: 45.44 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/0.1709, allocations: 71.73 kB / 444.9 MB, free: 45.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.277e-05/0.171, allocations: 155.5 kB / 445 MB, free: 45.33 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.363e-05/0.171, allocations: 162.1 kB / 445.2 MB, free: 45.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.311e-05/0.1711, allocations: 164.2 kB / 445.3 MB, free: 45.26 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.996e-05/0.1712, allocations: 350.2 kB / 445.7 MB, free: 44.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/0.1713, allocations: 198 kB / 445.9 MB, free: 44.94 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002404/0.1716, allocations: 0.5546 MB / 446.4 MB, free: 44.5 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.000578/0.1721, allocations: 0.879 MB / 447.3 MB, free: 44.01 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.1722, allocations: 6.875 kB / 447.3 MB, free: 44.01 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.909185392782092] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.17764508724212646 0.185098641 0.180574755 Calling exit ...