Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.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.001361/0.001361, allocations: 125.3 kB / 18.46 MB, free: 4.609 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.001469/0.001469, allocations: 210.5 kB / 21.41 MB, free: 1.66 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.559/1.559, allocations: 227.5 MB / 251.7 MB, free: 15.92 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.2248/0.2248, allocations: 46.14 MB / 351.1 MB, free: 14.33 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-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.Magnetic.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Shapes_Force",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Shapes_Force",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.002407/0.002408, allocations: 85.19 kB / 489.7 MB, free: 28.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1124, allocations: 62.44 MB / 0.5392 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.004478/0.117, allocations: 3.008 MB / 0.5421 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00142/0.1184, allocations: 0.7789 MB / 0.5429 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001397/0.1186, allocations: 4 kB / 0.5429 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001936/0.1188, allocations: 63.38 kB / 0.5429 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002163/0.119, allocations: 99.05 kB / 0.543 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003135/0.1193, allocations: 123.8 kB / 0.5431 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005125/0.1199, allocations: 474.6 kB / 0.5436 GB, free: 284 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000279/0.1201, allocations: 152 kB / 0.5437 GB, free: 124 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003114/0.1205, allocations: 195.3 kB / 0.5439 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002727/0.1207, allocations: 203.1 kB / 0.5441 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.307e-05/0.1208, allocations: 40 kB / 0.5442 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.1209, allocations: 47.94 kB / 0.5442 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.07e-05/0.121, allocations: 95.61 kB / 0.5443 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000193/0.1212, allocations: 199 kB / 0.5445 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005471/0.1218, allocations: 474 kB / 0.5449 GB, free: 14.89 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1218, allocations: 0 / 0.5449 GB, free: 14.89 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1218, allocations: 0 / 0.5449 GB, free: 14.89 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.206e-06/0.1218, allocations: 0 / 0.5449 GB, free: 14.89 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001448/0.1233, allocations: 0.7094 MB / 0.5456 GB, free: 14.13 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.1233, allocations: 8.031 kB / 0.5456 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.505e-05/0.1234, allocations: 78.7 kB / 0.5457 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002541/0.1237, allocations: 60.64 kB / 0.5458 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004409/0.1241, allocations: 303.3 kB / 0.5461 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.134e-05/0.1242, allocations: 29.38 kB / 0.5461 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.445e-05/0.1242, allocations: 36.38 kB / 0.5461 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006697/0.1249, allocations: 350.6 kB / 0.5465 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.125, allocations: 0 / 0.5465 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.718e-05/0.125, allocations: 12 kB / 0.5465 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.125, allocations: 12 kB / 0.5465 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006777/0.1257, allocations: 303.8 kB / 0.5468 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00226/0.128, allocations: 1.337 MB / 0.5481 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005385/0.1285, allocations: 268.9 kB / 0.5483 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003056/0.1288, allocations: 161.4 kB / 0.5485 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.356e-05/0.1289, allocations: 8.281 kB / 0.5485 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/0.1289, allocations: 38.78 kB / 0.5485 GB, free: 10.99 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 1.924e-06/0.1289, allocations: 0 / 0.5485 GB, free: 10.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009241/0.1299, allocations: 371.5 kB / 0.5489 GB, free: 10.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/0.1299, allocations: 63.33 kB / 0.5489 GB, free: 10.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003062/0.1302, allocations: 262.7 kB / 0.5492 GB, free: 10.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.1303, allocations: 33.7 kB / 0.5492 GB, free: 10.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.1304, allocations: 212.3 kB / 0.5494 GB, free: 10.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.1306, allocations: 119 kB / 0.5495 GB, free: 9.918 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/0.1307, allocations: 70.08 kB / 0.5496 GB, free: 9.844 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.1309, allocations: 342.8 kB / 0.5499 GB, free: 9.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002554/0.1311, allocations: 100.8 kB / 0.55 GB, free: 9.402 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003108/0.1315, allocations: 175.4 kB / 0.5502 GB, free: 9.207 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005754/0.132, allocations: 292.7 kB / 0.5505 GB, free: 8.898 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.1321, allocations: 7.938 kB / 0.5505 GB, free: 8.891 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007212/0.1328, allocations: 366.6 kB / 0.5508 GB, free: 8.527 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.1328, allocations: 6.344 kB / 0.5508 GB, free: 8.523 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.1328, allocations: 4 kB / 0.5508 GB, free: 8.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/0.1329, allocations: 11.92 kB / 0.5509 GB, free: 8.508 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005208/0.1334, allocations: 99.88 kB / 0.5509 GB, free: 8.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.1334, allocations: 7.875 kB / 0.551 GB, free: 8.402 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002738/0.1337, allocations: 47.72 kB / 0.551 GB, free: 8.355 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.188e-05/0.1337, allocations: 12 kB / 0.551 GB, free: 8.344 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001796/0.1339, allocations: 161.7 kB / 0.5512 GB, free: 8.176 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.868e-05/0.134, allocations: 27.81 kB / 0.5512 GB, free: 8.148 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007225/0.1347, allocations: 328.2 kB / 0.5515 GB, free: 7.816 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.1347, allocations: 4 kB / 0.5515 GB, free: 7.812 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1347, allocations: 0 / 0.5515 GB, free: 7.812 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1347, allocations: 0 / 0.5515 GB, free: 7.812 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005012/0.1352, allocations: 409.1 kB / 0.5519 GB, free: 7.363 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1353, allocations: 4 kB / 0.5519 GB, free: 7.359 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004331/0.1357, allocations: 91.88 kB / 0.552 GB, free: 7.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.1357, allocations: 0 / 0.552 GB, free: 7.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.1357, allocations: 4 kB / 0.552 GB, free: 7.266 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.1357, allocations: 4 kB / 0.552 GB, free: 7.262 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1358, allocations: 0 / 0.552 GB, free: 7.262 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009622/0.1367, allocations: 0.5106 MB / 0.5525 GB, free: 6.734 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.1369, allocations: 128.9 kB / 0.5526 GB, free: 6.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.479e-05/0.1369, allocations: 8 kB / 0.5526 GB, free: 6.582 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000227/0.1372, allocations: 11.98 kB / 0.5526 GB, free: 6.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.578e-05/0.1372, allocations: 19.97 kB / 0.5527 GB, free: 6.551 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.185e-05/0.1373, allocations: 8 kB / 0.5527 GB, free: 6.543 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002105/0.1375, allocations: 190 kB / 0.5528 GB, free: 6.355 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1375, allocations: 0 / 0.5528 GB, free: 6.355 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003755/0.1379, allocations: 103.8 kB / 0.5529 GB, free: 6.254 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (position.s,position.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001246/0.1391, allocations: 1.056 MB / 0.554 GB, free: 5.172 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006332/0.1398, allocations: 283.9 kB / 0.5542 GB, free: 4.895 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.1398, allocations: 0 / 0.5542 GB, free: 4.895 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002731/0.1401, allocations: 135.8 kB / 0.5544 GB, free: 4.762 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.1404, allocations: 32.55 kB / 0.5544 GB, free: 4.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004493/0.1449, allocations: 3.154 MB / 0.5575 GB, free: 1.461 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004505/0.1454, allocations: 0.7874 MB / 0.5583 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001886/0.1456, allocations: 30.95 kB / 0.5583 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002066/0.1458, allocations: 115.4 kB / 0.5584 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1458, allocations: 0 / 0.5584 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03029/0.1761, allocations: 5.735 MB / 0.564 GB, free: 10.87 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.663/8.839, allocations: 12.62 kB / 0.564 GB, free: 10.86 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Shapes_Force.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.964094421942718] Failed to read output from testmodel.py, exit status != 0: ['time', 'position.s', 'hollowCylinderAxialFlux.F_m', 'cuboidParallelFlux.F_m', 'cuboidOrthogonalFlux.F_m', 'hollowCylinderRadialFlux.F_m', 'leakageAroundPoles.F_m'] 8.911353743053041 8.934407206 8.808653323 Calling exit ...