Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.000978/0.000978, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.000958/0.000958, allocations: 170 kB / 23.94 MB, free: 0.6211 MB / 18.57 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.073/1.073, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2664/0.2664, allocations: 32.79 MB / 293.5 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ModelicaTest.Math.Random.TestRandomNumbers,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestRandomNumbers",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestRandomNumbers,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestRandomNumbers",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.926e-06/2.926e-06, allocations: 0 / 441.1 MB, free: 2.707 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.559e-05/2.851e-05, allocations: 2.281 kB / 441.1 MB, free: 2.703 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.001914/0.001942, allocations: 0.5458 MB / 441.7 MB, free: 2.16 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001292/0.003234, allocations: 0.5947 MB / 442.3 MB, free: 1.562 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.36e-05/0.003278, allocations: 0 / 442.3 MB, free: 1.562 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.732e-05/0.003375, allocations: 7.922 kB / 442.3 MB, free: 1.555 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.803e-06/0.003382, allocations: 3.938 kB / 442.3 MB, free: 1.551 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0009979/0.00438, allocations: 203.3 kB / 442.5 MB, free: 1.352 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.306e-05/0.004473, allocations: 23.98 kB / 442.5 MB, free: 1.328 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.486e-05/0.004537, allocations: 11.92 kB / 442.5 MB, free: 1.316 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.796e-05/0.004585, allocations: 19.91 kB / 442.5 MB, free: 1.297 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.309e-05/0.004639, allocations: 12.2 kB / 442.6 MB, free: 1.281 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.004655, allocations: 4 kB / 442.6 MB, free: 1.277 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004261/0.005081, allocations: 203.6 kB / 442.8 MB, free: 1.078 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.193e-05/0.005173, allocations: 60.09 kB / 442.8 MB, free: 1.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.493e-05/0.005228, allocations: 31.91 kB / 442.9 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003627/0.005591, allocations: 219.3 kB / 443.1 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.005595, allocations: 0 / 443.1 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.005597, allocations: 4 kB / 443.1 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.005602, allocations: 0 / 443.1 MB, free: 0.7695 MB / 410.7 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.0005523/0.006155, allocations: 426.8 kB / 443.5 MB, free: 328 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.006202, allocations: 8.031 kB / 443.5 MB, free: 320 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001681/0.00637, allocations: 150.5 kB / 443.6 MB, free: 156 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.517e-05/0.006436, allocations: 40.69 kB / 443.7 MB, free: 116 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1638/0.1702, allocations: 135 kB / 443.8 MB, free: 46.42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.423e-05/0.1703, allocations: 28.94 kB / 443.8 MB, free: 46.42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.801e-05/0.1703, allocations: 40.03 kB / 443.9 MB, free: 46.42 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000311/0.1706, allocations: 303 kB / 444.2 MB, free: 46.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.1706, allocations: 6 kB / 444.2 MB, free: 46.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.1707, allocations: 10.53 kB / 444.2 MB, free: 46.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.1707, allocations: 5.906 kB / 444.2 MB, free: 46.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001596/0.1708, allocations: 210.3 kB / 444.4 MB, free: 46.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006123/0.1714, allocations: 0.5843 MB / 445 MB, free: 46.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.1715, allocations: 131 kB / 445.1 MB, free: 46.08 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.777e-05/0.1716, allocations: 134.6 kB / 445.2 MB, free: 46.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.325e-06/0.1716, allocations: 0 / 445.2 MB, free: 46.03 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001634/0.1718, allocations: 184.6 kB / 445.4 MB, free: 45.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=60): time 9.92e-07/0.1718, allocations: 0 / 445.4 MB, free: 45.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=60): time 0.0006178/0.1724, allocations: 0.6968 MB / 446.1 MB, free: 45.72 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.807e-05/0.1725, allocations: 107.1 kB / 446.2 MB, free: 45.65 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.015e-05/0.1725, allocations: 122.5 kB / 446.3 MB, free: 45.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.793e-05/0.1726, allocations: 74.03 kB / 446.4 MB, free: 45.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.941e-05/0.1726, allocations: 152.4 kB / 446.6 MB, free: 45.37 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.977e-05/0.1727, allocations: 164.9 kB / 446.7 MB, free: 45.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.1728, allocations: 167.1 kB / 446.9 MB, free: 45.17 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.496e-05/0.1729, allocations: 351.6 kB / 447.2 MB, free: 44.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/0.1731, allocations: 199.8 kB / 447.4 MB, free: 44.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002764/0.1733, allocations: 0.5571 MB / 448 MB, free: 44.3 MB / 410.7 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.0005959/0.1739, allocations: 0.8747 MB / 448.9 MB, free: 43.67 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.084e-06/0.1739, allocations: 5.812 kB / 448.9 MB, free: 43.67 MB / 410.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:337:7-337: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.) $outputAlias_result $PRE.$outputAlias_result $PRE.$outputAlias_result = $outputAlias_result $outputAlias_result = $PRE.$outputAlias_result [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:347:7-347:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: $outputAlias_result $PRE.$outputAlias_result equations: $PRE.$outputAlias_result = $outputAlias_result $outputAlias_result = $PRE.$outputAlias_result [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:351:7-351:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:202:5-202:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:113:7-113:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7979:5-7979: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.3103413274511695]