Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001142/0.001142, allocations: 116.1 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001255/0.001255, allocations: 200.7 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 63.89 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3192, allocations: 50.55 MB / 408.8 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.007651/0.327, allocations: 6.533 MB / 415.3 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004085/0.3311, allocations: 2.377 MB / 417.7 MB, free: 8.594 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007694/0.3319, allocations: 19.94 kB / 417.7 MB, free: 8.574 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008469/0.3328, allocations: 357.8 kB / 418 MB, free: 8.223 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001217/0.334, allocations: 0.5433 MB / 418.6 MB, free: 7.676 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008849/0.3349, allocations: 447 kB / 419 MB, free: 7.242 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001413/0.3363, allocations: 1.577 MB / 420.6 MB, free: 5.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006376/0.337, allocations: 0.5132 MB / 421.1 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00067/0.3377, allocations: 0.5957 MB / 421.7 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006492/0.3383, allocations: 0.6653 MB / 422.4 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001688/0.3385, allocations: 160 kB / 422.5 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002781/0.3388, allocations: 211.9 kB / 422.7 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002562/0.339, allocations: 330.9 kB / 423 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005565/0.3396, allocations: 0.6765 MB / 423.7 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001756/0.3414, allocations: 1.984 MB / 425.7 MB, free: 0.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3414, allocations: 0 / 425.7 MB, free: 0.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3414, allocations: 0 / 425.7 MB, free: 0.5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.43e-05/0.3414, allocations: 4 kB / 425.7 MB, free: 0.4961 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002938/0.3444, allocations: 1.572 MB / 427.3 MB, free: 14.87 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.3444, allocations: 12.03 kB / 427.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001701/0.3446, allocations: 152.3 kB / 427.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005249/0.3451, allocations: 164.1 kB / 427.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/0.3463, allocations: 0.7428 MB / 428.3 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.469e-05/0.3464, allocations: 82 kB / 428.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/0.3465, allocations: 99.94 kB / 428.5 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00169/0.3482, allocations: 0.9818 MB / 429.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.151e-05/0.3483, allocations: 0 / 429.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.929e-05/0.3484, allocations: 43.98 kB / 429.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.353e-05/0.3484, allocations: 24 kB / 429.6 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001589/0.35, allocations: 0.8172 MB / 430.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005092/0.3551, allocations: 3.656 MB / 434 MB, free: 7.859 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001983/0.3571, allocations: 0.6237 MB / 434.7 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005917/0.3577, allocations: 332.8 kB / 435 MB, free: 6.895 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.409e-05/0.3578, allocations: 8.359 kB / 435 MB, free: 6.887 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.3578, allocations: 50.48 kB / 435.1 MB, free: 6.828 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 3.417e-06/0.3578, allocations: 3.984 kB / 435.1 MB, free: 6.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.004251/0.3621, allocations: 1.685 MB / 436.7 MB, free: 5.129 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.546e-05/0.3622, allocations: 85.11 kB / 436.8 MB, free: 5.027 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001353/0.3635, allocations: 1.042 MB / 437.9 MB, free: 3.961 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.504e-05/0.3636, allocations: 37.7 kB / 437.9 MB, free: 3.918 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004682/0.364, allocations: 0.5584 MB / 438.5 MB, free: 3.352 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001812/0.3642, allocations: 242 kB / 438.7 MB, free: 3.113 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000253/0.3645, allocations: 166.6 kB / 438.9 MB, free: 2.945 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.3646, allocations: 341.9 kB / 439.2 MB, free: 2.605 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007159/0.3653, allocations: 305.8 kB / 439.5 MB, free: 2.309 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008257/0.3662, allocations: 0.4913 MB / 440 MB, free: 1.742 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001462/0.3677, allocations: 0.7796 MB / 440.8 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.3677, allocations: 4 kB / 440.8 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.001995/0.3697, allocations: 0.9643 MB / 441.7 MB, free: 15.92 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.3697, allocations: 11.94 kB / 441.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.3697, allocations: 8.562 kB / 441.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/0.3698, allocations: 12 kB / 441.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/0.3709, allocations: 267.6 kB / 442 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.681e-05/0.3709, allocations: 15.92 kB / 442 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007868/0.3717, allocations: 59.89 kB / 442.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.006e-05/0.3718, allocations: 39.98 kB / 442.1 MB, free: 15.51 MB / 366.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 (112): * Single equations (assignments): 112 * 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.0004352/0.3722, allocations: 293.5 kB / 442.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001718/0.3724, allocations: 107.3 kB / 442.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007812/0.3732, allocations: 354.7 kB / 442.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.894e-06/0.3732, allocations: 8 kB / 442.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.3732, allocations: 0 / 442.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.3732, allocations: 7.922 kB / 442.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003599/0.3768, allocations: 2.29 MB / 445.2 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.819e-06/0.3769, allocations: 4 kB / 445.2 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008411/0.3777, allocations: 211.7 kB / 445.4 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.266e-05/0.3777, allocations: 12 kB / 445.4 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.027e-05/0.3778, allocations: 19.98 kB / 445.4 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.055e-05/0.3778, allocations: 15.94 kB / 445.4 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/0.3778, allocations: 11.94 kB / 445.4 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001571/0.3794, allocations: 1.031 MB / 446.5 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002469/0.3797, allocations: 200.4 kB / 446.7 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/0.3798, allocations: 20 kB / 446.7 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000622/0.3804, allocations: 43.95 kB / 446.7 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001725/0.3806, allocations: 71.69 kB / 446.8 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.386e-05/0.3806, allocations: 31.98 kB / 446.8 MB, free: 10.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009097/0.3816, allocations: 0.7112 MB / 447.6 MB, free: 9.797 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.553e-06/0.3816, allocations: 0 / 447.6 MB, free: 9.797 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008099/0.3824, allocations: 219.9 kB / 447.8 MB, free: 9.582 MB / 366.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.002614/0.385, allocations: 1.849 MB / 449.6 MB, free: 7.742 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00162/0.3866, allocations: 0.7337 MB / 450.3 MB, free: 7.012 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.3867, allocations: 4 kB / 450.4 MB, free: 7.008 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000767/0.3874, allocations: 361.7 kB / 450.7 MB, free: 6.656 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/0.3886, allocations: 230 kB / 450.9 MB, free: 6.438 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01224/0.4009, allocations: 8.456 MB / 459.4 MB, free: 13.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006116/0.4016, allocations: 1.037 MB / 460.4 MB, free: 12.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005736/0.4021, allocations: 131.5 kB / 460.6 MB, free: 12.35 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005127/0.4027, allocations: 403.3 kB / 460.9 MB, free: 11.96 MB / 382.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4027, allocations: 0 / 460.9 MB, free: 11.96 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04264/0.4453, allocations: 20.75 MB / 481.7 MB, free: 7.473 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.461/9.907, allocations: 7.5 kB / 481.7 MB, free: 7.469 MB / 398.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches