Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001409/0.001409, allocations: 105 kB / 19.74 MB, free: 2.566 MB / 14.72 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.001478/0.001478, allocations: 217 kB / 22.92 MB, free: 5.535 MB / 14.72 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.311/1.311, allocations: 230.2 MB / 256.1 MB, free: 8.75 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2043/0.2043, allocations: 46.88 MB / 359.3 MB, free: 4.988 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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: "" <> buildModelFMU(ModelicaTest.Math.Random.TestRandomNumbers,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_Random_TestRandomNumbers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestRandomNumbers,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_Random_TestRandomNumbers",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 75.88 kB / 0.494 GB, free: 9.117 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2592, allocations: 65.99 MB / 0.5584 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.001472/0.2607, allocations: 0.5414 MB / 0.5589 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.2618, allocations: 0.6081 MB / 0.5595 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.331e-05/0.2618, allocations: 0 / 0.5595 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.282e-05/0.2619, allocations: 7.922 kB / 0.5595 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.893e-06/0.2619, allocations: 7.938 kB / 0.5595 GB, free: 4.027 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.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.0006502/0.2625, allocations: 194.8 kB / 0.5597 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.139e-05/0.2626, allocations: 35.89 kB / 0.5598 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.105e-05/0.2626, allocations: 0 / 0.5598 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.374e-05/0.2627, allocations: 15.98 kB / 0.5598 GB, free: 3.789 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.764e-05/0.2627, allocations: 16.2 kB / 0.5598 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.669e-06/0.2627, allocations: 0 / 0.5598 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002821/0.263, allocations: 179.8 kB / 0.56 GB, free: 3.594 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.642e-05/0.2631, allocations: 68.08 kB / 0.56 GB, free: 3.527 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.598e-05/0.2631, allocations: 51.62 kB / 0.5601 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002612/0.2634, allocations: 216.9 kB / 0.5603 GB, free: 3.266 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.2634, allocations: 0 / 0.5603 GB, free: 3.266 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2634, allocations: 0 / 0.5603 GB, free: 3.266 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.2634, allocations: 4 kB / 0.5603 GB, free: 3.262 MB / 398.1 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.0005261/0.2639, allocations: 495.9 kB / 0.5608 GB, free: 2.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.264, allocations: 12.03 kB / 0.5608 GB, free: 2.719 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001402/0.2641, allocations: 146.5 kB / 0.5609 GB, free: 2.566 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.463e-05/0.2641, allocations: 36.7 kB / 0.561 GB, free: 2.531 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.2643, allocations: 199.9 kB / 0.5611 GB, free: 2.297 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.971e-05/0.2643, allocations: 36.81 kB / 0.5612 GB, free: 2.262 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.036e-05/0.2644, allocations: 44.31 kB / 0.5612 GB, free: 2.219 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003762/0.2647, allocations: 302.5 kB / 0.5615 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.2647, allocations: 0 / 0.5615 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.2648, allocations: 8 kB / 0.5615 GB, free: 1.906 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.2648, allocations: 8 kB / 0.5615 GB, free: 1.898 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002463/0.265, allocations: 210.1 kB / 0.5617 GB, free: 1.695 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00084/0.2659, allocations: 0.6321 MB / 0.5623 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00016/0.266, allocations: 147 kB / 0.5625 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001282/0.2661, allocations: 121.9 kB / 0.5626 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.167e-06/0.2661, allocations: 0 / 0.5626 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000215/0.2664, allocations: 174.7 kB / 0.5628 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of pre-optimization done (n=60): time 1.112e-06/0.2664, allocations: 0 / 0.5628 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of matching and sorting (n=60): time 0.001119/0.2675, allocations: 0.8545 MB / 0.5636 GB, free: 15.69 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.843e-05/0.2676, allocations: 107.8 kB / 0.5637 GB, free: 15.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.38e-05/0.2676, allocations: 125.7 kB / 0.5638 GB, free: 15.44 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.229e-05/0.2677, allocations: 65.69 kB / 0.5639 GB, free: 15.37 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.2678, allocations: 153.6 kB / 0.564 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001754/0.268, allocations: 222.3 kB / 0.5642 GB, free: 15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002068/0.2682, allocations: 195 kB / 0.5644 GB, free: 14.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.2683, allocations: 354.7 kB / 0.5648 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004125/0.2687, allocations: 306.1 kB / 0.5651 GB, free: 14.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007089/0.2695, allocations: 0.6631 MB / 0.5657 GB, free: 13.31 MB / 414.1 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.001833/0.2713, allocations: 1.413 MB / 0.5671 GB, free: 11.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.385e-06/0.2713, allocations: 7.938 kB / 0.5671 GB, free: 11.73 MB / 414.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:332:7-332: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.) $PRE.state33[33] state33[33] $PRE.state33[33] = state33[33] state33[33] = $PRE.state33[33] [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: $PRE.state33[33] state33[33] equations: $PRE.state33[33] = state33[33] state33[33] = $PRE.state33[33] [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8012:5-8012: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.5731782960065175]