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.001398/0.001398, allocations: 103.4 kB / 15.98 MB, free: 6.336 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.001474/0.001474, allocations: 198.2 kB / 16.91 MB, free: 6.188 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.658/1.658, allocations: 205.1 MB / 222.8 MB, free: 4.699 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.3832/0.3832, allocations: 43.5 MB / 313.6 MB, free: 8.574 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.001372/0.001372, allocations: 66.56 kB / 382.3 MB, free: 8.535 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1332, allocations: 57.78 MB / 440.1 MB, free: 14.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.001813/0.135, allocations: 0.6126 MB / 440.7 MB, free: 14.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001046/0.1361, allocations: 0.585 MB / 441.3 MB, free: 13.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.247e-05/0.1361, allocations: 3.938 kB / 441.3 MB, free: 13.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.604e-05/0.1362, allocations: 3.984 kB / 441.3 MB, free: 13.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.498e-06/0.1362, allocations: 0 / 441.3 MB, free: 13.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006717/0.1369, allocations: 183.6 kB / 441.5 MB, free: 13.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.269e-05/0.137, allocations: 23.97 kB / 441.5 MB, free: 13.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.482e-05/0.137, allocations: 4 kB / 441.5 MB, free: 13.24 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.47e-05/0.1371, allocations: 19.92 kB / 441.5 MB, free: 13.22 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.866e-05/0.1371, allocations: 20.48 kB / 441.6 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.003e-05/0.1371, allocations: 0 / 441.6 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002377/0.1374, allocations: 159.8 kB / 441.7 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.304e-05/0.1375, allocations: 64.44 kB / 441.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.887e-05/0.1375, allocations: 59.59 kB / 441.8 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002427/0.1378, allocations: 199.4 kB / 442 MB, free: 12.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1378, allocations: 0 / 442 MB, free: 12.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1378, allocations: 0 / 442 MB, free: 12.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.1378, allocations: 0 / 442 MB, free: 12.73 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.0005115/0.1383, allocations: 0.4889 MB / 442.5 MB, free: 12.19 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.1384, allocations: 11.89 kB / 442.5 MB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001398/0.1385, allocations: 154 kB / 442.7 MB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.932e-05/0.1386, allocations: 40.47 kB / 442.7 MB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.1387, allocations: 199.9 kB / 442.9 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.904e-05/0.1387, allocations: 28.81 kB / 442.9 MB, free: 11.72 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.242e-05/0.1388, allocations: 40.38 kB / 443 MB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003853/0.1392, allocations: 306.5 kB / 443.3 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.1392, allocations: 0 / 443.3 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.1392, allocations: 8 kB / 443.3 MB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.1392, allocations: 8 kB / 443.3 MB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002412/0.1395, allocations: 214.2 kB / 443.5 MB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008645/0.1404, allocations: 0.6434 MB / 444.1 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.1406, allocations: 199 kB / 444.3 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001684/0.1407, allocations: 177.9 kB / 444.5 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.1408, allocations: 4 kB / 444.5 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002507/0.141, allocations: 174.7 kB / 444.7 MB, free: 9.891 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 1.563e-06/0.141, allocations: 0 / 444.7 MB, free: 9.891 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001146/0.1422, allocations: 0.8504 MB / 445.5 MB, free: 9.031 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.427e-05/0.1423, allocations: 108 kB / 445.6 MB, free: 8.914 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.905e-05/0.1423, allocations: 117.7 kB / 445.8 MB, free: 8.789 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.328e-05/0.1424, allocations: 73.67 kB / 445.8 MB, free: 8.711 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.1425, allocations: 145.4 kB / 446 MB, free: 8.562 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/0.1427, allocations: 217.2 kB / 446.2 MB, free: 8.348 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001881/0.1429, allocations: 195 kB / 446.4 MB, free: 8.152 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.143, allocations: 350.8 kB / 446.7 MB, free: 7.801 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003855/0.1434, allocations: 314.1 kB / 447 MB, free: 7.496 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006571/0.144, allocations: 0.6592 MB / 447.7 MB, free: 6.676 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.001885/0.1459, allocations: 1.41 MB / 449.1 MB, free: 5.105 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/0.146, allocations: 4 kB / 449.1 MB, free: 5.102 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:7953:5-7953:89:writable] Error: Internal error Transformation module sort components failed Error: No system for the symbolic initialization was generated