Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.ForceCurrentBehaviour,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",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.001368/0.001368, allocations: 116.1 kB / 17.07 MB, free: 5.996 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.00166/0.00166, allocations: 193.4 kB / 18 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 222.9 MB / 241.7 MB, free: 15.13 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 43.92 kB / 350.8 MB, free: 3.734 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3161, allocations: 49.44 MB / 400.2 MB, free: 8.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.009288/0.3254, allocations: 6.405 MB / 406.6 MB, free: 2.363 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004811/0.3303, allocations: 2.189 MB / 408.8 MB, free: 168 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001221/0.3316, allocations: 31.81 kB / 408.9 MB, free: 136 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001171/0.3328, allocations: 341.8 kB / 409.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001789/0.3346, allocations: 496.6 kB / 409.7 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.3357, allocations: 453.5 kB / 410.1 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00201/0.3378, allocations: 1.534 MB / 411.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007308/0.3385, allocations: 0.5131 MB / 412.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007735/0.3393, allocations: 0.5684 MB / 412.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008145/0.3401, allocations: 0.6654 MB / 413.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002032/0.3403, allocations: 160 kB / 413.6 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003324/0.3407, allocations: 195.9 kB / 413.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002983/0.341, allocations: 319 kB / 414.1 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006421/0.3416, allocations: 0.6687 MB / 414.7 MB, free: 10.22 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002127/0.3438, allocations: 1.937 MB / 416.7 MB, free: 8.277 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3438, allocations: 0 / 416.7 MB, free: 8.277 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3438, allocations: 0 / 416.7 MB, free: 8.277 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.628e-05/0.3438, allocations: 0 / 416.7 MB, free: 8.277 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.003318/0.3472, allocations: 1.572 MB / 418.2 MB, free: 6.652 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.3472, allocations: 8.031 kB / 418.2 MB, free: 6.645 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001918/0.3474, allocations: 144.2 kB / 418.4 MB, free: 6.496 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002234/0.3476, allocations: 136.1 kB / 418.5 MB, free: 6.363 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001363/0.349, allocations: 0.7245 MB / 419.2 MB, free: 5.598 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.651e-05/0.3491, allocations: 74.38 kB / 419.3 MB, free: 5.523 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/0.3493, allocations: 103.9 kB / 419.4 MB, free: 5.422 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001994/0.3513, allocations: 1.009 MB / 420.4 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.707e-05/0.3513, allocations: 3.938 kB / 420.4 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.843e-05/0.3514, allocations: 36 kB / 420.5 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.643e-05/0.3514, allocations: 31.94 kB / 420.5 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00216/0.3536, allocations: 0.8835 MB / 421.4 MB, free: 3.441 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00576/0.3594, allocations: 3.634 MB / 425 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003204/0.3626, allocations: 0.8987 MB / 425.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008616/0.3635, allocations: 373.8 kB / 426.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.099e-05/0.3636, allocations: 11.98 kB / 426.3 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/0.3636, allocations: 38.42 kB / 426.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 3.707e-06/0.3636, allocations: 0 / 426.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.005705/0.3693, allocations: 1.81 MB / 428.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.868e-05/0.3695, allocations: 89.05 kB / 428.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001541/0.371, allocations: 0.978 MB / 429.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.078e-05/0.3711, allocations: 37.7 kB / 429.2 MB, free: 11.33 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005136/0.3716, allocations: 0.5351 MB / 429.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002683/0.3719, allocations: 241.9 kB / 430 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003092/0.3722, allocations: 162.5 kB / 430.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.3724, allocations: 341.9 kB / 430.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009471/0.3734, allocations: 333.8 kB / 430.8 MB, free: 9.723 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001114/0.3745, allocations: 0.5262 MB / 431.4 MB, free: 9.125 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001903/0.3764, allocations: 0.8251 MB / 432.2 MB, free: 8.227 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.3764, allocations: 4 kB / 432.2 MB, free: 8.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002516/0.3789, allocations: 1.025 MB / 433.2 MB, free: 7.195 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.379, allocations: 8 kB / 433.2 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.379, allocations: 4 kB / 433.2 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.448e-05/0.379, allocations: 8 kB / 433.2 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/0.3803, allocations: 283.6 kB / 433.5 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.55e-05/0.3803, allocations: 15.94 kB / 433.5 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008492/0.3812, allocations: 67.92 kB / 433.6 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.13e-05/0.3813, allocations: 39.98 kB / 433.6 MB, free: 6.777 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 4 (cActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 108 * 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.0004706/0.3818, allocations: 285.6 kB / 433.9 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001716/0.3819, allocations: 107.3 kB / 434 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/0.383, allocations: 378.2 kB / 434.4 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.383, allocations: 4 kB / 434.4 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.383, allocations: 4 kB / 434.4 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.383, allocations: 3.984 kB / 434.4 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004007/0.387, allocations: 2.299 MB / 436.7 MB, free: 3.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/0.3871, allocations: 12.84 kB / 436.7 MB, free: 3.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000902/0.388, allocations: 215.6 kB / 436.9 MB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-05/0.388, allocations: 8 kB / 436.9 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.704e-05/0.388, allocations: 23.94 kB / 436.9 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.759e-05/0.3881, allocations: 15.92 kB / 437 MB, free: 3.285 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/0.3881, allocations: 11.94 kB / 437 MB, free: 3.273 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001822/0.3899, allocations: 1.038 MB / 438 MB, free: 2.125 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002677/0.3902, allocations: 196.4 kB / 438.2 MB, free: 1.914 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.3903, allocations: 23.98 kB / 438.2 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006041/0.3909, allocations: 47.89 kB / 438.3 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/0.3911, allocations: 63.81 kB / 438.3 MB, free: 1.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.195e-05/0.3911, allocations: 27.98 kB / 438.4 MB, free: 1.754 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009263/0.392, allocations: 0.6824 MB / 439 MB, free: 1.074 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3921, allocations: 0 / 439 MB, free: 1.074 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007851/0.3928, allocations: 208 kB / 439.2 MB, free: 0.8711 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 simulation (67): * Single equations (assignments): 67 * 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.003267/0.3961, allocations: 1.857 MB / 441.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001934/0.3981, allocations: 0.7647 MB / 441.9 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/0.3981, allocations: 4 kB / 441.9 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008435/0.3989, allocations: 369.8 kB / 442.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/0.4001, allocations: 198.5 kB / 442.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01495/0.4151, allocations: 8.436 MB / 450.9 MB, free: 4.855 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008846/0.4161, allocations: 1.019 MB / 451.9 MB, free: 3.812 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006223/0.4167, allocations: 123.2 kB / 452 MB, free: 3.688 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005935/0.4173, allocations: 387.3 kB / 452.4 MB, free: 3.309 MB / 366.1 MB Notification: Performance of SimCode: time 1.463e-06/0.4173, allocations: 0 / 452.4 MB, free: 3.309 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05303/0.4703, allocations: 20.05 MB / 472.4 MB, free: 15.53 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.812/10.28, allocations: 9.984 kB / 472.4 MB, free: 15.52 MB / 398.1 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.0024 Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour.fmu > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches