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.001506/0.001506, allocations: 114.2 kB / 20.22 MB, free: 1.793 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.00171/0.00171, allocations: 212.2 kB / 23.48 MB, free: 5.227 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.48/1.48, allocations: 230.2 MB / 256.8 MB, free: 8.555 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.2442/0.2442, allocations: 46.89 MB / 360 MB, free: 4.715 MB / 286.1 MB " [Timeout remaining time 179] 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.002377/0.002377, allocations: 91.83 kB / 0.4951 GB, free: 8.512 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3498, allocations: 65.99 MB / 0.5595 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.001933/0.3517, allocations: 0.529 MB / 0.5601 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001226/0.3529, allocations: 0.6153 MB / 0.5607 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.399e-05/0.353, allocations: 0 / 0.5607 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001012/0.3531, allocations: 11.92 kB / 0.5607 GB, free: 3.801 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.083e-06/0.3531, allocations: 3.938 kB / 0.5607 GB, free: 3.797 MB / 398.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.0007552/0.3538, allocations: 195.4 kB / 0.5609 GB, free: 3.605 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.755e-05/0.3539, allocations: 27.92 kB / 0.5609 GB, free: 3.578 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.778e-05/0.3539, allocations: 4 kB / 0.5609 GB, free: 3.574 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.926e-05/0.354, allocations: 15.97 kB / 0.5609 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.546e-05/0.354, allocations: 12.2 kB / 0.5609 GB, free: 3.543 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.354, allocations: 4 kB / 0.5609 GB, free: 3.539 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003315/0.3544, allocations: 179.7 kB / 0.5611 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.3545, allocations: 60.11 kB / 0.5611 GB, free: 3.305 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.913e-05/0.3545, allocations: 59.61 kB / 0.5612 GB, free: 3.246 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003294/0.3549, allocations: 209 kB / 0.5614 GB, free: 3.043 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.3549, allocations: 3.984 kB / 0.5614 GB, free: 3.039 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3549, allocations: 0 / 0.5614 GB, free: 3.039 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.3549, allocations: 0 / 0.5614 GB, free: 3.039 MB / 398.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.0006177/0.3555, allocations: 499.9 kB / 0.5619 GB, free: 2.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.3555, allocations: 12.03 kB / 0.5619 GB, free: 2.488 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001662/0.3557, allocations: 142.5 kB / 0.562 GB, free: 2.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.225e-05/0.3558, allocations: 36.7 kB / 0.5621 GB, free: 2.305 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.3559, allocations: 200 kB / 0.5623 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.442e-05/0.356, allocations: 32.81 kB / 0.5623 GB, free: 2.039 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.722e-05/0.356, allocations: 44.31 kB / 0.5623 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004238/0.3564, allocations: 299.1 kB / 0.5626 GB, free: 1.695 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.3564, allocations: 7.938 kB / 0.5626 GB, free: 1.688 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.697e-05/0.3565, allocations: 8 kB / 0.5626 GB, free: 1.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.3565, allocations: 7.984 kB / 0.5626 GB, free: 1.672 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002583/0.3567, allocations: 210.2 kB / 0.5628 GB, free: 1.469 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009659/0.3577, allocations: 0.6477 MB / 0.5635 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.3579, allocations: 143 kB / 0.5636 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.358, allocations: 121.9 kB / 0.5637 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.594e-06/0.358, allocations: 0 / 0.5637 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002204/0.3582, allocations: 170.7 kB / 0.5639 GB, free: 320 kB / 398.1 MB Notification: Performance of pre-optimization done (n=60): time 1.162e-06/0.3582, allocations: 0 / 0.5639 GB, free: 320 kB / 398.1 MB Notification: Performance of matching and sorting (n=60): time 0.001284/0.3595, allocations: 0.8505 MB / 0.5647 GB, free: 15.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.608e-05/0.3596, allocations: 112 kB / 0.5648 GB, free: 15.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.021e-05/0.3597, allocations: 121.7 kB / 0.5649 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.496e-05/0.3598, allocations: 69.67 kB / 0.565 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.915e-05/0.3599, allocations: 153.6 kB / 0.5652 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001987/0.3601, allocations: 226.2 kB / 0.5654 GB, free: 14.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002239/0.3603, allocations: 195 kB / 0.5656 GB, free: 14.56 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.3605, allocations: 354.7 kB / 0.5659 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004403/0.3609, allocations: 302.1 kB / 0.5662 GB, free: 13.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007472/0.3617, allocations: 0.667 MB / 0.5668 GB, free: 13.08 MB / 414.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.002046/0.3637, allocations: 1.409 MB / 0.5682 GB, free: 11.51 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-05/0.3637, allocations: 0 / 0.5682 GB, free: 11.51 MB / 414.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.1033058809116483] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.37158510903827846 0.385691526 0.027900444000000003 Calling exit ...