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.001336/0.001336, allocations: 117.9 kB / 18.5 MB, free: 4.52 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.001356/0.001356, allocations: 214.5 kB / 21.46 MB, free: 1.566 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.458/1.458, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.239/0.239, allocations: 46.92 MB / 357.7 MB, free: 10.18 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.002319/0.002319, allocations: 75.86 kB / 0.4917 GB, free: 7.684 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1327, allocations: 66.04 MB / 0.5562 GB, free: 5.508 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.001605/0.1343, allocations: 0.5359 MB / 0.5567 GB, free: 4.965 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.1354, allocations: 0.602 MB / 0.5573 GB, free: 4.363 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.808e-05/0.1354, allocations: 4 kB / 0.5573 GB, free: 4.359 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 7.206e-05/0.1355, allocations: 7.922 kB / 0.5573 GB, free: 4.352 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 1.065e-05/0.1355, allocations: 7.875 kB / 0.5573 GB, free: 4.344 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.0006254/0.1361, allocations: 203.1 kB / 0.5575 GB, free: 4.148 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 6.231e-05/0.1362, allocations: 23.98 kB / 0.5575 GB, free: 4.125 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.572e-05/0.1362, allocations: 3.984 kB / 0.5575 GB, free: 4.121 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.382e-05/0.1362, allocations: 15.94 kB / 0.5575 GB, free: 4.105 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.054e-05/0.1363, allocations: 16.19 kB / 0.5575 GB, free: 4.086 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.1363, allocations: 4 kB / 0.5575 GB, free: 4.082 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002851/0.1366, allocations: 183.7 kB / 0.5577 GB, free: 3.902 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.37e-05/0.1366, allocations: 52.17 kB / 0.5578 GB, free: 3.852 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.024e-05/0.1367, allocations: 59.55 kB / 0.5578 GB, free: 3.793 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002695/0.137, allocations: 203.2 kB / 0.558 GB, free: 3.594 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.137, allocations: 4 kB / 0.558 GB, free: 3.59 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.137, allocations: 0 / 0.558 GB, free: 3.59 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.137, allocations: 0 / 0.558 GB, free: 3.59 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.0005618/0.1376, allocations: 0.4921 MB / 0.5585 GB, free: 3.047 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.1376, allocations: 8.031 kB / 0.5585 GB, free: 3.039 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001564/0.1377, allocations: 154.5 kB / 0.5587 GB, free: 2.879 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.472e-05/0.1378, allocations: 40.64 kB / 0.5587 GB, free: 2.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.1379, allocations: 199.9 kB / 0.5589 GB, free: 2.605 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.125e-05/0.138, allocations: 28.81 kB / 0.5589 GB, free: 2.578 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.441e-05/0.138, allocations: 44.38 kB / 0.559 GB, free: 2.535 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003977/0.1384, allocations: 299.1 kB / 0.5592 GB, free: 2.238 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.1384, allocations: 3.938 kB / 0.5593 GB, free: 2.234 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.1384, allocations: 12 kB / 0.5593 GB, free: 2.223 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.1384, allocations: 4 kB / 0.5593 GB, free: 2.219 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002582/0.1387, allocations: 214.1 kB / 0.5595 GB, free: 2.012 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008581/0.1396, allocations: 0.6321 MB / 0.5601 GB, free: 1.328 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.1397, allocations: 143 kB / 0.5602 GB, free: 1.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.1399, allocations: 129.9 kB / 0.5603 GB, free: 1.051 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.646e-06/0.1399, allocations: 0 / 0.5603 GB, free: 1.051 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002279/0.1401, allocations: 178.8 kB / 0.5605 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of pre-optimization done (n=60): time 1.042e-06/0.1401, allocations: 0 / 0.5605 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of matching and sorting (n=60): time 0.001155/0.1412, allocations: 0.8466 MB / 0.5613 GB, free: 12 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.1414, allocations: 107.9 kB / 0.5614 GB, free: 15.89 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.896e-05/0.1414, allocations: 125.7 kB / 0.5616 GB, free: 15.76 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.88e-05/0.1415, allocations: 69.69 kB / 0.5616 GB, free: 15.69 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.1416, allocations: 149.7 kB / 0.5618 GB, free: 15.54 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000175/0.1418, allocations: 222.2 kB / 0.562 GB, free: 15.32 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002205/0.142, allocations: 199 kB / 0.5622 GB, free: 15.11 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.1422, allocations: 350.7 kB / 0.5625 GB, free: 14.76 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004303/0.1426, allocations: 302.1 kB / 0.5628 GB, free: 14.47 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000745/0.1433, allocations: 0.667 MB / 0.5635 GB, free: 13.63 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.001961/0.1453, allocations: 1.413 MB / 0.5648 GB, free: 12.06 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.1453, allocations: 4 kB / 0.5648 GB, free: 12.05 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: 2.9197034277021885] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.15227297181263566 0.166897963 0.027043663000000003 Calling exit ...