Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) 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.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_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_3_2_3_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.001598/0.001598, allocations: 110.5 kB / 17.73 MB, free: 5.316 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.001868/0.001868, allocations: 187 kB / 18.67 MB, free: 4.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.358/1.358, allocations: 205.1 MB / 224.5 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 51.92 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09352/0.09481, allocations: 46.61 MB / 374.6 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.2031/0.2979, allocations: 6.332 MB / 381 MB, free: 9.145 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003845/0.3018, allocations: 2.132 MB / 383.1 MB, free: 8.957 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00105/0.3029, allocations: 20.44 kB / 383.1 MB, free: 8.953 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001143/0.3041, allocations: 355.3 kB / 383.5 MB, free: 8.84 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001665/0.3058, allocations: 497.3 kB / 384 MB, free: 8.66 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001101/0.3069, allocations: 435.8 kB / 384.4 MB, free: 8.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001978/0.3089, allocations: 1.544 MB / 385.9 MB, free: 7.781 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007225/0.3096, allocations: 0.5208 MB / 386.4 MB, free: 7.559 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008001/0.3104, allocations: 0.5745 MB / 387 MB, free: 7.27 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009237/0.3114, allocations: 0.6664 MB / 387.7 MB, free: 6.949 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002071/0.3116, allocations: 159.1 kB / 387.8 MB, free: 6.949 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003685/0.312, allocations: 190.7 kB / 388 MB, free: 6.941 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00025/0.3122, allocations: 325.9 kB / 388.3 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005575/0.3128, allocations: 0.6675 MB / 389 MB, free: 6.273 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002201/0.315, allocations: 1.94 MB / 391 MB, free: 5.582 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.748e-06/0.315, allocations: 0 / 391 MB, free: 5.582 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.315, allocations: 0 / 391 MB, free: 5.582 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.963e-05/0.3151, allocations: 1.094 kB / 391 MB, free: 5.582 MB / 318.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.003125/0.3182, allocations: 1.574 MB / 392.5 MB, free: 4.57 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.3182, allocations: 14.53 kB / 392.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001762/0.3184, allocations: 150 kB / 392.7 MB, free: 4.465 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002292/0.3187, allocations: 137.5 kB / 392.8 MB, free: 4.395 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.3199, allocations: 0.716 MB / 393.5 MB, free: 3.891 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.136e-05/0.32, allocations: 72.97 kB / 393.6 MB, free: 3.855 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001593/0.3201, allocations: 103.3 kB / 393.7 MB, free: 3.816 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002115/0.3222, allocations: 1.014 MB / 394.7 MB, free: 3.402 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.062e-05/0.3223, allocations: 1.188 kB / 394.7 MB, free: 3.402 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.619e-05/0.3224, allocations: 40.16 kB / 394.8 MB, free: 3.371 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-05/0.3224, allocations: 22.84 kB / 394.8 MB, free: 3.371 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002224/0.3247, allocations: 0.8882 MB / 395.7 MB, free: 3.07 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005523/0.3302, allocations: 3.637 MB / 399.3 MB, free: 0.793 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002551/0.3328, allocations: 0.899 MB / 400.2 MB, free: 360 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007225/0.3335, allocations: 364 kB / 400.6 MB, free: 176 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.205e-05/0.3336, allocations: 25.14 kB / 400.6 MB, free: 160 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.3336, allocations: 38.69 kB / 400.6 MB, free: 116 kB / 318.1 MB Notification: Performance of pre-optimization done (n=58): time 2.114e-06/0.3336, allocations: 0 / 400.6 MB, free: 116 kB / 318.1 MB Notification: Performance of matching and sorting (n=67): time 0.004901/0.3386, allocations: 1.818 MB / 402.4 MB, free: 15.1 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.069e-05/0.3387, allocations: 83.8 kB / 402.5 MB, free: 15.01 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001513/0.3402, allocations: 0.9798 MB / 403.5 MB, free: 14.48 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.268e-05/0.3402, allocations: 35.89 kB / 403.5 MB, free: 14.44 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004243/0.3407, allocations: 0.5345 MB / 404.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001959/0.3409, allocations: 241.1 kB / 404.3 MB, free: 13.76 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002871/0.3412, allocations: 164.2 kB / 404.5 MB, free: 13.65 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3413, allocations: 340.5 kB / 404.8 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008897/0.3422, allocations: 338.8 kB / 405.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001021/0.3432, allocations: 0.5206 MB / 405.7 MB, free: 12.76 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001695/0.3449, allocations: 0.8227 MB / 406.5 MB, free: 12.21 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.345, allocations: 5.219 kB / 406.5 MB, free: 12.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002386/0.3474, allocations: 1.021 MB / 407.5 MB, free: 11.69 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/0.3474, allocations: 12.28 kB / 407.5 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.3474, allocations: 5.156 kB / 407.5 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.408e-05/0.3475, allocations: 14.14 kB / 407.5 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/0.3487, allocations: 286.1 kB / 407.8 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.533e-05/0.3487, allocations: 9.938 kB / 407.8 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008814/0.3496, allocations: 66.11 kB / 407.9 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.517e-05/0.3497, allocations: 38.08 kB / 407.9 MB, free: 11.55 MB / 334.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.0004429/0.3502, allocations: 282.4 kB / 408.2 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001752/0.3503, allocations: 119.3 kB / 408.3 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009185/0.3513, allocations: 382.3 kB / 408.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.3513, allocations: 7 kB / 408.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.361e-05/0.3513, allocations: 5.219 kB / 408.7 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.3513, allocations: 3.984 kB / 408.7 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004031/0.3554, allocations: 2.294 MB / 411 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/0.3554, allocations: 8.891 kB / 411 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008438/0.3562, allocations: 208 kB / 411.2 MB, free: 9.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.154e-05/0.3563, allocations: 10.22 kB / 411.2 MB, free: 9.25 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.627e-05/0.3563, allocations: 18.88 kB / 411.2 MB, free: 9.242 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-05/0.3563, allocations: 21.42 kB / 411.3 MB, free: 9.23 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.819e-06/0.3564, allocations: 11.84 kB / 411.3 MB, free: 9.227 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00171/0.3581, allocations: 1.035 MB / 412.3 MB, free: 8.43 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002619/0.3583, allocations: 191.4 kB / 412.5 MB, free: 8.254 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/0.3585, allocations: 22.2 kB / 412.5 MB, free: 8.242 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006022/0.3591, allocations: 54.39 kB / 412.6 MB, free: 8.215 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.3592, allocations: 66.31 kB / 412.6 MB, free: 8.176 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.355e-05/0.3593, allocations: 24.34 kB / 412.7 MB, free: 8.172 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008838/0.3602, allocations: 0.6799 MB / 413.3 MB, free: 7.805 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3602, allocations: 0 / 413.3 MB, free: 7.805 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009363/0.3611, allocations: 203.5 kB / 413.5 MB, free: 7.785 MB / 334.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.002714/0.3638, allocations: 1.852 MB / 415.4 MB, free: 6.227 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001814/0.3657, allocations: 0.7721 MB / 416.2 MB, free: 5.57 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.3657, allocations: 0 / 416.2 MB, free: 5.57 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007665/0.3664, allocations: 369.6 kB / 416.5 MB, free: 5.211 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001185/0.3676, allocations: 203.7 kB / 416.7 MB, free: 5.012 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01303/0.3807, allocations: 8.424 MB / 425.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006246/0.3814, allocations: 1.022 MB / 426.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006756/0.382, allocations: 127.2 kB / 426.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005365/0.3826, allocations: 383.3 kB / 426.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of SimCode: time 1.193e-06/0.3826, allocations: 0 / 426.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04979/0.4324, allocations: 20.05 MB / 446.7 MB, free: 6.488 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.632/10.06, allocations: 19.64 kB / 446.7 MB, free: 6.469 MB / 366.1 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour.fmu > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches