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.001159/0.001159, allocations: 106.5 kB / 17.06 MB, free: 6.102 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.001236/0.001236, allocations: 194.9 kB / 18 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 1.369/1.369, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 43.92 kB / 350.8 MB, free: 3.746 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3023, allocations: 49.44 MB / 400.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.007082/0.3095, allocations: 4.586 MB / 404.8 MB, free: 4.199 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003482/0.313, allocations: 1.8 MB / 406.6 MB, free: 2.391 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006978/0.3137, allocations: 12 kB / 406.6 MB, free: 2.379 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009506/0.3147, allocations: 422.3 kB / 407 MB, free: 1.965 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001302/0.316, allocations: 425.6 kB / 407.5 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009014/0.3169, allocations: 321.7 kB / 407.8 MB, free: 1.234 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001503/0.3185, allocations: 1.009 MB / 408.8 MB, free: 228 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005821/0.3191, allocations: 306.5 kB / 409.1 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006999/0.3198, allocations: 414.7 kB / 409.5 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000794/0.3206, allocations: 0.5099 MB / 410 MB, free: 15 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002331/0.3208, allocations: 100 kB / 410.1 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003471/0.3212, allocations: 120 kB / 410.2 MB, free: 14.78 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002699/0.3215, allocations: 235.2 kB / 410.4 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005903/0.3221, allocations: 453.7 kB / 410.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001452/0.3235, allocations: 1.283 MB / 412.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3235, allocations: 0 / 412.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3235, allocations: 0 / 412.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.953e-05/0.3236, allocations: 4 kB / 412.2 MB, free: 12.81 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002687/0.3263, allocations: 1.222 MB / 413.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.3263, allocations: 12.03 kB / 413.4 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001768/0.3265, allocations: 110.6 kB / 413.5 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001962/0.3267, allocations: 104.3 kB / 413.6 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.3278, allocations: 0.548 MB / 414.2 MB, free: 10.72 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.008e-05/0.3279, allocations: 45.69 kB / 414.2 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.328, allocations: 59.94 kB / 414.3 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.3293, allocations: 0.6557 MB / 414.9 MB, free: 9.945 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.843e-05/0.3294, allocations: 3.953 kB / 414.9 MB, free: 9.941 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.123e-05/0.3294, allocations: 23.98 kB / 414.9 MB, free: 9.918 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/0.3295, allocations: 16 kB / 415 MB, free: 9.902 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001286/0.3308, allocations: 0.5672 MB / 415.5 MB, free: 9.336 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003995/0.3348, allocations: 2.525 MB / 418.1 MB, free: 6.668 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009864/0.3358, allocations: 482.4 kB / 418.5 MB, free: 6.191 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007124/0.3365, allocations: 299.5 kB / 418.8 MB, free: 5.898 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.92e-05/0.3366, allocations: 16.41 kB / 418.8 MB, free: 5.883 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.3366, allocations: 39 kB / 418.9 MB, free: 5.832 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 2.245e-06/0.3366, allocations: 0 / 418.9 MB, free: 5.832 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.004652/0.3413, allocations: 1.502 MB / 420.4 MB, free: 4.332 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.3413, allocations: 55.97 kB / 420.4 MB, free: 4.266 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001291/0.3426, allocations: 0.938 MB / 421.4 MB, free: 3.32 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.14e-05/0.3427, allocations: 37.7 kB / 421.4 MB, free: 3.277 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003377/0.3431, allocations: 412.7 kB / 421.8 MB, free: 2.871 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000212/0.3433, allocations: 214.1 kB / 422 MB, free: 2.66 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002424/0.3435, allocations: 114.6 kB / 422.1 MB, free: 2.543 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.3437, allocations: 341.9 kB / 422.5 MB, free: 2.203 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006484/0.3443, allocations: 245.8 kB / 422.7 MB, free: 1.965 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007114/0.3451, allocations: 351 kB / 423 MB, free: 1.594 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/0.3464, allocations: 0.5635 MB / 423.6 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.3464, allocations: 0 / 423.6 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001772/0.3481, allocations: 0.7387 MB / 424.3 MB, free: 256 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.3482, allocations: 4 kB / 424.4 MB, free: 252 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.3482, allocations: 4 kB / 424.4 MB, free: 248 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/0.3482, allocations: 7.938 kB / 424.4 MB, free: 240 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007708/0.349, allocations: 179.9 kB / 424.5 MB, free: 60 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.891e-05/0.349, allocations: 4 kB / 424.5 MB, free: 56 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005846/0.3496, allocations: 39.95 kB / 424.6 MB, free: 16 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.819e-05/0.3497, allocations: 24.08 kB / 424.6 MB, free: 15.99 MB / 350.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.0003857/0.3501, allocations: 261.7 kB / 424.9 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001528/0.3503, allocations: 87.42 kB / 424.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001485/0.3518, allocations: 0.6396 MB / 425.6 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.497e-06/0.3518, allocations: 8 kB / 425.6 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.3518, allocations: 3.984 kB / 425.6 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.3518, allocations: 7.984 kB / 425.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003184/0.355, allocations: 1.799 MB / 427.4 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.355, allocations: 0 / 427.4 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005759/0.3556, allocations: 135.8 kB / 427.5 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.064e-05/0.3556, allocations: 4 kB / 427.5 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.316e-05/0.3557, allocations: 12 kB / 427.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.786e-06/0.3557, allocations: 8 kB / 427.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.3557, allocations: 3.984 kB / 427.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001389/0.3571, allocations: 0.7515 MB / 428.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003256/0.3574, allocations: 212.5 kB / 428.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.3576, allocations: 16 kB / 428.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000469/0.358, allocations: 39.95 kB / 428.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.678e-05/0.3581, allocations: 48.27 kB / 428.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.685e-05/0.3582, allocations: 23.98 kB / 428.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008216/0.359, allocations: 0.6865 MB / 429.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.359, allocations: 0 / 429.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006261/0.3597, allocations: 148 kB / 429.5 MB, free: 10.91 MB / 350.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.002465/0.3621, allocations: 1.567 MB / 431 MB, free: 9.422 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001414/0.3636, allocations: 0.581 MB / 431.6 MB, free: 8.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.3636, allocations: 3.938 kB / 431.6 MB, free: 8.836 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000627/0.3642, allocations: 291.3 kB / 431.9 MB, free: 8.551 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000788/0.365, allocations: 142.4 kB / 432.1 MB, free: 8.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/0.3754, allocations: 6.496 MB / 438.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00069/0.3761, allocations: 0.9631 MB / 439.5 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004145/0.3765, allocations: 93.05 kB / 439.6 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004317/0.3769, allocations: 291.3 kB / 439.9 MB, free: 312 kB / 350.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3769, allocations: 4 kB / 439.9 MB, free: 308 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04031/0.4173, allocations: 15.52 MB / 455.4 MB, free: 1.027 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.939/9.356, allocations: 11.62 kB / 455.4 MB, free: 1.02 MB / 366.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