Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.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.0008601/0.0008601, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 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.001584/0.001584, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8553/0.8553, allocations: 158.6 MB / 185 MB, free: 3.023 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1296/0.1296, allocations: 32.37 MB / 269.6 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Force",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Force",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 406.8 MB, free: 2.273 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.943e-05/2.125e-05, allocations: 9.875 kB / 406.8 MB, free: 2.266 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.002717/0.002738, allocations: 2.77 MB / 409.6 MB, free: 15.48 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.003861, allocations: 0.7488 MB / 410.3 MB, free: 14.72 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001521/0.004013, allocations: 7.938 kB / 410.3 MB, free: 14.71 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001419/0.004155, allocations: 51.39 kB / 410.4 MB, free: 14.66 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001436/0.004298, allocations: 111 kB / 410.5 MB, free: 14.55 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002303/0.004529, allocations: 123.8 kB / 410.6 MB, free: 14.43 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003526/0.004881, allocations: 482.3 kB / 411.1 MB, free: 13.96 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002094/0.005091, allocations: 108.4 kB / 411.2 MB, free: 13.84 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002821/0.005373, allocations: 275.4 kB / 411.5 MB, free: 13.57 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001676/0.00554, allocations: 151.5 kB / 411.6 MB, free: 13.43 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 5.104e-05/0.005591, allocations: 36 kB / 411.6 MB, free: 13.39 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.963e-05/0.005631, allocations: 40 kB / 411.7 MB, free: 13.35 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.652e-05/0.005687, allocations: 95.64 kB / 411.8 MB, free: 13.26 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.00579, allocations: 143.6 kB / 411.9 MB, free: 13.12 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003371/0.006127, allocations: 482.4 kB / 412.4 MB, free: 12.64 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.006129, allocations: 4 kB / 412.4 MB, free: 12.64 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.00613, allocations: 0 / 412.4 MB, free: 12.64 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.006135, allocations: 0 / 412.4 MB, free: 12.64 MB / 394.7 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.0008302/0.006966, allocations: 0.634 MB / 413 MB, free: 11.98 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.007005, allocations: 12.03 kB / 413 MB, free: 11.96 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.056e-05/0.007065, allocations: 74.72 kB / 413.1 MB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.734e-05/0.007123, allocations: 52.66 kB / 413.2 MB, free: 11.83 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/0.007391, allocations: 220.9 kB / 413.4 MB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.007413, allocations: 37.3 kB / 413.4 MB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.242e-05/0.007455, allocations: 40.36 kB / 413.5 MB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004052/0.00786, allocations: 343 kB / 413.8 MB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.007873, allocations: 192 / 413.8 MB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.457e-05/0.007898, allocations: 20.12 kB / 413.8 MB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.007906, allocations: 8 kB / 413.8 MB, free: 11.15 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003799/0.008285, allocations: 303.8 kB / 414.1 MB, free: 10.85 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001352/0.009637, allocations: 1.207 MB / 415.3 MB, free: 9.555 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003242/0.009961, allocations: 253.4 kB / 415.6 MB, free: 9.301 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001785/0.01014, allocations: 145.3 kB / 415.7 MB, free: 9.156 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.01016, allocations: 288 / 415.7 MB, free: 9.156 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.01018, allocations: 42.78 kB / 415.8 MB, free: 9.105 MB / 394.7 MB Notification: Performance of pre-optimization done (n=34): time 1.152e-06/0.01019, allocations: 0 / 415.8 MB, free: 9.105 MB / 394.7 MB Notification: Performance of matching and sorting (n=34): time 0.0005337/0.01072, allocations: 382.6 kB / 416.1 MB, free: 8.727 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.01076, allocations: 55.41 kB / 416.2 MB, free: 8.66 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002119/0.01097, allocations: 265.8 kB / 416.4 MB, free: 8.387 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.01099, allocations: 29.7 kB / 416.5 MB, free: 8.352 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.0111, allocations: 212.3 kB / 416.7 MB, free: 8.137 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.163e-05/0.01116, allocations: 119 kB / 416.8 MB, free: 8.02 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.432e-05/0.01123, allocations: 74.12 kB / 416.9 MB, free: 7.941 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.558e-05/0.01133, allocations: 338.8 kB / 417.2 MB, free: 7.602 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.01148, allocations: 112.9 kB / 417.3 MB, free: 7.488 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001723/0.01165, allocations: 180 kB / 417.5 MB, free: 7.293 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003179/0.01197, allocations: 288.7 kB / 417.8 MB, free: 6.988 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.01197, allocations: 0 / 417.8 MB, free: 6.988 MB / 394.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004042/0.01237, allocations: 370.3 kB / 418.1 MB, free: 6.621 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.01239, allocations: 8 kB / 418.1 MB, free: 6.613 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.01239, allocations: 0 / 418.1 MB, free: 6.613 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.0124, allocations: 12.2 kB / 418.1 MB, free: 6.602 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002462/0.01265, allocations: 103.9 kB / 418.2 MB, free: 6.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.01266, allocations: 7.938 kB / 418.3 MB, free: 6.492 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.01278, allocations: 43.66 kB / 418.3 MB, free: 6.449 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.01279, allocations: 15.98 kB / 418.3 MB, free: 6.434 MB / 394.7 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.0001043/0.0129, allocations: 145.8 kB / 418.5 MB, free: 6.281 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.416e-05/0.01293, allocations: 35.75 kB / 418.5 MB, free: 6.246 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003875/0.01332, allocations: 328.2 kB / 418.8 MB, free: 5.922 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.01332, allocations: 4 kB / 418.8 MB, free: 5.918 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.01333, allocations: 3.938 kB / 418.8 MB, free: 5.914 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.01333, allocations: 3.938 kB / 418.8 MB, free: 5.91 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002899/0.01362, allocations: 332.4 kB / 419.1 MB, free: 5.543 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.01362, allocations: 3.938 kB / 419.2 MB, free: 5.539 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002022/0.01382, allocations: 79.94 kB / 419.2 MB, free: 5.461 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.01383, allocations: 3.938 kB / 419.2 MB, free: 5.457 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.01384, allocations: 8 kB / 419.2 MB, free: 5.449 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.01385, allocations: 3.984 kB / 419.2 MB, free: 5.445 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01385, allocations: 7.938 kB / 419.3 MB, free: 5.438 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005468/0.01439, allocations: 0.5104 MB / 419.8 MB, free: 4.91 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.149e-05/0.01447, allocations: 51.69 kB / 419.8 MB, free: 4.859 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.01449, allocations: 7.938 kB / 419.8 MB, free: 4.852 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.01459, allocations: 19.98 kB / 419.8 MB, free: 4.832 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.786e-05/0.01464, allocations: 15.97 kB / 419.9 MB, free: 4.816 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.01465, allocations: 11.98 kB / 419.9 MB, free: 4.805 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001213/0.01477, allocations: 189.3 kB / 420.1 MB, free: 4.621 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01477, allocations: 0 / 420.1 MB, free: 4.621 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002283/0.015, allocations: 95.84 kB / 420.1 MB, free: 4.527 MB / 394.7 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.0006858/0.01569, allocations: 1.06 MB / 421.2 MB, free: 3.441 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003438/0.01603, allocations: 263.9 kB / 421.5 MB, free: 3.184 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.01603, allocations: 0 / 421.5 MB, free: 3.184 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.01618, allocations: 123.8 kB / 421.6 MB, free: 3.062 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.01643, allocations: 36.42 kB / 421.6 MB, free: 3.023 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002708/0.01914, allocations: 3.084 MB / 424.7 MB, free: 15.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.01926, allocations: 185.3 kB / 424.9 MB, free: 15.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001109/0.01937, allocations: 38.94 kB / 424.9 MB, free: 15.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.0195, allocations: 108.5 kB / 425 MB, free: 15.47 MB / 410.7 MB Notification: Performance of SimCode: time 6.41e-07/0.0195, allocations: 0 / 425 MB, free: 15.47 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01625/0.03575, allocations: 6.525 MB / 431.6 MB, free: 8.926 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.014/7.05, allocations: 15.38 kB / 431.6 MB, free: 8.914 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.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_3_2_3_ModelicaTest_FluxTubes_Shapes_Force.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/Force/Force.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.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_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.csv. Warning: Get data of variable hollowCylinderAxialFlux.F_m from file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.csv failed! Error: Could not read variable cuboidParallelFlux.F_m in file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.csv. Warning: Get data of variable cuboidParallelFlux.F_m from file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.csv failed! Error: Could not read variable cuboidOrthogonalFlux.F_m in file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.csv. Warning: Get data of variable cuboidOrthogonalFlux.F_m from file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.csv failed! Error: Could not read variable hollowCylinderRadialFlux.F_m in file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.csv. Warning: Get data of variable hollowCylinderRadialFlux.F_m from file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.csv failed! Error: Could not read variable leakageAroundPoles.F_m in file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.csv. Warning: Get data of variable leakageAroundPoles.F_m from file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.054474976845086]