Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001273/0.001273, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.0014/0.0014, allocations: 213.4 kB / 24.52 MB, free: 3.941 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.408/1.408, allocations: 230.6 MB / 258.3 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.224/0.224, allocations: 46.96 MB / 361.7 MB, free: 4.051 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+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_1_0_ModelicaTest_Math_Random_TestRandomNumbers",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestRandomNumbers,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_Random_TestRandomNumbers",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 67.89 kB / 0.4969 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3224, allocations: 66.04 MB / 0.5614 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.001738/0.3241, allocations: 0.5373 MB / 0.5619 GB, free: 3.738 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001227/0.3253, allocations: 0.5808 MB / 0.5625 GB, free: 3.152 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.869e-05/0.3254, allocations: 3.938 kB / 0.5625 GB, free: 3.148 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 8.538e-05/0.3254, allocations: 7.938 kB / 0.5625 GB, free: 3.141 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.619e-06/0.3254, allocations: 0 / 0.5625 GB, free: 3.141 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.0007188/0.3262, allocations: 206.9 kB / 0.5627 GB, free: 2.941 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.627e-05/0.3262, allocations: 31.95 kB / 0.5627 GB, free: 2.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.942e-05/0.3263, allocations: 3.938 kB / 0.5627 GB, free: 2.906 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.552e-05/0.3263, allocations: 15.98 kB / 0.5627 GB, free: 2.891 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.302e-05/0.3263, allocations: 16.19 kB / 0.5627 GB, free: 2.871 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.3263, allocations: 4 kB / 0.5627 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003539/0.3267, allocations: 207.6 kB / 0.5629 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.534e-05/0.3268, allocations: 68.08 kB / 0.563 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.003e-05/0.3269, allocations: 43.73 kB / 0.563 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002874/0.3271, allocations: 205 kB / 0.5632 GB, free: 2.355 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3271, allocations: 4 kB / 0.5632 GB, free: 2.352 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3271, allocations: 0 / 0.5632 GB, free: 2.352 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.3272, allocations: 0 / 0.5632 GB, free: 2.352 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.000515/0.3277, allocations: 426.7 kB / 0.5636 GB, free: 1.906 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.3277, allocations: 12.03 kB / 0.5637 GB, free: 1.895 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.906e-05/0.3278, allocations: 12.17 kB / 0.5637 GB, free: 1.883 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001292/0.3279, allocations: 138.6 kB / 0.5638 GB, free: 1.738 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.26e-05/0.3279, allocations: 40.7 kB / 0.5638 GB, free: 1.699 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.3281, allocations: 138.2 kB / 0.564 GB, free: 1.539 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.412e-05/0.3281, allocations: 36.88 kB / 0.564 GB, free: 1.504 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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 6.257e-05/0.3281, allocations: 0 / 0.564 GB, free: 1.504 MB / 398.1 MB Error: pre-optimization module expandDerOperator (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.8988821629900485] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.3349255119683221 0.3498754 0.019798082 Calling exit ...