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.00125/0.00125, allocations: 114.4 kB / 17.74 MB, free: 5.355 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.001278/0.001278, allocations: 183.1 kB / 18.66 MB, free: 4.434 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.453/1.453, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001859/0.001859, allocations: 51.92 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09604/0.09791, allocations: 46.62 MB / 374.6 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.2023/0.3002, allocations: 6.334 MB / 381 MB, free: 9.152 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003871/0.3041, allocations: 2.126 MB / 383.1 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00111/0.3053, allocations: 20.44 kB / 383.1 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001209/0.3065, allocations: 356.5 kB / 383.5 MB, free: 8.848 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001709/0.3083, allocations: 487.2 kB / 383.9 MB, free: 8.664 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.3094, allocations: 428.9 kB / 384.4 MB, free: 8.605 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002126/0.3116, allocations: 1.554 MB / 385.9 MB, free: 7.789 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007106/0.3123, allocations: 0.5186 MB / 386.4 MB, free: 7.566 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008099/0.3131, allocations: 0.5681 MB / 387 MB, free: 7.281 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007429/0.3139, allocations: 0.667 MB / 387.7 MB, free: 6.961 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002/0.3141, allocations: 158.5 kB / 387.8 MB, free: 6.961 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000335/0.3144, allocations: 188.5 kB / 388 MB, free: 6.953 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002443/0.3147, allocations: 329.7 kB / 388.3 MB, free: 6.723 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004994/0.3152, allocations: 0.6619 MB / 389 MB, free: 6.289 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002096/0.3173, allocations: 1.938 MB / 390.9 MB, free: 5.598 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3173, allocations: 0.7031 kB / 390.9 MB, free: 5.598 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3173, allocations: 0 / 390.9 MB, free: 5.598 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.338e-05/0.3173, allocations: 1.219 kB / 390.9 MB, free: 5.598 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.003334/0.3207, allocations: 1.575 MB / 392.5 MB, free: 4.586 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/0.3207, allocations: 9.406 kB / 392.5 MB, free: 4.586 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001942/0.3209, allocations: 150.7 kB / 392.7 MB, free: 4.484 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000282/0.3212, allocations: 140.1 kB / 392.8 MB, free: 4.41 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00129/0.3225, allocations: 0.7159 MB / 393.5 MB, free: 3.906 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.477e-05/0.3226, allocations: 73.41 kB / 393.6 MB, free: 3.871 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001554/0.3228, allocations: 105.7 kB / 393.7 MB, free: 3.828 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001982/0.3248, allocations: 1.01 MB / 394.7 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.395e-05/0.3248, allocations: 2.047 kB / 394.7 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.27e-05/0.3249, allocations: 40.84 kB / 394.7 MB, free: 3.387 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.699e-05/0.3249, allocations: 22.47 kB / 394.8 MB, free: 3.387 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002107/0.327, allocations: 0.8833 MB / 395.7 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00545/0.3325, allocations: 3.639 MB / 399.3 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002949/0.3355, allocations: 0.8995 MB / 400.2 MB, free: 372 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007732/0.3363, allocations: 372.4 kB / 400.6 MB, free: 180 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.388e-05/0.3363, allocations: 8.25 kB / 400.6 MB, free: 180 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.3364, allocations: 41.25 kB / 400.6 MB, free: 132 kB / 318.1 MB Notification: Performance of pre-optimization done (n=58): time 2.755e-06/0.3364, allocations: 0 / 400.6 MB, free: 132 kB / 318.1 MB Notification: Performance of matching and sorting (n=67): time 0.005759/0.3422, allocations: 1.826 MB / 402.4 MB, free: 15.11 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/0.3423, allocations: 83.64 kB / 402.5 MB, free: 15.02 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001569/0.3438, allocations: 0.9752 MB / 403.5 MB, free: 14.49 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.868e-05/0.3439, allocations: 36.86 kB / 403.5 MB, free: 14.45 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005309/0.3445, allocations: 0.5411 MB / 404.1 MB, free: 13.97 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002409/0.3447, allocations: 239.8 kB / 404.3 MB, free: 13.77 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003198/0.345, allocations: 158.4 kB / 404.5 MB, free: 13.66 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.3452, allocations: 338 kB / 404.8 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/0.3463, allocations: 342.6 kB / 405.1 MB, free: 13.17 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001171/0.3475, allocations: 0.522 MB / 405.6 MB, free: 12.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001933/0.3494, allocations: 0.8246 MB / 406.5 MB, free: 12.22 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.318e-06/0.3494, allocations: 2.281 kB / 406.5 MB, free: 12.22 MB / 334.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002715/0.3522, allocations: 1.025 MB / 407.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/0.3522, allocations: 8.25 kB / 407.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.3522, allocations: 4.219 kB / 407.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.904e-05/0.3523, allocations: 9.75 kB / 407.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/0.3535, allocations: 287.9 kB / 407.8 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.364e-05/0.3535, allocations: 17.08 kB / 407.8 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009993/0.3545, allocations: 66.88 kB / 407.9 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.436e-05/0.3546, allocations: 37.77 kB / 407.9 MB, free: 11.56 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.0005533/0.3552, allocations: 282.7 kB / 408.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001945/0.3554, allocations: 106.3 kB / 408.3 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001054/0.3565, allocations: 391.1 kB / 408.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.298e-06/0.3565, allocations: 10.78 kB / 408.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/0.3565, allocations: 1.156 kB / 408.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.427e-05/0.3565, allocations: 7.969 kB / 408.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004306/0.3608, allocations: 2.29 MB / 411 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/0.3609, allocations: 14.69 kB / 411 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008731/0.3617, allocations: 200.7 kB / 411.2 MB, free: 9.262 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.44e-05/0.3618, allocations: 11.78 kB / 411.2 MB, free: 9.262 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-05/0.3618, allocations: 22.39 kB / 411.2 MB, free: 9.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.586e-05/0.3618, allocations: 22.47 kB / 411.2 MB, free: 9.238 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.147e-06/0.3619, allocations: 11.34 kB / 411.3 MB, free: 9.234 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002001/0.3639, allocations: 1.026 MB / 412.3 MB, free: 8.445 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003979/0.3643, allocations: 195.1 kB / 412.5 MB, free: 8.266 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001641/0.3644, allocations: 18.75 kB / 412.5 MB, free: 8.258 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006302/0.3651, allocations: 50.98 kB / 412.5 MB, free: 8.234 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.3652, allocations: 68.03 kB / 412.6 MB, free: 8.191 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.308e-05/0.3653, allocations: 29.98 kB / 412.6 MB, free: 8.184 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001043/0.3663, allocations: 0.676 MB / 413.3 MB, free: 7.82 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3663, allocations: 0 / 413.3 MB, free: 7.82 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009381/0.3673, allocations: 203.8 kB / 413.5 MB, free: 7.801 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.003547/0.3708, allocations: 1.861 MB / 415.4 MB, free: 6.238 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002137/0.373, allocations: 0.7654 MB / 416.1 MB, free: 5.594 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.157e-05/0.373, allocations: 4 kB / 416.1 MB, free: 5.59 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008757/0.3739, allocations: 377.4 kB / 416.5 MB, free: 5.223 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001487/0.3754, allocations: 200.4 kB / 416.7 MB, free: 5.027 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01675/0.3922, allocations: 8.422 MB / 425.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008837/0.3931, allocations: 1.022 MB / 426.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006504/0.3938, allocations: 123.2 kB / 426.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006288/0.3944, allocations: 383.3 kB / 426.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3944, allocations: 0 / 426.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05316/0.4476, allocations: 20.05 MB / 446.7 MB, free: 6.508 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.973/10.42, allocations: 15.56 kB / 446.7 MB, free: 6.492 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