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.001543/0.001543, allocations: 107.7 kB / 16.27 MB, free: 5.98 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.001792/0.001792, allocations: 191.9 kB / 17.2 MB, free: 5.613 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.497/1.497, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2351/0.2351, allocations: 43.52 MB / 313.9 MB, free: 0.5391 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.00156/0.001561, allocations: 73.47 kB / 382.8 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1428, allocations: 57.78 MB / 440.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.002019/0.1449, allocations: 0.5419 MB / 441.2 MB, free: 6.277 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.1459, allocations: 0.596 MB / 441.8 MB, free: 5.676 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.058e-05/0.146, allocations: 3.938 kB / 441.8 MB, free: 5.672 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001011/0.1461, allocations: 11.94 kB / 441.8 MB, free: 5.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.041e-06/0.1461, allocations: 3.938 kB / 441.8 MB, free: 5.656 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007178/0.1468, allocations: 199.1 kB / 442 MB, free: 5.465 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.75e-05/0.1469, allocations: 27.95 kB / 442 MB, free: 5.438 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.597e-05/0.147, allocations: 4 kB / 442 MB, free: 5.434 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.496e-05/0.147, allocations: 15.92 kB / 442 MB, free: 5.418 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.338e-05/0.147, allocations: 16.2 kB / 442 MB, free: 5.402 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.1471, allocations: 0 / 442 MB, free: 5.402 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002396/0.1473, allocations: 163.8 kB / 442.2 MB, free: 5.242 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.896e-05/0.1474, allocations: 60.16 kB / 442.3 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.035e-05/0.1475, allocations: 51.61 kB / 442.3 MB, free: 5.133 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002487/0.1477, allocations: 203.4 kB / 442.5 MB, free: 4.934 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.1477, allocations: 0 / 442.5 MB, free: 4.934 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1477, allocations: 0 / 442.5 MB, free: 4.934 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.308e-05/0.1478, allocations: 0 / 442.5 MB, free: 4.934 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.0005076/0.1483, allocations: 492.7 kB / 443 MB, free: 4.406 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.1483, allocations: 11.89 kB / 443 MB, free: 4.395 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001145/0.1484, allocations: 150 kB / 443.1 MB, free: 4.238 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.605e-05/0.1485, allocations: 44.47 kB / 443.2 MB, free: 4.195 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.1486, allocations: 192 kB / 443.4 MB, free: 3.969 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.154e-05/0.1486, allocations: 28.81 kB / 443.4 MB, free: 3.941 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.071e-05/0.1487, allocations: 44.38 kB / 443.4 MB, free: 3.898 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003438/0.149, allocations: 302.5 kB / 443.7 MB, free: 3.598 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.1491, allocations: 3.938 kB / 443.7 MB, free: 3.594 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/0.1491, allocations: 12 kB / 443.8 MB, free: 3.582 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.1491, allocations: 4 kB / 443.8 MB, free: 3.578 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000183/0.1493, allocations: 210.2 kB / 444 MB, free: 3.375 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007298/0.15, allocations: 0.6434 MB / 444.6 MB, free: 2.684 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.1502, allocations: 203 kB / 444.8 MB, free: 2.473 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.1503, allocations: 181.9 kB / 445 MB, free: 2.293 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.1503, allocations: 4 kB / 445 MB, free: 2.289 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002157/0.1505, allocations: 174.7 kB / 445.2 MB, free: 2.105 MB / 318.1 MB Notification: Performance of pre-optimization done (n=60): time 1.302e-06/0.1505, allocations: 0 / 445.2 MB, free: 2.105 MB / 318.1 MB Notification: Performance of matching and sorting (n=60): time 0.0009304/0.1515, allocations: 0.8427 MB / 446 MB, free: 1.262 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.806e-05/0.1516, allocations: 111.9 kB / 446.1 MB, free: 1.141 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.456e-05/0.1516, allocations: 121.7 kB / 446.2 MB, free: 1.012 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.428e-05/0.1516, allocations: 73.67 kB / 446.3 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.229e-05/0.1517, allocations: 145.4 kB / 446.4 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.829e-05/0.1518, allocations: 217.2 kB / 446.7 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/0.152, allocations: 195 kB / 446.8 MB, free: 388 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.22e-05/0.152, allocations: 350.8 kB / 447.2 MB, free: 28 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000425/0.1525, allocations: 310.1 kB / 447.5 MB, free: 15.72 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000676/0.1531, allocations: 0.6592 MB / 448.1 MB, free: 14.89 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.001873/0.155, allocations: 1.413 MB / 449.6 MB, free: 13.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/0.155, allocations: 4 kB / 449.6 MB, free: 13.32 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