Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestRandomNumbers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001509/0.001509, allocations: 117.3 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001436/0.001436, allocations: 218.6 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 230.2 MB / 254.5 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2429/0.2429, allocations: 46.89 MB / 357.4 MB, free: 10.5 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.Random.TestRandomNumbers,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_Random_TestRandomNumbers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestRandomNumbers,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_Random_TestRandomNumbers",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002239/0.002239, allocations: 87.86 kB / 0.4912 GB, free: 8.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1495, allocations: 65.98 MB / 0.5557 GB, free: 6.414 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.001762/0.1513, allocations: 0.5337 MB / 0.5562 GB, free: 5.875 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.1526, allocations: 0.6057 MB / 0.5568 GB, free: 5.27 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.555e-05/0.1526, allocations: 4 kB / 0.5568 GB, free: 5.266 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 9.922e-05/0.1527, allocations: 7.938 kB / 0.5568 GB, free: 5.258 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 4.078e-06/0.1527, allocations: 4 kB / 0.5568 GB, free: 5.254 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.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.0007491/0.1534, allocations: 202.8 kB / 0.557 GB, free: 5.059 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 6.71e-05/0.1535, allocations: 27.91 kB / 0.557 GB, free: 5.031 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.801e-05/0.1536, allocations: 7.938 kB / 0.557 GB, free: 5.023 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.273e-05/0.1536, allocations: 19.91 kB / 0.557 GB, free: 5.004 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.744e-05/0.1536, allocations: 12.27 kB / 0.557 GB, free: 4.988 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.1536, allocations: 4 kB / 0.5571 GB, free: 4.984 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003006/0.1539, allocations: 175.7 kB / 0.5572 GB, free: 4.812 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.37e-05/0.154, allocations: 60.16 kB / 0.5573 GB, free: 4.754 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.399e-05/0.1541, allocations: 55.61 kB / 0.5573 GB, free: 4.699 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002832/0.1544, allocations: 207.2 kB / 0.5575 GB, free: 4.496 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.1544, allocations: 0 / 0.5575 GB, free: 4.496 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1544, allocations: 0 / 0.5575 GB, free: 4.496 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.1544, allocations: 0 / 0.5575 GB, free: 4.496 MB / 414.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.0005966/0.155, allocations: 0.4921 MB / 0.558 GB, free: 3.953 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.155, allocations: 8.031 kB / 0.558 GB, free: 3.945 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001694/0.1552, allocations: 162.4 kB / 0.5582 GB, free: 3.777 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.877e-05/0.1553, allocations: 36.7 kB / 0.5582 GB, free: 3.742 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.1554, allocations: 196 kB / 0.5584 GB, free: 3.512 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.964e-05/0.1554, allocations: 32.75 kB / 0.5584 GB, free: 3.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.909e-05/0.1555, allocations: 40.38 kB / 0.5585 GB, free: 3.441 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003981/0.1559, allocations: 303.1 kB / 0.5588 GB, free: 3.133 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.1559, allocations: 3.938 kB / 0.5588 GB, free: 3.129 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.1559, allocations: 8 kB / 0.5588 GB, free: 3.121 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.106e-06/0.1559, allocations: 4 kB / 0.5588 GB, free: 3.117 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002569/0.1562, allocations: 214.2 kB / 0.559 GB, free: 2.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.1572, allocations: 0.6321 MB / 0.5596 GB, free: 2.227 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002461/0.1574, allocations: 143.1 kB / 0.5597 GB, free: 2.078 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.1576, allocations: 133.9 kB / 0.5599 GB, free: 1.945 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.1576, allocations: 0 / 0.5599 GB, free: 1.945 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003253/0.1579, allocations: 170.7 kB / 0.56 GB, free: 1.766 MB / 414.1 MB Notification: Performance of pre-optimization done (n=60): time 1.092e-06/0.1579, allocations: 0 / 0.56 GB, free: 1.766 MB / 414.1 MB Notification: Performance of matching and sorting (n=60): time 0.001258/0.1592, allocations: 0.8466 MB / 0.5608 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.1593, allocations: 112 kB / 0.5609 GB, free: 0.793 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.3e-05/0.1594, allocations: 121.7 kB / 0.5611 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.663e-05/0.1594, allocations: 73.61 kB / 0.5611 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.1596, allocations: 153.6 kB / 0.5613 GB, free: 440 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002046/0.1598, allocations: 222.2 kB / 0.5615 GB, free: 216 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002321/0.16, allocations: 203 kB / 0.5617 GB, free: 4 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002085/0.1602, allocations: 346.7 kB / 0.562 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004578/0.1607, allocations: 306.1 kB / 0.5623 GB, free: 15.36 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000813/0.1615, allocations: 0.667 MB / 0.563 GB, free: 14.53 MB / 430.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.002067/0.1636, allocations: 1.413 MB / 0.5643 GB, free: 12.95 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/0.1636, allocations: 4 kB / 0.5643 GB, free: 12.95 MB / 430.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/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_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8012:5-8012:89:writable] Error: Internal error Transformation module sort components failed Error: No system for the symbolic initialization was generated " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.0019397153519094] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.17025935789570212 0.18491696599999996 0.027733241000000002 Calling exit ...