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.001323/0.001323, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001703/0.001703, allocations: 206.1 kB / 24.52 MB, free: 4.156 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 / 258.3 MB, free: 8.004 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.2155/0.2155, allocations: 44.92 MB / 359.6 MB, free: 6.277 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.002223/0.002223, allocations: 63.91 kB / 0.4939 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.358, allocations: 65.48 MB / 0.5578 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.001887/0.3599, allocations: 0.5291 MB / 0.5583 GB, free: 7.133 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001405/0.3613, allocations: 0.6127 MB / 0.5589 GB, free: 6.652 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.08e-05/0.3613, allocations: 0 / 0.5589 GB, free: 6.652 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.853e-05/0.3614, allocations: 15.92 kB / 0.5589 GB, free: 6.637 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.177e-06/0.3614, allocations: 3.938 kB / 0.5589 GB, free: 6.633 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.0008779/0.3623, allocations: 203.4 kB / 0.5591 GB, free: 6.434 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.242e-05/0.3624, allocations: 27.91 kB / 0.5592 GB, free: 6.406 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.322e-05/0.3624, allocations: 4 kB / 0.5592 GB, free: 6.402 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.407e-05/0.3624, allocations: 19.97 kB / 0.5592 GB, free: 6.383 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.811e-05/0.3625, allocations: 8.219 kB / 0.5592 GB, free: 6.371 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.3625, allocations: 0 / 0.5592 GB, free: 6.371 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004/0.3629, allocations: 219.6 kB / 0.5594 GB, free: 6.156 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.363, allocations: 64.09 kB / 0.5595 GB, free: 6.094 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.71e-05/0.3631, allocations: 59.61 kB / 0.5595 GB, free: 6.035 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000322/0.3634, allocations: 205 kB / 0.5597 GB, free: 5.836 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.3634, allocations: 0 / 0.5597 GB, free: 5.836 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.3634, allocations: 0 / 0.5597 GB, free: 5.836 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.3634, allocations: 0 / 0.5597 GB, free: 5.836 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.0005934/0.364, allocations: 422.8 kB / 0.5601 GB, free: 5.395 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.364, allocations: 12.03 kB / 0.5601 GB, free: 5.383 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.002e-05/0.3641, allocations: 12.16 kB / 0.5601 GB, free: 5.371 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001493/0.3642, allocations: 146.7 kB / 0.5603 GB, free: 5.219 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.589e-05/0.3643, allocations: 40.7 kB / 0.5603 GB, free: 5.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.3644, allocations: 142.1 kB / 0.5605 GB, free: 5.016 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.033e-05/0.3645, allocations: 28.88 kB / 0.5605 GB, free: 4.988 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.624e-05/0.3645, allocations: 7.875 kB / 0.5605 GB, free: 4.98 MB / 398.1 MB Error: pre-optimization module expandDerOperator (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.096278525015805] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.3717647800222039 0.387292668 0.020780925000000002 Calling exit ...