Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.00105/0.00105, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001213/0.001213, allocations: 170 kB / 23.95 MB, free: 0.6133 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.9323/0.9323, allocations: 177.1 MB / 204.3 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2629/0.2629, allocations: 32.79 MB / 293.5 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_Force",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_Force",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.063e-06/2.063e-06, allocations: 0 / 439.6 MB, free: 4.273 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.31e-05/2.517e-05, allocations: 8.891 kB / 439.6 MB, free: 4.266 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.003429/0.003454, allocations: 2.802 MB / 442.4 MB, free: 1.445 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001249/0.004704, allocations: 0.7439 MB / 443.1 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001567/0.004861, allocations: 11.94 kB / 443.1 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001431/0.005004, allocations: 59.38 kB / 443.2 MB, free: 0.625 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001583/0.005162, allocations: 111 kB / 443.3 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002881/0.00545, allocations: 119.8 kB / 443.4 MB, free: 408 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1918/0.1972, allocations: 480.3 kB / 443.9 MB, free: 43.37 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003151/0.1975, allocations: 103.7 kB / 444 MB, free: 43.36 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004973/0.198, allocations: 278.7 kB / 444.3 MB, free: 43.36 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.1982, allocations: 157.3 kB / 444.4 MB, free: 43.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.629e-05/0.1982, allocations: 40.84 kB / 444.5 MB, free: 43.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.358e-05/0.1983, allocations: 44.64 kB / 444.5 MB, free: 43.36 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.269e-05/0.1983, allocations: 89.44 kB / 444.6 MB, free: 43.36 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.37e-05/0.1984, allocations: 143.1 kB / 444.7 MB, free: 43.36 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000359/0.1988, allocations: 487.4 kB / 445.2 MB, free: 43.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1988, allocations: 0 / 445.2 MB, free: 43.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1988, allocations: 0 / 445.2 MB, free: 43.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.1988, allocations: 1.406 kB / 445.2 MB, free: 43.34 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.0008359/0.1996, allocations: 0.6348 MB / 445.8 MB, free: 42.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.1997, allocations: 11.16 kB / 445.9 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.067e-05/0.1997, allocations: 78.09 kB / 445.9 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001725/0.1999, allocations: 58.69 kB / 446 MB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003773/0.2003, allocations: 229.6 kB / 446.2 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/0.2003, allocations: 27.25 kB / 446.2 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.937e-05/0.2004, allocations: 44.89 kB / 446.3 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003802/0.2007, allocations: 339.2 kB / 446.6 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.2008, allocations: 1.688 kB / 446.6 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/0.2008, allocations: 19.62 kB / 446.6 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.2008, allocations: 12.72 kB / 446.6 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003586/0.2011, allocations: 307.7 kB / 446.9 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/0.2024, allocations: 1.197 MB / 448.1 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003245/0.2027, allocations: 263.7 kB / 448.4 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/0.2029, allocations: 138.7 kB / 448.5 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.2029, allocations: 6.453 kB / 448.5 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.767e-05/0.2029, allocations: 41.62 kB / 448.6 MB, free: 41.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.363e-06/0.2029, allocations: 4 kB / 448.6 MB, free: 41.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0004966/0.2034, allocations: 371.8 kB / 448.9 MB, free: 41.74 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.2035, allocations: 58.25 kB / 449 MB, free: 41.67 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.2036, allocations: 269.7 kB / 449.3 MB, free: 41.51 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.2036, allocations: 32.64 kB / 449.3 MB, free: 41.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.351e-05/0.2037, allocations: 213.4 kB / 449.5 MB, free: 41.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.116e-05/0.2037, allocations: 118.7 kB / 449.6 MB, free: 41.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.581e-05/0.2038, allocations: 73.41 kB / 449.7 MB, free: 41.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.193e-05/0.2038, allocations: 344.4 kB / 450 MB, free: 40.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.204, allocations: 101.2 kB / 450.1 MB, free: 40.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.2041, allocations: 173.1 kB / 450.3 MB, free: 40.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002708/0.2044, allocations: 292.5 kB / 450.6 MB, free: 40.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.2044, allocations: 0 / 450.6 MB, free: 40.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003512/0.2047, allocations: 367.2 kB / 450.9 MB, free: 40.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.2048, allocations: 12.28 kB / 451 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2048, allocations: 7.188 kB / 451 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.2048, allocations: 6.312 kB / 451 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002518/0.205, allocations: 103.3 kB / 451.1 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.205, allocations: 6.062 kB / 451.1 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.2051, allocations: 45.42 kB / 451.1 MB, free: 40.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.2052, allocations: 12.62 kB / 451.1 MB, free: 40.34 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 8.671e-05/0.2052, allocations: 147.3 kB / 451.3 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.795e-05/0.2053, allocations: 37.17 kB / 451.3 MB, free: 40.19 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003722/0.2056, allocations: 326.9 kB / 451.6 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.2057, allocations: 2.906 kB / 451.6 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.2057, allocations: 2.875 kB / 451.6 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.2057, allocations: 3.234 kB / 451.6 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002392/0.2059, allocations: 334 kB / 452 MB, free: 39.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2059, allocations: 0 / 452 MB, free: 39.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000204/0.2061, allocations: 76.67 kB / 452 MB, free: 39.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.2061, allocations: 6.875 kB / 452.1 MB, free: 39.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.2061, allocations: 7.328 kB / 452.1 MB, free: 39.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.2061, allocations: 7 kB / 452.1 MB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2061, allocations: 1.875 kB / 452.1 MB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004922/0.2066, allocations: 0.512 MB / 452.6 MB, free: 39.51 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.432e-05/0.2067, allocations: 54.45 kB / 452.6 MB, free: 39.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/0.2067, allocations: 11.89 kB / 452.6 MB, free: 39.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.213e-05/0.2068, allocations: 13.53 kB / 452.7 MB, free: 39.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.646e-05/0.2069, allocations: 20.47 kB / 452.7 MB, free: 39.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.198e-06/0.2069, allocations: 10.34 kB / 452.7 MB, free: 39.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.708e-05/0.207, allocations: 193.6 kB / 452.9 MB, free: 39.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.207, allocations: 7.062 kB / 452.9 MB, free: 39.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002072/0.2072, allocations: 88.86 kB / 453 MB, free: 39.32 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.0005807/0.2077, allocations: 1.063 MB / 454 MB, free: 38.51 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003157/0.2081, allocations: 255.5 kB / 454.3 MB, free: 38.44 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2081, allocations: 0 / 454.3 MB, free: 38.44 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.2082, allocations: 130.1 kB / 454.4 MB, free: 38.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.2084, allocations: 35.02 kB / 454.4 MB, free: 38.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002285/0.2107, allocations: 3.097 MB / 457.5 MB, free: 36.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.078e-05/0.2108, allocations: 180.4 kB / 457.7 MB, free: 36.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001105/0.2109, allocations: 36.16 kB / 457.8 MB, free: 36.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.211, allocations: 113 kB / 457.9 MB, free: 36.21 MB / 410.7 MB Notification: Performance of SimCode: time 1.172e-06/0.211, allocations: 4 kB / 457.9 MB, free: 36.21 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0218/0.2328, allocations: 6.534 MB / 464.4 MB, free: 34.83 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.03/7.263, allocations: 2.812 kB / 464.4 MB, free: 34.83 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_Force.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Force/Force.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.csv. Warning: Get data of variable hollowCylinderAxialFlux.F_m from file ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.csv failed! Error: Could not read variable cuboidParallelFlux.F_m in file ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.csv. Warning: Get data of variable cuboidParallelFlux.F_m from file ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.csv failed! Error: Could not read variable cuboidOrthogonalFlux.F_m in file ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.csv. Warning: Get data of variable cuboidOrthogonalFlux.F_m from file ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.csv failed! Error: Could not read variable hollowCylinderRadialFlux.F_m in file ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.csv. Warning: Get data of variable hollowCylinderRadialFlux.F_m from file ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.csv failed! Error: Could not read variable leakageAroundPoles.F_m in file ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.csv. Warning: Get data of variable leakageAroundPoles.F_m from file ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.367839961312711]