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.001142/0.001142, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001393/0.001393, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.314/1.314, allocations: 222.9 MB / 242.3 MB, free: 15.2 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.197/0.197, allocations: 44.18 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 65.2 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1261, allocations: 60.83 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.001986/0.1281, allocations: 0.5291 MB / 469.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.1295, allocations: 0.6066 MB / 470.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.438e-05/0.1295, allocations: 3.938 kB / 470.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.467e-05/0.1296, allocations: 3.938 kB / 470.5 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.779e-06/0.1297, allocations: 0 / 470.5 MB, free: 13.11 MB / 350.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.0009813/0.1307, allocations: 207.2 kB / 470.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.359e-05/0.1307, allocations: 23.97 kB / 470.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.975e-05/0.1308, allocations: 4 kB / 470.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.246e-05/0.1308, allocations: 23.91 kB / 470.8 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.719e-05/0.1309, allocations: 8.219 kB / 470.8 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.1309, allocations: 0 / 470.8 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003747/0.1313, allocations: 175.7 kB / 470.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.897e-05/0.1314, allocations: 60.09 kB / 471 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.694e-05/0.1315, allocations: 51.67 kB / 471 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003998/0.1319, allocations: 203.4 kB / 471.2 MB, free: 12.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.1319, allocations: 4 kB / 471.2 MB, free: 12.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1319, allocations: 0 / 471.2 MB, free: 12.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.1319, allocations: 3.938 kB / 471.3 MB, free: 12.36 MB / 350.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.0006873/0.1326, allocations: 496.7 kB / 471.7 MB, free: 11.83 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.1327, allocations: 8.031 kB / 471.7 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001716/0.1329, allocations: 153.9 kB / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.687e-05/0.1329, allocations: 36.56 kB / 471.9 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.1331, allocations: 192 kB / 472.1 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.004e-05/0.1331, allocations: 36.81 kB / 472.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.496e-05/0.1332, allocations: 44.38 kB / 472.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004215/0.1336, allocations: 302.5 kB / 472.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.1336, allocations: 0 / 472.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.968e-05/0.1337, allocations: 11.94 kB / 472.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.1337, allocations: 8 kB / 472.5 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002577/0.134, allocations: 210.2 kB / 472.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009828/0.1349, allocations: 0.6357 MB / 473.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002408/0.1352, allocations: 191.1 kB / 473.5 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/0.1354, allocations: 181.9 kB / 473.7 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.1354, allocations: 4 kB / 473.7 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003046/0.1357, allocations: 178.7 kB / 473.9 MB, free: 9.543 MB / 350.1 MB Notification: Performance of pre-optimization done (n=60): time 2.195e-06/0.1357, allocations: 3.938 kB / 473.9 MB, free: 9.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=60): time 0.001227/0.1369, allocations: 0.8466 MB / 474.7 MB, free: 8.691 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.1371, allocations: 107.9 kB / 474.9 MB, free: 8.574 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.556e-05/0.1371, allocations: 121.6 kB / 475 MB, free: 8.445 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.626e-05/0.1372, allocations: 73.67 kB / 475 MB, free: 8.367 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.214e-05/0.1373, allocations: 141.5 kB / 475.2 MB, free: 8.227 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001915/0.1375, allocations: 225.1 kB / 475.4 MB, free: 8.004 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000254/0.1378, allocations: 195 kB / 475.6 MB, free: 7.809 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.138, allocations: 354.8 kB / 475.9 MB, free: 7.453 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004858/0.1384, allocations: 310.1 kB / 476.2 MB, free: 7.148 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007705/0.1392, allocations: 0.6631 MB / 476.9 MB, free: 6.316 MB / 350.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.001969/0.1412, allocations: 1.413 MB / 478.3 MB, free: 4.742 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.99e-05/0.1412, allocations: 4 kB / 478.3 MB, free: 4.738 MB / 350.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:7956:5-7956:89:writable] Error: Internal error Transformation module sort components failed Error: No system for the symbolic initialization was generated