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.001424/0.001424, allocations: 115 kB / 17.13 MB, free: 5.914 MB / 14.72 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.00156/0.00156, allocations: 211.2 kB / 20.1 MB, free: 2.961 MB / 14.72 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 1.569/1.569, allocations: 207.6 MB / 230.5 MB, free: 4.039 MB / 174.1 MB " [Timeout remaining time 178] 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.384/0.384, allocations: 44.23 MB / 326.6 MB, free: 6.852 MB / 254.1 MB " [Timeout remaining time 179] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00221/0.00221, allocations: 71.89 kB / 462.2 MB, free: 0.9219 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.3003, allocations: 61 MB / 0.5109 GB, free: 13.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.004265/0.3046, allocations: 2.992 MB / 0.5139 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001604/0.3062, allocations: 0.7771 MB / 0.5146 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002822/0.3064, allocations: 10 kB / 0.5146 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002331/0.3067, allocations: 61 kB / 0.5147 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002227/0.3069, allocations: 96.73 kB / 0.5148 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002995/0.3072, allocations: 126.1 kB / 0.5149 GB, free: 9.984 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004356/0.3076, allocations: 475.4 kB / 0.5153 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002322/0.3079, allocations: 108.4 kB / 0.5155 GB, free: 9.625 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002652/0.3081, allocations: 186.8 kB / 0.5156 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002082/0.3083, allocations: 208.9 kB / 0.5158 GB, free: 9.371 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.375e-05/0.3084, allocations: 38.5 kB / 0.5159 GB, free: 9.371 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.008e-05/0.3085, allocations: 39.88 kB / 0.5159 GB, free: 9.371 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.722e-05/0.3085, allocations: 93.23 kB / 0.516 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.3087, allocations: 206.1 kB / 0.5162 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004051/0.3091, allocations: 470.7 kB / 0.5166 GB, free: 8.797 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3091, allocations: 1.375 kB / 0.5166 GB, free: 8.797 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3091, allocations: 0 / 0.5166 GB, free: 8.797 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.3091, allocations: 0 / 0.5166 GB, free: 8.797 MB / 382.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.001277/0.3104, allocations: 0.7082 MB / 0.5173 GB, free: 8.195 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.3104, allocations: 16.67 kB / 0.5173 GB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.472e-05/0.3105, allocations: 79.89 kB / 0.5174 GB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.863e-05/0.3106, allocations: 48.78 kB / 0.5175 GB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000398/0.311, allocations: 287 kB / 0.5177 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/0.311, allocations: 27.75 kB / 0.5178 GB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.039e-05/0.3111, allocations: 37.72 kB / 0.5178 GB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006/0.3117, allocations: 348.7 kB / 0.5181 GB, free: 7.484 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.3117, allocations: 7.938 kB / 0.5181 GB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.435e-05/0.3117, allocations: 16 kB / 0.5182 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.3117, allocations: 8 kB / 0.5182 GB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005706/0.3123, allocations: 299.8 kB / 0.5185 GB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001793/0.3141, allocations: 1.341 MB / 0.5198 GB, free: 5.723 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004207/0.3145, allocations: 252.9 kB / 0.52 GB, free: 5.469 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002425/0.3147, allocations: 137.4 kB / 0.5201 GB, free: 5.332 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.059e-05/0.3148, allocations: 4.281 kB / 0.5201 GB, free: 5.328 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.52e-05/0.3148, allocations: 38.78 kB / 0.5202 GB, free: 5.281 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 2.194e-06/0.3148, allocations: 4 kB / 0.5202 GB, free: 5.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.0007549/0.3156, allocations: 382.6 kB / 0.5205 GB, free: 4.898 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.251e-05/0.3156, allocations: 59.39 kB / 0.5206 GB, free: 4.828 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002317/0.3158, allocations: 266.6 kB / 0.5209 GB, free: 4.559 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.3158, allocations: 33.7 kB / 0.5209 GB, free: 4.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.79e-05/0.3159, allocations: 204.3 kB / 0.5211 GB, free: 4.316 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.79e-05/0.316, allocations: 122.9 kB / 0.5212 GB, free: 4.195 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.474e-05/0.3161, allocations: 70.12 kB / 0.5213 GB, free: 4.121 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.649e-05/0.3161, allocations: 350.7 kB / 0.5216 GB, free: 3.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002172/0.3163, allocations: 96.83 kB / 0.5217 GB, free: 3.676 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002405/0.3166, allocations: 179.4 kB / 0.5219 GB, free: 3.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004398/0.317, allocations: 284.7 kB / 0.5221 GB, free: 3.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.317, allocations: 7.938 kB / 0.5221 GB, free: 3.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000586/0.3176, allocations: 370.3 kB / 0.5225 GB, free: 2.805 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.3176, allocations: 8 kB / 0.5225 GB, free: 2.797 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.3176, allocations: 0 / 0.5225 GB, free: 2.797 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/0.3176, allocations: 4 kB / 0.5225 GB, free: 2.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004701/0.3181, allocations: 112 kB / 0.5226 GB, free: 2.684 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.3181, allocations: 4 kB / 0.5226 GB, free: 2.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002831/0.3184, allocations: 43.66 kB / 0.5227 GB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.567e-05/0.3184, allocations: 16 kB / 0.5227 GB, free: 2.621 MB / 382.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.000124/0.3186, allocations: 149.7 kB / 0.5228 GB, free: 2.465 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.455e-05/0.3186, allocations: 35.8 kB / 0.5229 GB, free: 2.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006318/0.3192, allocations: 328.2 kB / 0.5232 GB, free: 2.102 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.3193, allocations: 4 kB / 0.5232 GB, free: 2.098 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3193, allocations: 0 / 0.5232 GB, free: 2.098 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3193, allocations: 0 / 0.5232 GB, free: 2.098 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004043/0.3197, allocations: 413.1 kB / 0.5236 GB, free: 1.645 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3197, allocations: 0 / 0.5236 GB, free: 1.645 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003885/0.3201, allocations: 79.88 kB / 0.5236 GB, free: 1.566 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.3201, allocations: 0 / 0.5236 GB, free: 1.566 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/0.3201, allocations: 12 kB / 0.5237 GB, free: 1.555 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.3201, allocations: 0 / 0.5237 GB, free: 1.555 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3201, allocations: 7.984 kB / 0.5237 GB, free: 1.547 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007224/0.3208, allocations: 0.5224 MB / 0.5242 GB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.8e-05/0.3209, allocations: 120.9 kB / 0.5243 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.291e-05/0.321, allocations: 8 kB / 0.5243 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002224/0.3212, allocations: 11.98 kB / 0.5243 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.016e-05/0.3212, allocations: 28.03 kB / 0.5243 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.3213, allocations: 8 kB / 0.5243 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001463/0.3214, allocations: 190 kB / 0.5245 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3214, allocations: 4 kB / 0.5245 GB, free: 0.625 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003488/0.3218, allocations: 83.89 kB / 0.5246 GB, free: 0.543 MB / 382.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.001082/0.3228, allocations: 1.067 MB / 0.5256 GB, free: 15.45 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006583/0.3235, allocations: 255.6 kB / 0.5259 GB, free: 15.2 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3235, allocations: 0 / 0.5259 GB, free: 15.2 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002773/0.3238, allocations: 124.9 kB / 0.526 GB, free: 15.08 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/0.3242, allocations: 48.42 kB / 0.5261 GB, free: 15.03 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004763/0.3289, allocations: 3.148 MB / 0.5291 GB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004368/0.3294, allocations: 0.7835 MB / 0.5299 GB, free: 10.94 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001876/0.3295, allocations: 38.95 kB / 0.5299 GB, free: 10.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002033/0.3297, allocations: 111.4 kB / 0.53 GB, free: 10.8 MB / 398.1 MB Notification: Performance of SimCode: time 1.222e-06/0.3297, allocations: 0 / 0.53 GB, free: 10.8 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03249/0.3622, allocations: 5.756 MB / 0.5357 GB, free: 5.035 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.805/9.167, allocations: 9.688 kB / 0.5357 GB, free: 5.027 MB / 398.1 MB " [Timeout remaining time 651] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/Force/Force.csv","/var/lib/jenkins1/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: 12.2726184810017]