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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001462/0.001461, allocations: 114.4 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 183.8 kB / 18.71 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 242.4 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2093/0.2093, allocations: 44.18 MB / 336.7 MB, free: 2.633 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 67.91 kB / 470 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.3933, allocations: 60.81 MB / 0.5184 GB, free: 3.125 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.001536/0.3949, allocations: 0.5504 MB / 0.519 GB, free: 2.777 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001014/0.3959, allocations: 0.603 MB / 0.5195 GB, free: 2.379 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.43e-05/0.3959, allocations: 1.625 kB / 0.5195 GB, free: 2.379 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.545e-05/0.396, allocations: 9.391 kB / 0.5196 GB, free: 2.371 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.298e-06/0.396, allocations: 0 / 0.5196 GB, free: 2.371 MB / 382.1 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.0006815/0.3967, allocations: 196.5 kB / 0.5197 GB, free: 2.285 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.651e-05/0.3968, allocations: 40.22 kB / 0.5198 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.34e-05/0.3969, allocations: 2.938 kB / 0.5198 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.384e-05/0.3969, allocations: 14.81 kB / 0.5198 GB, free: 2.262 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.131e-05/0.3969, allocations: 12.41 kB / 0.5198 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.718e-06/0.3969, allocations: 0 / 0.5198 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002838/0.3972, allocations: 169 kB / 0.52 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.073e-05/0.3973, allocations: 62.56 kB / 0.52 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.053e-05/0.3974, allocations: 53.72 kB / 0.5201 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003093/0.3977, allocations: 204.2 kB / 0.5203 GB, free: 2.082 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3977, allocations: 0.6562 kB / 0.5203 GB, free: 2.082 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3977, allocations: 4 kB / 0.5203 GB, free: 2.078 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.3977, allocations: 4.969 kB / 0.5203 GB, free: 2.074 MB / 382.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.0004816/0.3982, allocations: 499.6 kB / 0.5208 GB, free: 1.633 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.3983, allocations: 9.031 kB / 0.5208 GB, free: 1.633 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001301/0.3984, allocations: 152.1 kB / 0.5209 GB, free: 1.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.114e-05/0.3985, allocations: 42.88 kB / 0.521 GB, free: 1.496 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.053e-05/0.3986, allocations: 188.4 kB / 0.5211 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.3986, allocations: 31.72 kB / 0.5212 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.835e-05/0.3987, allocations: 40.03 kB / 0.5212 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004102/0.3991, allocations: 309.7 kB / 0.5215 GB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.3991, allocations: 0.6094 kB / 0.5215 GB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.3991, allocations: 6.219 kB / 0.5215 GB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.3991, allocations: 5.625 kB / 0.5215 GB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002834/0.3994, allocations: 216.6 kB / 0.5217 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008795/0.4003, allocations: 0.6363 MB / 0.5223 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/0.4005, allocations: 192.5 kB / 0.5225 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.4006, allocations: 184.6 kB / 0.5227 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.4007, allocations: 5.406 kB / 0.5227 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002375/0.4009, allocations: 174.1 kB / 0.5229 GB, free: 360 kB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 1.303e-06/0.4009, allocations: 5 kB / 0.5229 GB, free: 356 kB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001118/0.402, allocations: 0.8483 MB / 0.5237 GB, free: 144 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.37e-05/0.4021, allocations: 105.9 kB / 0.5238 GB, free: 68 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.073e-05/0.4022, allocations: 116.6 kB / 0.5239 GB, free: 15.95 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.127e-05/0.4023, allocations: 77.12 kB / 0.524 GB, free: 15.9 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.962e-05/0.4023, allocations: 147.5 kB / 0.5241 GB, free: 15.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001714/0.4025, allocations: 229.4 kB / 0.5243 GB, free: 15.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002294/0.4028, allocations: 197.4 kB / 0.5245 GB, free: 15.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.4029, allocations: 351.2 kB / 0.5249 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004681/0.4034, allocations: 303.4 kB / 0.5252 GB, free: 15.1 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000713/0.4041, allocations: 0.6622 MB / 0.5258 GB, free: 14.56 MB / 398.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.001966/0.4061, allocations: 1.418 MB / 0.5272 GB, free: 13.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.417e-05/0.4061, allocations: 3.875 kB / 0.5272 GB, free: 13.73 MB / 398.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:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed Error: No system for the symbolic initialization was generated