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.001752/0.001752, allocations: 122.6 kB / 18.5 MB, free: 4.578 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.00173/0.00173, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.518/1.518, allocations: 230.4 MB / 254.7 MB, free: 15.18 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.2285/0.2285, allocations: 46.93 MB / 357.7 MB, free: 10.21 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.002282/0.002282, allocations: 79.88 kB / 0.4917 GB, free: 7.758 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1269, allocations: 66.04 MB / 0.5561 GB, free: 5.586 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.004591/0.1315, allocations: 3.029 MB / 0.5591 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001582/0.133, allocations: 0.7829 MB / 0.5599 GB, free: 1.75 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001766/0.1332, allocations: 7.938 kB / 0.5599 GB, free: 1.742 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001989/0.1334, allocations: 59.38 kB / 0.5599 GB, free: 1.684 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002254/0.1336, allocations: 103.1 kB / 0.56 GB, free: 1.582 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003227/0.134, allocations: 115.8 kB / 0.5601 GB, free: 1.469 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005091/0.1345, allocations: 478.6 kB / 0.5606 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002779/0.1347, allocations: 116 kB / 0.5607 GB, free: 0.875 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003513/0.1351, allocations: 195.3 kB / 0.5609 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002683/0.1354, allocations: 207.1 kB / 0.5611 GB, free: 492 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.201e-05/0.1354, allocations: 40 kB / 0.5611 GB, free: 452 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.958e-05/0.1355, allocations: 40 kB / 0.5612 GB, free: 412 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.828e-05/0.1356, allocations: 95.61 kB / 0.5613 GB, free: 316 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001918/0.1358, allocations: 199 kB / 0.5615 GB, free: 116 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005471/0.1363, allocations: 478.1 kB / 0.5619 GB, free: 15.64 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1364, allocations: 0 / 0.5619 GB, free: 15.64 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1364, allocations: 0 / 0.5619 GB, free: 15.64 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.515e-06/0.1364, allocations: 0 / 0.5619 GB, free: 15.64 MB / 430.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.001466/0.1378, allocations: 0.7093 MB / 0.5626 GB, free: 14.88 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.1379, allocations: 16.03 kB / 0.5626 GB, free: 14.87 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.921e-05/0.138, allocations: 78.7 kB / 0.5627 GB, free: 14.78 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002499/0.1382, allocations: 56.59 kB / 0.5627 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004871/0.1387, allocations: 299.3 kB / 0.563 GB, free: 14.4 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.935e-05/0.1387, allocations: 29.38 kB / 0.5631 GB, free: 14.37 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.762e-05/0.1388, allocations: 36.38 kB / 0.5631 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006861/0.1395, allocations: 346.6 kB / 0.5634 GB, free: 13.99 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.1395, allocations: 0 / 0.5634 GB, free: 13.99 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.422e-05/0.1396, allocations: 16 kB / 0.5634 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.1396, allocations: 8 kB / 0.5634 GB, free: 13.97 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006865/0.1403, allocations: 307.8 kB / 0.5637 GB, free: 13.67 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00242/0.1427, allocations: 1.334 MB / 0.565 GB, free: 12.24 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005365/0.1432, allocations: 260.8 kB / 0.5653 GB, free: 11.97 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003112/0.1435, allocations: 137.4 kB / 0.5654 GB, free: 11.84 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.259e-05/0.1436, allocations: 4.281 kB / 0.5654 GB, free: 11.83 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.1436, allocations: 38.84 kB / 0.5655 GB, free: 11.79 MB / 430.1 MB Notification: Performance of pre-optimization done (n=34): time 2.073e-06/0.1436, allocations: 0 / 0.5655 GB, free: 11.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.000918/0.1445, allocations: 376.1 kB / 0.5658 GB, free: 11.41 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.1446, allocations: 59.34 kB / 0.5659 GB, free: 11.34 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003078/0.1449, allocations: 262.7 kB / 0.5661 GB, free: 11.08 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.046e-05/0.1449, allocations: 33.7 kB / 0.5662 GB, free: 11.04 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.1451, allocations: 212.2 kB / 0.5664 GB, free: 10.83 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.1452, allocations: 123 kB / 0.5665 GB, free: 10.71 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.1453, allocations: 74.08 kB / 0.5666 GB, free: 10.63 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.1455, allocations: 338.8 kB / 0.5669 GB, free: 10.29 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002579/0.1457, allocations: 100.8 kB / 0.567 GB, free: 10.2 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003332/0.1461, allocations: 171.5 kB / 0.5671 GB, free: 10 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005967/0.1467, allocations: 300.5 kB / 0.5674 GB, free: 9.684 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.1467, allocations: 3.938 kB / 0.5674 GB, free: 9.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007747/0.1474, allocations: 358.5 kB / 0.5678 GB, free: 9.324 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.1475, allocations: 8 kB / 0.5678 GB, free: 9.316 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.1475, allocations: 0 / 0.5678 GB, free: 9.316 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/0.1475, allocations: 4.219 kB / 0.5678 GB, free: 9.312 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005354/0.148, allocations: 111.8 kB / 0.5679 GB, free: 9.203 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.148, allocations: 4 kB / 0.5679 GB, free: 9.199 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003106/0.1484, allocations: 47.66 kB / 0.5679 GB, free: 9.152 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.542e-05/0.1484, allocations: 16 kB / 0.5679 GB, free: 9.137 MB / 430.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.0002497/0.1487, allocations: 145.7 kB / 0.5681 GB, free: 8.984 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.901e-05/0.1487, allocations: 31.81 kB / 0.5681 GB, free: 8.953 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008142/0.1495, allocations: 332.1 kB / 0.5684 GB, free: 8.617 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.1495, allocations: 4 kB / 0.5684 GB, free: 8.613 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.1496, allocations: 4 kB / 0.5684 GB, free: 8.609 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1496, allocations: 0 / 0.5684 GB, free: 8.609 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005928/0.1501, allocations: 417.1 kB / 0.5688 GB, free: 8.152 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1502, allocations: 3.938 kB / 0.5688 GB, free: 8.148 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004343/0.1506, allocations: 83.89 kB / 0.5689 GB, free: 8.066 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.1506, allocations: 0 / 0.5689 GB, free: 8.066 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.711e-05/0.1506, allocations: 15.98 kB / 0.5689 GB, free: 8.051 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.1506, allocations: 0 / 0.5689 GB, free: 8.051 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.1506, allocations: 0 / 0.5689 GB, free: 8.051 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009624/0.1516, allocations: 0.5106 MB / 0.5694 GB, free: 7.523 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.1517, allocations: 128.9 kB / 0.5696 GB, free: 7.379 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.147e-05/0.1518, allocations: 7.938 kB / 0.5696 GB, free: 7.371 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002312/0.152, allocations: 16.05 kB / 0.5696 GB, free: 7.355 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.976e-05/0.1521, allocations: 23.97 kB / 0.5696 GB, free: 7.332 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.107e-05/0.1521, allocations: 7.938 kB / 0.5696 GB, free: 7.324 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000203/0.1523, allocations: 194 kB / 0.5698 GB, free: 7.133 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1523, allocations: 0 / 0.5698 GB, free: 7.133 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003835/0.1527, allocations: 91.84 kB / 0.5699 GB, free: 7.043 MB / 430.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.001293/0.154, allocations: 1.06 MB / 0.5709 GB, free: 5.957 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006726/0.1546, allocations: 259.9 kB / 0.5712 GB, free: 5.703 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.1546, allocations: 4.5 kB / 0.5712 GB, free: 5.699 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002651/0.1549, allocations: 131.8 kB / 0.5713 GB, free: 5.57 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.1553, allocations: 29.11 kB / 0.5713 GB, free: 5.547 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004801/0.1601, allocations: 3.15 MB / 0.5744 GB, free: 2.273 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004492/0.1605, allocations: 0.7835 MB / 0.5752 GB, free: 1.465 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001888/0.1607, allocations: 38.95 kB / 0.5752 GB, free: 1.43 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001962/0.1609, allocations: 111.4 kB / 0.5753 GB, free: 1.32 MB / 430.1 MB Notification: Performance of SimCode: time 9.52e-07/0.1609, allocations: 0 / 0.5753 GB, free: 1.32 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03072/0.1916, allocations: 5.782 MB / 0.581 GB, free: 11.63 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.779/8.971, allocations: 8.625 kB / 0.581 GB, free: 11.62 MB / 446.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: 12.25093843927607] 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'] 9.042220163624734 9.261548668 8.919140431 Calling exit ...