Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.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.0007966/0.0007966, allocations: 79.7 kB / 20.67 MB, free: 3.895 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.0008523/0.0008523, allocations: 170 kB / 23.95 MB, free: 0.6172 MB / 18.57 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 0.897/0.897, allocations: 177.1 MB / 204.3 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.2551/0.2551, allocations: 34.25 MB / 294.9 MB, free: 0.7148 MB / 266.7 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.Magnetic.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_Shapes_Force",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_Shapes_Force",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 442.2 MB, free: 1.684 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.601e-05/1.799e-05, allocations: 8.328 kB / 442.2 MB, free: 1.676 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.195/0.1951, allocations: 2.803 MB / 445 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001007/0.1961, allocations: 0.7386 MB / 445.7 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.1962, allocations: 9.375 kB / 445.7 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001239/0.1963, allocations: 61.62 kB / 445.8 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001216/0.1964, allocations: 108.1 kB / 445.9 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002138/0.1967, allocations: 124.1 kB / 446 MB, free: 42.63 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002562/0.1969, allocations: 482.5 kB / 446.5 MB, free: 42.51 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.1971, allocations: 108 kB / 446.6 MB, free: 42.46 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002206/0.1973, allocations: 276.6 kB / 446.9 MB, free: 42.35 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.1974, allocations: 154.5 kB / 447 MB, free: 42.3 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.901e-05/0.1974, allocations: 44.78 kB / 447.1 MB, free: 42.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.333e-05/0.1975, allocations: 41.09 kB / 447.1 MB, free: 42.3 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.423e-05/0.1975, allocations: 91.64 kB / 447.2 MB, free: 42.23 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.876e-05/0.1976, allocations: 143.5 kB / 447.3 MB, free: 42.17 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002991/0.1979, allocations: 485.2 kB / 447.8 MB, free: 42 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.1979, allocations: 3.234 kB / 447.8 MB, free: 42 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.1979, allocations: 0 / 447.8 MB, free: 42 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.1979, allocations: 0.5 kB / 447.8 MB, free: 42 MB / 410.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.0007563/0.1987, allocations: 0.6325 MB / 448.4 MB, free: 41.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.1987, allocations: 8.438 kB / 448.4 MB, free: 41.54 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.791e-05/0.1988, allocations: 75.53 kB / 448.5 MB, free: 41.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001632/0.1989, allocations: 59.64 kB / 448.6 MB, free: 41.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003613/0.1993, allocations: 240.5 kB / 448.8 MB, free: 41.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.026e-05/0.1993, allocations: 27.53 kB / 448.8 MB, free: 41.24 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.046e-05/0.1994, allocations: 41.72 kB / 448.9 MB, free: 41.22 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004024/0.1998, allocations: 350.1 kB / 449.2 MB, free: 41.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.1998, allocations: 192 / 449.2 MB, free: 41.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.872e-05/0.1998, allocations: 18.97 kB / 449.2 MB, free: 41.06 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.966e-06/0.1998, allocations: 8.375 kB / 449.2 MB, free: 41.06 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003551/0.2002, allocations: 300.7 kB / 449.5 MB, free: 40.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001128/0.2013, allocations: 1.21 MB / 450.7 MB, free: 40.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003186/0.2016, allocations: 261.7 kB / 451 MB, free: 40.03 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001783/0.2018, allocations: 138.9 kB / 451.1 MB, free: 39.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.2018, allocations: 3.219 kB / 451.1 MB, free: 39.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.2019, allocations: 41.75 kB / 451.2 MB, free: 39.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.793e-06/0.2019, allocations: 0 / 451.2 MB, free: 39.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0004736/0.2023, allocations: 375.5 kB / 451.5 MB, free: 39.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.284e-05/0.2024, allocations: 58.16 kB / 451.6 MB, free: 39.72 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.2025, allocations: 269.2 kB / 451.9 MB, free: 39.56 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.2025, allocations: 32.45 kB / 451.9 MB, free: 39.53 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.119e-05/0.2026, allocations: 204.5 kB / 452.1 MB, free: 39.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.906e-05/0.2026, allocations: 128.9 kB / 452.2 MB, free: 39.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.087e-05/0.2027, allocations: 68.53 kB / 452.3 MB, free: 39.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.824e-05/0.2027, allocations: 335 kB / 452.6 MB, free: 38.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.2029, allocations: 103.9 kB / 452.7 MB, free: 38.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.203, allocations: 171.1 kB / 452.9 MB, free: 38.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002833/0.2033, allocations: 292.6 kB / 453.2 MB, free: 38.58 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2033, allocations: 0 / 453.2 MB, free: 38.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003653/0.2037, allocations: 376.4 kB / 453.5 MB, free: 38.42 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.2037, allocations: 4.562 kB / 453.5 MB, free: 38.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.2037, allocations: 2.344 kB / 453.5 MB, free: 38.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.2037, allocations: 5.406 kB / 453.6 MB, free: 38.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/0.2039, allocations: 105.1 kB / 453.7 MB, free: 38.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.2039, allocations: 5.25 kB / 453.7 MB, free: 38.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.204, allocations: 52.02 kB / 453.7 MB, free: 38.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.2041, allocations: 16.47 kB / 453.7 MB, free: 38.36 MB / 410.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 9.207e-05/0.2042, allocations: 144 kB / 453.9 MB, free: 38.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.983e-05/0.2042, allocations: 34.16 kB / 453.9 MB, free: 38.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003698/0.2046, allocations: 330 kB / 454.2 MB, free: 38.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.2046, allocations: 2.969 kB / 454.2 MB, free: 38.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.2046, allocations: 0 / 454.2 MB, free: 38.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.2046, allocations: 0 / 454.2 MB, free: 38.06 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002425/0.2048, allocations: 331.4 kB / 454.6 MB, free: 37.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.2048, allocations: 4 kB / 454.6 MB, free: 37.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001874/0.205, allocations: 81.2 kB / 454.6 MB, free: 37.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.205, allocations: 6.781 kB / 454.6 MB, free: 37.81 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.205, allocations: 10.72 kB / 454.7 MB, free: 37.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.205, allocations: 2.875 kB / 454.7 MB, free: 37.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.205, allocations: 0 / 454.7 MB, free: 37.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004642/0.2055, allocations: 0.5143 MB / 455.2 MB, free: 37.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.921e-05/0.2056, allocations: 62.09 kB / 455.2 MB, free: 37.47 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.113e-05/0.2056, allocations: 6.844 kB / 455.2 MB, free: 37.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.505e-05/0.2057, allocations: 13.12 kB / 455.2 MB, free: 37.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.2057, allocations: 23.72 kB / 455.3 MB, free: 37.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.888e-06/0.2057, allocations: 12.22 kB / 455.3 MB, free: 37.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.929e-05/0.2058, allocations: 189.9 kB / 455.5 MB, free: 37.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2058, allocations: 0 / 455.5 MB, free: 37.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002086/0.206, allocations: 86.39 kB / 455.6 MB, free: 37.33 MB / 410.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.0005398/0.2066, allocations: 1.06 MB / 456.6 MB, free: 36.51 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003044/0.2069, allocations: 262 kB / 456.9 MB, free: 36.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.2069, allocations: 0 / 456.9 MB, free: 36.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.207, allocations: 128.9 kB / 457 MB, free: 36.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.2072, allocations: 40 kB / 457 MB, free: 36.37 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002194/0.2094, allocations: 3.081 MB / 460.1 MB, free: 34.35 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.379e-05/0.2095, allocations: 183.9 kB / 460.3 MB, free: 34.26 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001051/0.2096, allocations: 38.23 kB / 460.3 MB, free: 34.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.2097, allocations: 115.2 kB / 460.4 MB, free: 34.16 MB / 410.7 MB Notification: Performance of SimCode: time 6.51e-07/0.2097, allocations: 0 / 460.4 MB, free: 34.16 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01893/0.2287, allocations: 6.533 MB / 467 MB, free: 32.79 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.072/7.301, allocations: 7.125 kB / 467 MB, free: 32.79 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_ModelicaTest_Magnetic_FluxTubes_Shapes_Force.fmu > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Force/Force.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.csv. Warning: Get data of variable hollowCylinderAxialFlux.F_m from file ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.csv failed! Error: Could not read variable cuboidParallelFlux.F_m in file ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.csv. Warning: Get data of variable cuboidParallelFlux.F_m from file ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.csv failed! Error: Could not read variable cuboidOrthogonalFlux.F_m in file ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.csv. Warning: Get data of variable cuboidOrthogonalFlux.F_m from file ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.csv failed! Error: Could not read variable hollowCylinderRadialFlux.F_m in file ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.csv. Warning: Get data of variable hollowCylinderRadialFlux.F_m from file ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.csv failed! Error: Could not read variable leakageAroundPoles.F_m in file ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.csv. Warning: Get data of variable leakageAroundPoles.F_m from file ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.353237596340477]