Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Math_Random_TestRandomNumbers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestRandomNumbers,fileNamePrefix="ModelicaTest_3_2_3_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.001087/0.001087, allocations: 97.72 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001488/0.001489, allocations: 187.1 kB / 16.92 MB, free: 6.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.552/1.552, allocations: 205.4 MB / 223.1 MB, free: 5.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3648/0.3648, allocations: 43.58 MB / 315 MB, free: 8.719 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006049/0.0006052, allocations: 16 kB / 384.7 MB, free: 7.559 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1456, allocations: 58.85 MB / 443.5 MB, free: 12.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.0007037/0.1464, allocations: 284.3 kB / 443.8 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.1475, allocations: 0.589 MB / 444.4 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.782e-05/0.1476, allocations: 4 kB / 444.4 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.807e-05/0.1477, allocations: 7.938 kB / 444.4 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.629e-06/0.1477, allocations: 0 / 444.4 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00061/0.1483, allocations: 171.6 kB / 444.6 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.971e-05/0.1484, allocations: 27.97 kB / 444.6 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.132e-05/0.1484, allocations: 0 / 444.6 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.662e-05/0.1485, allocations: 15.92 kB / 444.6 MB, free: 11.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.473e-05/0.1485, allocations: 20.48 kB / 444.6 MB, free: 11.49 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.939e-06/0.1485, allocations: 4 kB / 444.6 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002656/0.1488, allocations: 163.8 kB / 444.8 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.63e-05/0.1489, allocations: 56.45 kB / 444.9 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.565e-05/0.149, allocations: 85.31 kB / 444.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002722/0.1493, allocations: 199.4 kB / 445.1 MB, free: 10.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.1493, allocations: 0 / 445.1 MB, free: 10.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1493, allocations: 0 / 445.1 MB, free: 10.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.1493, allocations: 0 / 445.1 MB, free: 10.98 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.0005162/0.1498, allocations: 464.7 kB / 445.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.1499, allocations: 16.02 kB / 445.6 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001769/0.1501, allocations: 150 kB / 445.8 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.969e-05/0.1501, allocations: 36.47 kB / 445.8 MB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.1503, allocations: 199.9 kB / 446 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.276e-05/0.1503, allocations: 32.81 kB / 446 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.816e-05/0.1504, allocations: 36.38 kB / 446.1 MB, free: 9.977 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004324/0.1508, allocations: 302.5 kB / 446.4 MB, free: 9.676 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.1508, allocations: 4 kB / 446.4 MB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.1509, allocations: 12 kB / 446.4 MB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.1509, allocations: 4 kB / 446.4 MB, free: 9.656 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002455/0.1511, allocations: 214.2 kB / 446.6 MB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009113/0.152, allocations: 0.6395 MB / 447.2 MB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/0.1523, allocations: 195.1 kB / 447.4 MB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.1525, allocations: 185.9 kB / 447.6 MB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.1525, allocations: 0 / 447.6 MB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002537/0.1527, allocations: 182.8 kB / 447.8 MB, free: 8.184 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 1.112e-06/0.1528, allocations: 0 / 447.8 MB, free: 8.184 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001198/0.154, allocations: 0.8505 MB / 448.6 MB, free: 7.324 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.1541, allocations: 111.8 kB / 448.7 MB, free: 7.203 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.189e-05/0.1541, allocations: 121.6 kB / 448.8 MB, free: 7.074 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.162e-05/0.1542, allocations: 69.67 kB / 448.9 MB, free: 7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.912e-05/0.1543, allocations: 149.4 kB / 449.1 MB, free: 6.848 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001709/0.1545, allocations: 217.2 kB / 449.3 MB, free: 6.633 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.1546, allocations: 105.7 kB / 449.4 MB, free: 6.523 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.1548, allocations: 350.7 kB / 449.7 MB, free: 6.172 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004411/0.1552, allocations: 306.1 kB / 450 MB, free: 5.875 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007452/0.156, allocations: 0.6631 MB / 450.7 MB, free: 5.051 MB / 382.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.002005/0.158, allocations: 1.406 MB / 452.1 MB, free: 3.484 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/0.158, allocations: 4 kB / 452.1 MB, free: 3.48 MB / 382.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:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed Error: No system for the symbolic initialization was generated