Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestRandomNumbers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001889/0.001889, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002401/0.002401, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.505/1.505, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2398/0.2398, allocations: 46.92 MB / 357.1 MB, free: 10.31 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.Random.TestRandomNumbers,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_Random_TestRandomNumbers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestRandomNumbers,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_Random_TestRandomNumbers",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002769/0.002769, allocations: 71.89 kB / 0.4909 GB, free: 7.961 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1549, allocations: 65.99 MB / 0.5554 GB, free: 5.844 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.001606/0.1565, allocations: 0.5398 MB / 0.5559 GB, free: 5.301 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.1578, allocations: 0.6103 MB / 0.5565 GB, free: 4.688 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.781e-05/0.1578, allocations: 0 / 0.5565 GB, free: 4.688 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001119/0.1579, allocations: 3.938 kB / 0.5565 GB, free: 4.684 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 1.51e-05/0.1579, allocations: 7.875 kB / 0.5565 GB, free: 4.676 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.0007584/0.1587, allocations: 191.5 kB / 0.5567 GB, free: 4.488 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 6.329e-05/0.1587, allocations: 31.95 kB / 0.5567 GB, free: 4.457 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.815e-05/0.1588, allocations: 0 / 0.5567 GB, free: 4.457 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.475e-05/0.1588, allocations: 19.92 kB / 0.5567 GB, free: 4.438 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.425e-05/0.1589, allocations: 24.19 kB / 0.5568 GB, free: 4.41 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.608e-06/0.1589, allocations: 0 / 0.5568 GB, free: 4.41 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003015/0.1592, allocations: 175.8 kB / 0.5569 GB, free: 4.238 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.687e-05/0.1593, allocations: 64.14 kB / 0.557 GB, free: 4.176 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.03e-05/0.1593, allocations: 47.62 kB / 0.557 GB, free: 4.129 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002986/0.1596, allocations: 207.2 kB / 0.5572 GB, free: 3.926 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.1596, allocations: 4 kB / 0.5572 GB, free: 3.922 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1596, allocations: 0 / 0.5572 GB, free: 3.922 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.952e-06/0.1596, allocations: 0 / 0.5572 GB, free: 3.922 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.0006002/0.1602, allocations: 0.4921 MB / 0.5577 GB, free: 3.383 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.1603, allocations: 8.031 kB / 0.5577 GB, free: 3.375 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001653/0.1605, allocations: 150.5 kB / 0.5579 GB, free: 3.219 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.267e-05/0.1605, allocations: 44.62 kB / 0.5579 GB, free: 3.176 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.1607, allocations: 196 kB / 0.5581 GB, free: 2.945 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.115e-05/0.1607, allocations: 28.81 kB / 0.5581 GB, free: 2.918 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.602e-05/0.1607, allocations: 44.38 kB / 0.5582 GB, free: 2.875 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004164/0.1611, allocations: 302.5 kB / 0.5585 GB, free: 2.566 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1612, allocations: 0 / 0.5585 GB, free: 2.566 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/0.1612, allocations: 8 kB / 0.5585 GB, free: 2.559 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.1612, allocations: 15.94 kB / 0.5585 GB, free: 2.543 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000257/0.1614, allocations: 206.2 kB / 0.5587 GB, free: 2.344 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000916/0.1624, allocations: 0.636 MB / 0.5593 GB, free: 1.656 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.1625, allocations: 143 kB / 0.5594 GB, free: 1.508 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000129/0.1627, allocations: 121.9 kB / 0.5596 GB, free: 1.387 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.179e-05/0.1627, allocations: 0 / 0.5596 GB, free: 1.387 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002635/0.1629, allocations: 178.7 kB / 0.5597 GB, free: 1.195 MB / 414.1 MB Notification: Performance of pre-optimization done (n=60): time 1.212e-06/0.1629, allocations: 4 kB / 0.5597 GB, free: 1.191 MB / 414.1 MB Notification: Performance of matching and sorting (n=60): time 0.001147/0.1641, allocations: 0.8466 MB / 0.5606 GB, free: 352 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.348e-05/0.1642, allocations: 112 kB / 0.5607 GB, free: 228 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.74e-05/0.1642, allocations: 117.7 kB / 0.5608 GB, free: 100 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.363e-05/0.1643, allocations: 73.67 kB / 0.5608 GB, free: 20 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.1644, allocations: 149.7 kB / 0.561 GB, free: 15.87 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001808/0.1646, allocations: 222.3 kB / 0.5612 GB, free: 15.65 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002116/0.1648, allocations: 203 kB / 0.5614 GB, free: 15.44 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.165, allocations: 350.8 kB / 0.5617 GB, free: 15.09 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004326/0.1654, allocations: 306.1 kB / 0.562 GB, free: 14.79 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007335/0.1661, allocations: 0.667 MB / 0.5627 GB, free: 13.96 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.001919/0.1681, allocations: 1.41 MB / 0.564 GB, free: 12.39 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.009e-05/0.1681, allocations: 4 kB / 0.564 GB, free: 12.38 MB / 430.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: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.0590550389897544] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.1758172850095434 0.18953091700000002 0.026942809 Calling exit ...