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.001276/0.001276, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001443/0.001443, allocations: 214.7 kB / 24.52 MB, free: 3.914 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.417/1.417, allocations: 230.6 MB / 258.3 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] 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.2223/0.2223, allocations: 44.93 MB / 359.6 MB, free: 6.055 MB / 286.1 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: "" <> buildModelFMU(ModelicaTest.Math.Random.TestRandomNumbers,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestRandomNumbers",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestRandomNumbers,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestRandomNumbers",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 67.89 kB / 0.4938 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3607, allocations: 65.47 MB / 0.5577 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.001698/0.3624, allocations: 0.5356 MB / 0.5583 GB, free: 6.941 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.3637, allocations: 0.5813 MB / 0.5588 GB, free: 6.426 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.781e-05/0.3637, allocations: 7.938 kB / 0.5588 GB, free: 6.418 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.873e-05/0.3638, allocations: 7.938 kB / 0.5588 GB, free: 6.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.499e-06/0.3638, allocations: 0 / 0.5588 GB, free: 6.41 MB / 398.1 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.0008119/0.3646, allocations: 214.7 kB / 0.559 GB, free: 6.203 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.564e-05/0.3647, allocations: 19.98 kB / 0.5591 GB, free: 6.184 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.571e-05/0.3647, allocations: 7.984 kB / 0.5591 GB, free: 6.176 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.859e-05/0.3648, allocations: 19.92 kB / 0.5591 GB, free: 6.156 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.056e-05/0.3648, allocations: 12.2 kB / 0.5591 GB, free: 6.141 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.3648, allocations: 4 kB / 0.5591 GB, free: 6.137 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000386/0.3652, allocations: 215.6 kB / 0.5593 GB, free: 5.926 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.959e-05/0.3653, allocations: 64.11 kB / 0.5594 GB, free: 5.863 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.796e-05/0.3654, allocations: 47.72 kB / 0.5594 GB, free: 5.816 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003173/0.3657, allocations: 205 kB / 0.5596 GB, free: 5.617 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.3657, allocations: 0 / 0.5596 GB, free: 5.617 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3657, allocations: 0 / 0.5596 GB, free: 5.617 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.3657, allocations: 0 / 0.5596 GB, free: 5.617 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.0006034/0.3663, allocations: 426.8 kB / 0.56 GB, free: 5.172 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.596e-05/0.3664, allocations: 15.97 kB / 0.56 GB, free: 5.156 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.21e-05/0.3664, allocations: 4.172 kB / 0.56 GB, free: 5.152 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000165/0.3666, allocations: 150.6 kB / 0.5602 GB, free: 4.996 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.367e-05/0.3667, allocations: 36.7 kB / 0.5602 GB, free: 4.961 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.3668, allocations: 134.2 kB / 0.5603 GB, free: 4.805 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.096e-05/0.3668, allocations: 32.88 kB / 0.5604 GB, free: 4.773 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:1209:7-1209:21:writable] Error: Argument '$outputAlias_r2' of der is not differentiable. Notification: Performance of preOpt expandDerOperator (simulation) : time 8.95e-05/0.3669, allocations: 4 kB / 0.5604 GB, free: 4.77 MB / 398.1 MB Error: pre-optimization module expandDerOperator (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.9873741569463164] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.37451998807955533 0.390007058 0.021286653000000003 Calling exit ...