Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001711/0.001711, allocations: 108 kB / 16.92 MB, free: 5.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001903/0.001903, allocations: 189.6 kB / 17.85 MB, free: 5.172 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.228/2.228, allocations: 222.9 MB / 241.5 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002383/0.002383, allocations: 45.81 kB / 300.7 MB, free: 5.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1805, allocations: 49.45 MB / 350.2 MB, free: 4.293 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.007985/0.1886, allocations: 4.567 MB / 354.7 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003782/0.1924, allocations: 1.8 MB / 356.5 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007627/0.1932, allocations: 12 kB / 356.6 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.1942, allocations: 422.2 kB / 357 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001203/0.1955, allocations: 417.7 kB / 357.4 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008903/0.1964, allocations: 326.4 kB / 357.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001312/0.1977, allocations: 1.016 MB / 358.7 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004615/0.1982, allocations: 302.8 kB / 359 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004605/0.1987, allocations: 406.7 kB / 359.4 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005674/0.1992, allocations: 0.5061 MB / 359.9 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001258/0.1994, allocations: 96 kB / 360 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002506/0.1996, allocations: 132 kB / 360.1 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002216/0.1999, allocations: 231.2 kB / 360.4 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004108/0.2003, allocations: 453.6 kB / 360.8 MB, free: 9.613 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001195/0.2015, allocations: 1.258 MB / 362.1 MB, free: 8.352 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.2015, allocations: 0 / 362.1 MB, free: 8.352 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.2015, allocations: 0 / 362.1 MB, free: 8.352 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.2015, allocations: 0 / 362.1 MB, free: 8.352 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002474/0.204, allocations: 1.199 MB / 363.3 MB, free: 7.098 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.864e-05/0.2041, allocations: 15.89 kB / 363.3 MB, free: 7.082 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001343/0.2042, allocations: 110.6 kB / 363.4 MB, free: 6.965 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.2044, allocations: 91.81 kB / 363.5 MB, free: 6.875 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009113/0.2053, allocations: 0.5551 MB / 364 MB, free: 6.281 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/0.2054, allocations: 53.61 kB / 364.1 MB, free: 6.23 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.676e-05/0.2055, allocations: 56 kB / 364.1 MB, free: 6.176 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/0.2069, allocations: 0.6518 MB / 364.8 MB, free: 5.508 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/0.2069, allocations: 0 / 364.8 MB, free: 5.508 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.747e-05/0.207, allocations: 28 kB / 364.8 MB, free: 5.48 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.207, allocations: 16 kB / 364.8 MB, free: 5.465 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001349/0.2083, allocations: 0.5555 MB / 365.4 MB, free: 4.91 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004096/0.2125, allocations: 2.548 MB / 367.9 MB, free: 2.215 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.2135, allocations: 478.9 kB / 368.4 MB, free: 1.742 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007325/0.2143, allocations: 301 kB / 368.7 MB, free: 1.449 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.057e-05/0.2143, allocations: 12.44 kB / 368.7 MB, free: 1.438 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.152e-05/0.2144, allocations: 35 kB / 368.7 MB, free: 1.395 MB / 302.1 MB Notification: Performance of pre-optimization done (n=48): time 3.366e-06/0.2144, allocations: 4 kB / 368.7 MB, free: 1.391 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.2724/0.4868, allocations: 1.48 MB / 370.2 MB, free: 25.17 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.4869, allocations: 57.81 kB / 370.3 MB, free: 25.11 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001658/0.4886, allocations: 0.9462 MB / 371.2 MB, free: 24.98 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001117/0.4887, allocations: 34.39 kB / 371.3 MB, free: 24.95 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003129/0.489, allocations: 402.4 kB / 371.7 MB, free: 24.87 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/0.4892, allocations: 205.5 kB / 371.9 MB, free: 24.8 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002198/0.4895, allocations: 126 kB / 372 MB, free: 24.78 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.164e-05/0.4896, allocations: 329.8 kB / 372.3 MB, free: 24.46 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007288/0.4903, allocations: 244 kB / 372.5 MB, free: 24.38 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007455/0.491, allocations: 348.6 kB / 372.9 MB, free: 24.2 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001408/0.4925, allocations: 0.5677 MB / 373.4 MB, free: 23.91 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.4925, allocations: 4.219 kB / 373.4 MB, free: 23.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00188/0.4944, allocations: 0.7332 MB / 374.2 MB, free: 23.62 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.4944, allocations: 5.906 kB / 374.2 MB, free: 23.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.4944, allocations: 2.562 kB / 374.2 MB, free: 23.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.491e-05/0.4945, allocations: 8.531 kB / 374.2 MB, free: 23.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008315/0.4953, allocations: 178.4 kB / 374.4 MB, free: 23.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.534e-05/0.4953, allocations: 12.91 kB / 374.4 MB, free: 23.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005666/0.4959, allocations: 39.2 kB / 374.4 MB, free: 23.6 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.007e-05/0.496, allocations: 26 kB / 374.4 MB, free: 23.59 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMin.contact,actuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * 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.0003579/0.4963, allocations: 264.8 kB / 374.7 MB, free: 23.41 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.4965, allocations: 78.44 kB / 374.8 MB, free: 23.37 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001597/0.4981, allocations: 0.6389 MB / 375.4 MB, free: 23.11 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.4981, allocations: 6.875 kB / 375.4 MB, free: 23.11 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.4981, allocations: 0.6562 kB / 375.4 MB, free: 23.11 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/0.4981, allocations: 4 kB / 375.4 MB, free: 23.11 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003343/0.5015, allocations: 1.816 MB / 377.3 MB, free: 22.03 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/0.5015, allocations: 2.5 kB / 377.3 MB, free: 22.03 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006066/0.5021, allocations: 136.3 kB / 377.4 MB, free: 22.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.299e-05/0.5021, allocations: 5.625 kB / 377.4 MB, free: 22.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.454e-05/0.5022, allocations: 18.44 kB / 377.4 MB, free: 22.01 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.285e-06/0.5022, allocations: 7.828 kB / 377.4 MB, free: 22.01 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.5022, allocations: 8.078 kB / 377.4 MB, free: 22 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001401/0.5036, allocations: 0.7368 MB / 378.2 MB, free: 21.58 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002794/0.5039, allocations: 212.3 kB / 378.4 MB, free: 21.4 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.913e-05/0.504, allocations: 15.5 kB / 378.4 MB, free: 21.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004705/0.5045, allocations: 40.98 kB / 378.4 MB, free: 21.38 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.5046, allocations: 42.23 kB / 378.5 MB, free: 21.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.469e-05/0.5047, allocations: 19.08 kB / 378.5 MB, free: 21.37 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001492/0.5062, allocations: 0.6908 MB / 379.2 MB, free: 21.1 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5062, allocations: 0 / 379.2 MB, free: 21.1 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001114/0.5073, allocations: 150.5 kB / 379.3 MB, free: 21.08 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 61 * 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.0038/0.5111, allocations: 1.563 MB / 380.9 MB, free: 20.04 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00235/0.5135, allocations: 0.6087 MB / 381.5 MB, free: 19.86 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.5135, allocations: 0.5625 kB / 381.5 MB, free: 19.86 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006948/0.5142, allocations: 298.3 kB / 381.8 MB, free: 19.75 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.5154, allocations: 130.5 kB / 381.9 MB, free: 19.69 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01323/0.5286, allocations: 6.796 MB / 388.7 MB, free: 15.89 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005618/0.5292, allocations: 0.9661 MB / 389.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005631/0.5298, allocations: 91.06 kB / 389.8 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000421/0.5302, allocations: 294 kB / 390.1 MB, free: 14.92 MB / 302.1 MB Notification: Performance of SimCode: time 1.493e-06/0.5302, allocations: 0 / 390.1 MB, free: 14.92 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03634/0.5666, allocations: 15.19 MB / 405.2 MB, free: 2.641 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.76/13.32, allocations: 4.188 kB / 405.2 MB, free: 2.637 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv --start-time -4 --stop-time 4 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.0032 Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour.fmu > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches