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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001811/0.001811, allocations: 103.6 kB / 21.18 MB, free: 472 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 216 kB / 24.47 MB, free: 3.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.437/1.437, allocations: 207.7 MB / 235.3 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 56.2 kB / 347.2 MB, free: 9.883 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2726, allocations: 49.15 MB / 396.3 MB, free: 9.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.007241/0.2798, allocations: 5.629 MB / 402 MB, free: 5.352 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004312/0.2842, allocations: 2.059 MB / 404 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001144/0.2853, allocations: 23.5 kB / 404.1 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001415/0.2867, allocations: 357.1 kB / 404.4 MB, free: 3.738 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002022/0.2887, allocations: 492.9 kB / 404.9 MB, free: 3.441 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001305/0.29, allocations: 434.2 kB / 405.3 MB, free: 3.164 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002466/0.2925, allocations: 1.541 MB / 406.9 MB, free: 2.348 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000826/0.2933, allocations: 329.2 kB / 407.2 MB, free: 2.152 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001159/0.2945, allocations: 0.5978 MB / 407.8 MB, free: 1.848 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001327/0.2958, allocations: 0.5964 MB / 408.4 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003986/0.2962, allocations: 159.2 kB / 408.5 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006071/0.2968, allocations: 191.2 kB / 408.7 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003069/0.2971, allocations: 327.3 kB / 409 MB, free: 1.352 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008121/0.2979, allocations: 0.5409 MB / 409.6 MB, free: 1.031 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002341/0.3003, allocations: 1.951 MB / 411.5 MB, free: 15.76 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3003, allocations: 0 / 411.5 MB, free: 15.76 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.3003, allocations: 1.219 kB / 411.5 MB, free: 15.76 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.637e-05/0.3003, allocations: 0 / 411.5 MB, free: 15.76 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.003843/0.3042, allocations: 1.505 MB / 413 MB, free: 14.67 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/0.3042, allocations: 13.14 kB / 413 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001939/0.3044, allocations: 142.4 kB / 413.2 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000414/0.3048, allocations: 140.7 kB / 413.3 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/0.3062, allocations: 0.6527 MB / 414 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.264e-05/0.3063, allocations: 69.22 kB / 414 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/0.3065, allocations: 106 kB / 414.1 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002173/0.3086, allocations: 1.06 MB / 415.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.408e-05/0.3087, allocations: 1.125 kB / 415.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.813e-05/0.3088, allocations: 37.41 kB / 415.2 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.166e-05/0.3088, allocations: 22.19 kB / 415.3 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002168/0.3109, allocations: 0.8861 MB / 416.1 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00627/0.3172, allocations: 3.03 MB / 419.2 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003159/0.3204, allocations: 0.8515 MB / 420 MB, free: 10.01 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008036/0.3212, allocations: 348 kB / 420.4 MB, free: 9.832 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.912e-05/0.3212, allocations: 7.219 kB / 420.4 MB, free: 9.832 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.089e-05/0.3213, allocations: 42.34 kB / 420.4 MB, free: 9.785 MB / 334.1 MB Notification: Performance of pre-optimization done (n=58): time 3.116e-06/0.3213, allocations: 1.219 kB / 420.4 MB, free: 9.785 MB / 334.1 MB Notification: Performance of matching and sorting (n=67): time 0.005477/0.3267, allocations: 1.822 MB / 422.2 MB, free: 8.77 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.8e-05/0.3268, allocations: 89.36 kB / 422.3 MB, free: 8.672 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001465/0.3283, allocations: 0.9949 MB / 423.3 MB, free: 7.988 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.896e-05/0.3283, allocations: 37.7 kB / 423.4 MB, free: 7.945 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005745/0.3289, allocations: 0.5312 MB / 423.9 MB, free: 7.406 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002052/0.3291, allocations: 245.9 kB / 424.1 MB, free: 7.164 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002621/0.3294, allocations: 150.6 kB / 424.3 MB, free: 7.012 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.3296, allocations: 345.9 kB / 424.6 MB, free: 6.668 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009371/0.3305, allocations: 345.7 kB / 425 MB, free: 6.332 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001173/0.3317, allocations: 0.5184 MB / 425.5 MB, free: 5.734 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00197/0.3336, allocations: 0.8319 MB / 426.3 MB, free: 4.828 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.3336, allocations: 4 kB / 426.3 MB, free: 4.824 MB / 334.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002543/0.3362, allocations: 1.016 MB / 427.3 MB, free: 3.801 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.3362, allocations: 4 kB / 427.3 MB, free: 3.797 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.3362, allocations: 8 kB / 427.3 MB, free: 3.789 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.658e-05/0.3362, allocations: 11.98 kB / 427.3 MB, free: 3.777 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/0.3375, allocations: 291.9 kB / 427.6 MB, free: 3.492 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.725e-05/0.3376, allocations: 12 kB / 427.6 MB, free: 3.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009225/0.3385, allocations: 67.92 kB / 427.7 MB, free: 3.414 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.972e-05/0.3385, allocations: 43.98 kB / 427.8 MB, free: 3.371 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.0004981/0.339, allocations: 281.6 kB / 428 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001874/0.3392, allocations: 107.3 kB / 428.1 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001084/0.3403, allocations: 386.2 kB / 428.5 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.3403, allocations: 4 kB / 428.5 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.3403, allocations: 4 kB / 428.5 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.397e-06/0.3403, allocations: 3.984 kB / 428.5 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004358/0.3447, allocations: 2.111 MB / 430.6 MB, free: 348 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/0.3447, allocations: 4 kB / 430.6 MB, free: 344 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008667/0.3456, allocations: 208.5 kB / 430.8 MB, free: 136 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.244e-05/0.3456, allocations: 8 kB / 430.8 MB, free: 128 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.695e-05/0.3456, allocations: 27.92 kB / 430.9 MB, free: 100 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-05/0.3456, allocations: 11.94 kB / 430.9 MB, free: 88 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.037e-06/0.3457, allocations: 11.94 kB / 430.9 MB, free: 76 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001905/0.3476, allocations: 1.041 MB / 431.9 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003086/0.3479, allocations: 115.3 kB / 432.1 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.348, allocations: 23.98 kB / 432.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007393/0.3487, allocations: 51.89 kB / 432.1 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.3489, allocations: 67.78 kB / 432.2 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-05/0.3489, allocations: 24 kB / 432.2 MB, free: 14.65 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009755/0.3499, allocations: 0.6786 MB / 432.9 MB, free: 13.97 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3499, allocations: 0 / 432.9 MB, free: 13.97 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009371/0.3508, allocations: 208 kB / 433.1 MB, free: 13.77 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.003609/0.3544, allocations: 1.875 MB / 435 MB, free: 11.78 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002032/0.3565, allocations: 0.7412 MB / 435.7 MB, free: 11.04 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/0.3565, allocations: 0 / 435.7 MB, free: 11.04 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008404/0.3573, allocations: 353.6 kB / 436.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001484/0.3588, allocations: 200.8 kB / 436.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0158/0.3746, allocations: 8.434 MB / 444.7 MB, free: 1.633 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005362/0.3751, allocations: 435 kB / 445.1 MB, free: 1.176 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006403/0.3758, allocations: 131.2 kB / 445.2 MB, free: 1.043 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006161/0.3764, allocations: 383.3 kB / 445.6 MB, free: 0.668 MB / 350.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3764, allocations: 0 / 445.6 MB, free: 0.668 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08302/0.4594, allocations: 21.62 MB / 467.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.67/13.13, allocations: 7.984 kB / 467.2 MB, free: 10.87 MB / 382.1 MB " [Timeout remaining time 647] (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.00119952 Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour.fmu > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "Error: Could not read variable cActuator.flange.f in file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv. Warning: Get data of variable cActuator.flange.f from file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv failed! Error: Could not read variable pmActuator.flange.f in file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv. Warning: Get data of variable pmActuator.flange.f from file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv failed! Error: Could not read variable pmActuator.coil.Phi in file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv. Warning: Get data of variable pmActuator.coil.Phi from file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv failed! Error: Could not read variable pmActuator.coil.L_stat in file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv. Warning: Get data of variable pmActuator.coil.L_stat from file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.758798428811133]