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.001115/0.001115, allocations: 105.2 kB / 16.27 MB, free: 5.93 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.001119/0.001119, allocations: 192 kB / 17.2 MB, free: 5.574 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.537/1.537, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2316/0.2316, allocations: 43.53 MB / 313.9 MB, free: 0.5273 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.001643/0.001643, allocations: 68.2 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1378, allocations: 57.79 MB / 440.6 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.001913/0.1398, allocations: 0.5419 MB / 441.2 MB, free: 6.258 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001241/0.1411, allocations: 0.596 MB / 441.8 MB, free: 5.656 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.983e-05/0.1411, allocations: 0 / 441.8 MB, free: 5.656 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001184/0.1413, allocations: 3.938 kB / 441.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.061e-06/0.1413, allocations: 4 kB / 441.8 MB, free: 5.648 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008038/0.1421, allocations: 195.4 kB / 442 MB, free: 5.457 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.362e-05/0.1422, allocations: 27.98 kB / 442 MB, free: 5.43 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.781e-05/0.1423, allocations: 11.97 kB / 442 MB, free: 5.418 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.132e-05/0.1423, allocations: 11.94 kB / 442 MB, free: 5.406 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.211e-05/0.1423, allocations: 12.27 kB / 442 MB, free: 5.395 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.1424, allocations: 3.938 kB / 442 MB, free: 5.391 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002693/0.1426, allocations: 167.7 kB / 442.2 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.761e-05/0.1427, allocations: 56.17 kB / 442.2 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.235e-05/0.1428, allocations: 55.61 kB / 442.3 MB, free: 5.117 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002309/0.143, allocations: 195.4 kB / 442.5 MB, free: 4.926 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.1431, allocations: 4 kB / 442.5 MB, free: 4.922 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1431, allocations: 4 kB / 442.5 MB, free: 4.918 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.1431, allocations: 0 / 442.5 MB, free: 4.918 MB / 318.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.000514/0.1436, allocations: 488.7 kB / 443 MB, free: 4.395 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.1436, allocations: 15.89 kB / 443 MB, free: 4.379 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000111/0.1438, allocations: 150 kB / 443.1 MB, free: 4.223 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.843e-05/0.1438, allocations: 36.47 kB / 443.2 MB, free: 4.188 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.1439, allocations: 192 kB / 443.4 MB, free: 3.961 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.273e-05/0.144, allocations: 32.81 kB / 443.4 MB, free: 3.93 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.822e-05/0.144, allocations: 44.36 kB / 443.4 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003201/0.1443, allocations: 302.5 kB / 443.7 MB, free: 3.586 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.1444, allocations: 7.922 kB / 443.7 MB, free: 3.578 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.1444, allocations: 8 kB / 443.7 MB, free: 3.57 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.1444, allocations: 11.94 kB / 443.8 MB, free: 3.559 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001951/0.1446, allocations: 206.1 kB / 444 MB, free: 3.359 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007329/0.1453, allocations: 0.6474 MB / 444.6 MB, free: 2.664 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.1455, allocations: 191.1 kB / 444.8 MB, free: 2.465 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/0.1457, allocations: 185.9 kB / 445 MB, free: 2.281 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.1457, allocations: 0 / 445 MB, free: 2.281 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002397/0.1459, allocations: 186.7 kB / 445.2 MB, free: 2.086 MB / 318.1 MB Notification: Performance of pre-optimization done (n=60): time 1.403e-06/0.1459, allocations: 0 / 445.2 MB, free: 2.086 MB / 318.1 MB Notification: Performance of matching and sorting (n=60): time 0.0009688/0.1469, allocations: 0.8466 MB / 446 MB, free: 1.238 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.157e-05/0.147, allocations: 99.92 kB / 446.1 MB, free: 1.129 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.014e-05/0.147, allocations: 117.7 kB / 446.2 MB, free: 1.004 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.18e-05/0.1471, allocations: 73.67 kB / 446.3 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.165e-05/0.1471, allocations: 149.4 kB / 446.4 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.1472, allocations: 213.2 kB / 446.6 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001533/0.1474, allocations: 203 kB / 446.8 MB, free: 372 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.192e-05/0.1475, allocations: 350.7 kB / 447.2 MB, free: 12 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004611/0.148, allocations: 306.1 kB / 447.5 MB, free: 15.71 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007495/0.1487, allocations: 0.6631 MB / 448.1 MB, free: 14.88 MB / 334.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.001964/0.1507, allocations: 1.417 MB / 449.6 MB, free: 13.3 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.186e-05/0.1507, allocations: 4 kB / 449.6 MB, free: 13.3 MB / 334.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