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.00164/0.00164, allocations: 120.1 kB / 18.49 MB, free: 4.586 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.00191/0.00191, allocations: 215 kB / 21.45 MB, free: 1.641 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.447/1.447, allocations: 230.6 MB / 254.8 MB, free: 15.07 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.2196/0.2196, allocations: 46.92 MB / 357.8 MB, free: 10.31 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.002061/0.002061, allocations: 63.91 kB / 0.4916 GB, free: 7.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1275, allocations: 65.99 MB / 0.5561 GB, free: 5.859 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.001891/0.1294, allocations: 0.5398 MB / 0.5566 GB, free: 5.316 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001267/0.1307, allocations: 0.6064 MB / 0.5572 GB, free: 4.707 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.603e-05/0.1307, allocations: 0 / 0.5572 GB, free: 4.707 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 9.029e-05/0.1308, allocations: 7.875 kB / 0.5572 GB, free: 4.699 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 6.743e-06/0.1308, allocations: 3.938 kB / 0.5572 GB, free: 4.695 MB / 414.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.0007677/0.1316, allocations: 203.3 kB / 0.5574 GB, free: 4.5 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 6.664e-05/0.1317, allocations: 23.98 kB / 0.5574 GB, free: 4.477 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.399e-05/0.1317, allocations: 4 kB / 0.5574 GB, free: 4.473 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.767e-05/0.1317, allocations: 19.91 kB / 0.5574 GB, free: 4.453 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.268e-05/0.1318, allocations: 16.2 kB / 0.5574 GB, free: 4.434 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.1318, allocations: 0 / 0.5574 GB, free: 4.434 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003108/0.1321, allocations: 183.7 kB / 0.5576 GB, free: 4.254 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001477/0.1323, allocations: 56.17 kB / 0.5577 GB, free: 4.199 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.102e-05/0.1323, allocations: 55.61 kB / 0.5577 GB, free: 4.145 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003261/0.1327, allocations: 203.2 kB / 0.5579 GB, free: 3.945 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1327, allocations: 4 kB / 0.5579 GB, free: 3.941 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1327, allocations: 4 kB / 0.5579 GB, free: 3.938 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.1327, allocations: 0 / 0.5579 GB, free: 3.938 MB / 414.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.0006167/0.1333, allocations: 495.9 kB / 0.5584 GB, free: 3.406 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.1333, allocations: 12.03 kB / 0.5584 GB, free: 3.395 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.551e-05/0.1334, allocations: 16.11 kB / 0.5584 GB, free: 3.379 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000167/0.1335, allocations: 158.5 kB / 0.5586 GB, free: 3.215 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.393e-05/0.1336, allocations: 40.75 kB / 0.5586 GB, free: 3.176 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.1338, allocations: 192 kB / 0.5588 GB, free: 2.949 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.947e-05/0.1338, allocations: 32.94 kB / 0.5588 GB, free: 2.918 MB / 414.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.721e-05/0.1339, allocations: 4 kB / 0.5588 GB, free: 2.914 MB / 414.1 MB Error: pre-optimization module expandDerOperator (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.8133419409859926] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.14016273594461381 0.155019928 0.019535359000000002 Calling exit ...