Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001344/0.001344, allocations: 123.4 kB / 17.79 MB, free: 5.359 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.001402/0.001402, allocations: 215.5 kB / 20.75 MB, free: 2.402 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.492/1.492, allocations: 230.4 MB / 254 MB, free: 15.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2288/0.2288, allocations: 46.93 MB / 357 MB, free: 10.21 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_Force",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_Force",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002378/0.002378, allocations: 75.89 kB / 0.491 GB, free: 7.762 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1213, allocations: 66.05 MB / 0.5555 GB, free: 5.582 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.00474/0.1261, allocations: 3.034 MB / 0.5584 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001786/0.1278, allocations: 0.7751 MB / 0.5592 GB, free: 1.746 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000214/0.1281, allocations: 7.938 kB / 0.5592 GB, free: 1.738 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002092/0.1283, allocations: 63.38 kB / 0.5592 GB, free: 1.676 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00027/0.1285, allocations: 99.11 kB / 0.5593 GB, free: 1.578 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003458/0.1289, allocations: 115.8 kB / 0.5594 GB, free: 1.465 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000613/0.1295, allocations: 474.6 kB / 0.5599 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002797/0.1298, allocations: 120 kB / 0.56 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003683/0.1301, allocations: 195.3 kB / 0.5602 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003126/0.1305, allocations: 207.1 kB / 0.5604 GB, free: 488 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.986e-05/0.1305, allocations: 40 kB / 0.5604 GB, free: 448 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.1306, allocations: 44 kB / 0.5605 GB, free: 404 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.87e-05/0.1307, allocations: 95.61 kB / 0.5606 GB, free: 308 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002127/0.1309, allocations: 199 kB / 0.5608 GB, free: 108 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000655/0.1316, allocations: 474.1 kB / 0.5612 GB, free: 15.64 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1316, allocations: 0 / 0.5612 GB, free: 15.64 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1316, allocations: 0 / 0.5612 GB, free: 15.64 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.1316, allocations: 3.938 kB / 0.5612 GB, free: 15.63 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.001586/0.1332, allocations: 0.7132 MB / 0.5619 GB, free: 14.87 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/0.1333, allocations: 8.031 kB / 0.5619 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001009/0.1334, allocations: 78.7 kB / 0.562 GB, free: 14.78 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002656/0.1336, allocations: 56.64 kB / 0.5621 GB, free: 14.72 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005058/0.1341, allocations: 299.3 kB / 0.5623 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.447e-05/0.1342, allocations: 33.38 kB / 0.5624 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.972e-05/0.1342, allocations: 36.38 kB / 0.5624 GB, free: 14.33 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007163/0.1349, allocations: 338.6 kB / 0.5627 GB, free: 13.99 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.135, allocations: 4 kB / 0.5627 GB, free: 13.99 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.876e-05/0.135, allocations: 12 kB / 0.5627 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/0.135, allocations: 15.98 kB / 0.5628 GB, free: 13.96 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006799/0.1357, allocations: 303.8 kB / 0.563 GB, free: 13.66 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002501/0.1382, allocations: 1.337 MB / 0.5644 GB, free: 12.23 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005347/0.1387, allocations: 252.9 kB / 0.5646 GB, free: 11.97 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003039/0.139, allocations: 141.4 kB / 0.5647 GB, free: 11.83 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.408e-05/0.1391, allocations: 8.219 kB / 0.5647 GB, free: 11.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.1391, allocations: 38.84 kB / 0.5648 GB, free: 11.78 MB / 430.1 MB Notification: Performance of pre-optimization done (n=34): time 1.763e-06/0.1391, allocations: 0 / 0.5648 GB, free: 11.78 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009075/0.14, allocations: 372.1 kB / 0.5651 GB, free: 11.41 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.1401, allocations: 59.34 kB / 0.5652 GB, free: 11.34 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003231/0.1404, allocations: 270.7 kB / 0.5654 GB, free: 11.07 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.475e-05/0.1404, allocations: 29.7 kB / 0.5655 GB, free: 11.04 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/0.1406, allocations: 212.2 kB / 0.5657 GB, free: 10.82 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/0.1407, allocations: 119 kB / 0.5658 GB, free: 10.71 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.1408, allocations: 70.08 kB / 0.5659 GB, free: 10.63 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.141, allocations: 338.8 kB / 0.5662 GB, free: 10.29 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002848/0.1413, allocations: 104.8 kB / 0.5663 GB, free: 10.19 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003279/0.1416, allocations: 175.4 kB / 0.5664 GB, free: 9.992 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005922/0.1422, allocations: 292.6 kB / 0.5667 GB, free: 9.684 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/0.1422, allocations: 11.88 kB / 0.5667 GB, free: 9.672 MB / 430.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007591/0.143, allocations: 366.5 kB / 0.5671 GB, free: 9.309 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.143, allocations: 4 kB / 0.5671 GB, free: 9.305 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.143, allocations: 4 kB / 0.5671 GB, free: 9.301 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.143, allocations: 4 kB / 0.5671 GB, free: 9.297 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005142/0.1435, allocations: 99.8 kB / 0.5672 GB, free: 9.199 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.1435, allocations: 4 kB / 0.5672 GB, free: 9.195 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002933/0.1438, allocations: 47.88 kB / 0.5672 GB, free: 9.148 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.114e-05/0.1439, allocations: 20 kB / 0.5673 GB, free: 9.129 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.0001851/0.1441, allocations: 149.7 kB / 0.5674 GB, free: 8.973 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.544e-05/0.1441, allocations: 27.81 kB / 0.5674 GB, free: 8.945 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000815/0.1449, allocations: 332.1 kB / 0.5677 GB, free: 8.609 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.1449, allocations: 7.938 kB / 0.5678 GB, free: 8.602 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1449, allocations: 0 / 0.5678 GB, free: 8.602 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.145, allocations: 4 kB / 0.5678 GB, free: 8.598 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005435/0.1455, allocations: 413.1 kB / 0.5681 GB, free: 8.145 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.1455, allocations: 0 / 0.5681 GB, free: 8.145 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004442/0.1459, allocations: 83.89 kB / 0.5682 GB, free: 8.062 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.1459, allocations: 4 kB / 0.5682 GB, free: 8.059 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.578e-05/0.146, allocations: 7.984 kB / 0.5682 GB, free: 8.051 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.146, allocations: 4 kB / 0.5682 GB, free: 8.047 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.146, allocations: 3.984 kB / 0.5682 GB, free: 8.043 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009782/0.147, allocations: 0.5106 MB / 0.5687 GB, free: 7.516 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/0.1471, allocations: 128.9 kB / 0.5689 GB, free: 7.371 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.297e-05/0.1472, allocations: 4 kB / 0.5689 GB, free: 7.367 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002375/0.1474, allocations: 19.98 kB / 0.5689 GB, free: 7.348 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.37e-05/0.1475, allocations: 19.97 kB / 0.5689 GB, free: 7.328 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.336e-05/0.1475, allocations: 11.94 kB / 0.5689 GB, free: 7.316 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002196/0.1477, allocations: 198 kB / 0.5691 GB, free: 7.121 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1477, allocations: 0 / 0.5691 GB, free: 7.121 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003846/0.1481, allocations: 95.84 kB / 0.5692 GB, free: 7.027 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.001286/0.1494, allocations: 1.056 MB / 0.5702 GB, free: 5.945 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006255/0.15, allocations: 259.9 kB / 0.5705 GB, free: 5.691 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.15, allocations: 0 / 0.5705 GB, free: 5.691 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002744/0.1503, allocations: 127.8 kB / 0.5706 GB, free: 5.566 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.1506, allocations: 26.55 kB / 0.5706 GB, free: 5.543 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004682/0.1553, allocations: 3.152 MB / 0.5737 GB, free: 2.266 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004612/0.1558, allocations: 0.7874 MB / 0.5745 GB, free: 1.453 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001965/0.156, allocations: 34.94 kB / 0.5745 GB, free: 1.422 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002028/0.1562, allocations: 119.3 kB / 0.5746 GB, free: 1.305 MB / 430.1 MB Notification: Performance of SimCode: time 1.152e-06/0.1562, allocations: 0 / 0.5746 GB, free: 1.305 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02985/0.186, allocations: 5.766 MB / 0.5803 GB, free: 11.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.698/8.884, allocations: 12.67 kB / 0.5803 GB, free: 11.62 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_Force.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Force/Force.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable hollowCylinderAxialFlux.F_m in file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.csv. Warning: Get data of variable hollowCylinderAxialFlux.F_m from file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.csv failed! Error: Could not read variable cuboidParallelFlux.F_m in file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.csv. Warning: Get data of variable cuboidParallelFlux.F_m from file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.csv failed! Error: Could not read variable cuboidOrthogonalFlux.F_m in file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.csv. Warning: Get data of variable cuboidOrthogonalFlux.F_m from file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.csv failed! Error: Could not read variable hollowCylinderRadialFlux.F_m in file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.csv. Warning: Get data of variable hollowCylinderRadialFlux.F_m from file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.csv failed! Error: Could not read variable leakageAroundPoles.F_m in file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.csv. Warning: Get data of variable leakageAroundPoles.F_m from file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.058278296026401]