Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_Math_Random_TestRandomNumbers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestRandomNumbers,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_Random_TestRandomNumbers",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001091/0.001091, allocations: 117.1 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001168/0.001168, allocations: 204.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.22/0.22, allocations: 46.12 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 67.89 kB / 480.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3779/0.3794, allocations: 62.43 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.00217/0.3816, allocations: 0.5357 MB / 0.531 GB, free: 13.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.383, allocations: 0.5935 MB / 0.5316 GB, free: 12.56 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.204e-05/0.3831, allocations: 1.75 kB / 0.5316 GB, free: 12.56 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.819e-05/0.3832, allocations: 11.92 kB / 0.5316 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.01e-05/0.3832, allocations: 3.938 kB / 0.5316 GB, free: 12.55 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.001021/0.3842, allocations: 203.1 kB / 0.5318 GB, free: 12.42 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 8.792e-05/0.3843, allocations: 26.08 kB / 0.5319 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.855e-05/0.3844, allocations: 7.141 kB / 0.5319 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.918e-05/0.3844, allocations: 9.938 kB / 0.5319 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.184e-05/0.3845, allocations: 18.06 kB / 0.5319 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.3845, allocations: 1.406 kB / 0.5319 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000367/0.3849, allocations: 163.7 kB / 0.532 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002341/0.3851, allocations: 65.69 kB / 0.5321 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.431e-05/0.3852, allocations: 55.73 kB / 0.5322 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004797/0.3857, allocations: 208 kB / 0.5324 GB, free: 12.11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3857, allocations: 5.594 kB / 0.5324 GB, free: 12.11 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.3857, allocations: 0 / 0.5324 GB, free: 12.11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.3857, allocations: 0 / 0.5324 GB, free: 12.11 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.0007568/0.3865, allocations: 498.8 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.3866, allocations: 9.625 kB / 0.5329 GB, free: 11.64 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001861/0.3868, allocations: 151.2 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.602e-05/0.3868, allocations: 42.58 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.387, allocations: 194.9 kB / 0.5332 GB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.417e-05/0.3871, allocations: 27.94 kB / 0.5332 GB, free: 11.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.582e-05/0.3871, allocations: 43.88 kB / 0.5333 GB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004777/0.3876, allocations: 306.6 kB / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.3876, allocations: 0 / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/0.3877, allocations: 9.031 kB / 0.5336 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.3877, allocations: 6.031 kB / 0.5336 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003062/0.388, allocations: 212.9 kB / 0.5338 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001185/0.3892, allocations: 0.635 MB / 0.5344 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002322/0.3894, allocations: 200.3 kB / 0.5346 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000185/0.3896, allocations: 185.6 kB / 0.5348 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.3896, allocations: 1.375 kB / 0.5348 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000337/0.39, allocations: 175.2 kB / 0.535 GB, free: 10.13 MB / 398.1 MB Notification: Performance of pre-optimization done (n=60): time 1.513e-06/0.39, allocations: 0 / 0.535 GB, free: 10.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=60): time 0.00143/0.3914, allocations: 0.8513 MB / 0.5358 GB, free: 9.879 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.161e-05/0.3915, allocations: 104.8 kB / 0.5359 GB, free: 9.797 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.779e-05/0.3916, allocations: 126.2 kB / 0.536 GB, free: 9.668 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.763e-05/0.3917, allocations: 70.44 kB / 0.5361 GB, free: 9.613 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.836e-05/0.3918, allocations: 148.4 kB / 0.5362 GB, free: 9.477 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002/0.392, allocations: 225.4 kB / 0.5364 GB, free: 9.285 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002528/0.3923, allocations: 196.6 kB / 0.5366 GB, free: 9.172 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.3925, allocations: 353.5 kB / 0.537 GB, free: 8.828 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005261/0.393, allocations: 305.4 kB / 0.5372 GB, free: 8.703 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009086/0.3939, allocations: 0.6664 MB / 0.5379 GB, free: 8.082 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.002214/0.3961, allocations: 1.411 MB / 0.5393 GB, free: 7.117 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.589e-05/0.3962, allocations: 3.375 kB / 0.5393 GB, free: 7.117 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